@charset "UTF-8";
/* design/_index.scss */
:root {
  /* צבעים לאזור שאלות נפוצות */
  --clr-faq: #f5f3ef;
  --clr-faq-hover: #c9a679;
  /* צבעים עיקריים */
  --primary: #754c24;
  --primary-hover: #bfac99;
  --secondary: #a2d0e0;
  --secondary-hover: #d3f0e5;
  --tertiary-color: #ff9f24;
  --tertiary-color-hover: #80f09c;
  --color-title: #774b26;
  /* צבעים ניטרליים */
  --neutral: #c9a679; /* חול טבעי חמים */
  --neutral-hover: #1f1811; /* חול כהה לריחוף */
  --bg-neutral: #f4ead3;
  --btn--tag: #f4ead3;
  /* לוגו */
  --l-top: #774b26;
  --l-sky: #b2d3dc;
  --l-brown: #a77b51;
  --l-sand: #c49c6f;
  /* רקע about-story::after */
  --bg-about-story-after: #e9ded4;
  --brown: #4c372d;
  --di-serria: #dc9d59;
  --brown-rust: #a86334;
  --jagged-ice: #bddae6;
  --pickled-bean: #724922;
  --coral-reef: #c2b09d;
  --janna: #f4ead3;
  --new-orleans: #f3d894;
  --twine: #c69c6d;
  --barley-corn: #a17b54;
  --Terracotta: #d98c4e;
  --dark-color: black;
  --dark-color-hover: rgb(142, 145, 144);
  --light-color: white;
  --whatsapp: #076650;
  --sage-green: #a8b79a;
  --olive-green: #7a8450;
  --fern-green: #73956f;
  --forest-green: #4b6043;
}

:root {
  direction: rtl;
  --ff-body: "Heebo", sans-serif;
  --ff-heading: "Heebo", sans-serif;
}

:root {
  --fs-200: 0.5rem;
  --fs-300: 0.9375rem;
  --fs-400: 1.0625rem;
  --fs-500: 1.275rem;
  --fs-600: 1.875rem;
  --fs-700: 2rem;
  --fs-800: 2.5rem;
  --fs-900: 3.5rem;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-900: 900;
  --flow-space: 2rem;
  --flow-spacer: 2rem;
}

body {
  font-family: var(--ff-body);
  font-size: clamp(var(--fs-400), 5vw, var(--fs-500));
}

h1,
h2,
h3 {
  font-family: var(--ff-heading);
  font-size: clamp(var(--fs-600), 6vw, var(--fs-700));
  line-height: 1.1;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

p {
  line-height: 1.9;
  padding: 0 0.5rem;
  margin: 0 auto 1rem auto;
}

strong {
  font-weight: var(--fw-600);
}

span {
  display: block;
}

.small {
  font-size: var(--fs-300);
}

:is(h1, h2, h3, h4, h5, h6) span + span {
  margin-top: 0.2em;
}

/* typgraphy */
.section-title {
  position: relative;
  font-size: clamp(var(--fs-600), 6vw, var(--fs-700));
  justify-self: center;
  text-align: center;
  color: var(--color-title);
  text-wrap: pretty;
  letter-spacing: 0.1rem;
  margin-bottom: 2rem;
  height: fit-content;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.4em;
  transform: translateX(-50%);
  width: 80%;
  height: 10px;
  background: currentColor;
  clip-path: polygon(0 100%, 100% 80%, 100% 100%, 0 100%);
}

.big-title {
  font-size: clamp(var(--fs-500), 10vw, var(--fs-800));
  letter-spacing: 0.1rem;
  color: var(--color-title, #4c372d);
  font-weight: var(--fw-600);
  text-align: center;
}

.title {
  font-size: clamp(var(--fs-400), 6vw, var(--fs-500));
  letter-spacing: 0.1rem;
  color: var(--color-title, #4c372d);
  text-align: center;
}

.title-bg-light {
  color: #4c372d;
}

.english {
  font-family: var(--ff-english);
  font-weight: var(--fw-400);
}

li {
  line-height: 1.5;
}

/*   RESET   */
/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ol,
ul,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul:where([role=list]),
ol:where([role=list]) {
  list-style: none;
  margin: 0;
  padding: 0;
}

html {
  color-scheme: dark light;
  scroll-behavior: smooth;
  scrollbar-gutter: stable both-edges;
  overflow-x: clip;
  writing-mode: horizontal-tb;
  direction: rtl;
  text-orientation: mixed;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: var(--ff-body);
  position: relative;
}

/* עיצוב פס הגלילה */
::-webkit-scrollbar {
  width: 0; /* רוחב הפס אם 0 אז הסתרת פס הגלילה */
  height: 2ch; /* גובה הפס, אם מדובר בפס אופקי */
}

/* עיצוב המסילה */
::-webkit-scrollbar-track {
  background: var(--light-color); /* צבע רקע המסילה */
  border-radius: 100svw; /* פינות מעוגלות */
}

/* עיצוב האגודל (החלק הניתן לגרירה) */
::-webkit-scrollbar-thumb {
  background: var(--primary); /* צבע האגודל */
  border-radius: 100svw;
}

/* עיצוב האגודל במעבר עכבר */
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
  width: auto;
  margin: auto;
  object-fit: cover;
  border-radius: var(--border-radius);
}

a {
  color: inherit;
  width: fit-content;
  height: fit-content;
  text-decoration: none;
  transform-origin: right;
  transition: opacity var(--animation-timing), width var(--animation-timing), right var(--animation-timing), left var(--animation-timing), top var(--animation-timing), translate var(--animation-timing), background-color var(--animation-timing), clip-path var(--animation-timing);
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
}
/*   General styling   */
.fab,
.fa-solid {
  padding-left: 0.5rem;
}

video {
  max-width: 100%;
  height: auto;
  padding: 1rem;
  margin: 0 auto;
  display: block;
  max-height: 90svh;
}

main {
  margin-top: 2rem;
  padding-top: var(--header-height);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 100%;
}

.section {
  padding: min(5vh, 10em) 0;
  display: grid;
  row-gap: 1rem;
}

/*  Utility Classes */
/* select all direct childen of .flow
   and add margin to the top for proper
   spacing */
.flow > *:where(:not(:first-child)) {
  margin-top: var(--flow-spacer, 1em);
}

.container {
  margin-inline: auto;
  max-width: 95%;
}

.flex-group {
  max-width: 95%;
  display: flex;
  column-gap: 1rem;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
  justify-content: space-between;
}

.text-center {
  text-align: center;
  margin-bottom: 1rem;
}

button,
.btn {
  font-size: clamp(var(--fs-400), 5vw, var(--fs-500));
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn {
  cursor: pointer;
  text-decoration: none;
  background-color: transparent;
  display: flex;
  line-height: 1;
  padding: 0.5em;
  border-radius: var(--border-radius);
  justify-content: center;
  align-items: center;
  text-align: center;
  justify-content: center;
  border: transparent;
  outline: transparent;
  margin: 1rem auto;
}

.btn--primary {
  background: var(--primary);
  font-weight: var(--fw-700);
  border: 2px solid var(--primary);
  color: var(--light-color);
  font-size: var(--fs-400);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: transparent;
  border-color: var(--primary-hover);
  color: black;
}

.btn--secondary {
  min-width: 30%;
  background: var(--secondary);
  color: var(--dark-color);
  font-weight: var(--fw-700);
  font-size: var(--fs-400);
  clip-path: polygon(0% 20%, 80% 30%, 100% 33%, 100% 50%, 100% 67%, 80% 70%, 0% 80%);
  padding: 1.5rem;
  border-radius: 0;
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  clip-path: polygon(0% 20%, 80% 30%, 80% 0, 100% 50%, 80% 100%, 80% 70%, 0% 80%);
}

.btn--neutral {
  background-color: var(--neutral);
  font-weight: var(--fw-700);
  outline: 2px solid var(--neutral-hover);
}

.btn--neutral:hover,
.btn--neutral:focus-visible {
  background-color: var(--neutral-hover);
  color: var(--light-color);
  outline-offset: 0.25em;
}

.btn--dark {
  background-color: #754c24;
  color: var(--light-color);
  width: fit-content;
  min-width: 30svw;
  clip-path: polygon(0 47%, 100% 31%, 100% 100%, 0% 100%);
  padding: 3rem 1rem 1rem 1rem;
  border-radius: 0;
  margin: auto;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background-color: var(--tertiary-color);
  clip-path: polygon(0 41%, 100% 19%, 100% 100%, 0% 100%);
  color: var(--dark-color);
}

.btn--back {
  position: relative;
  font-weight: var(--fw-700);
  background: var(--primary);
  color: var(--light-color);
}

.btn--back:hover,
.btn--back:focus-visible {
  color: var(--dark-color);
  background-color: var(--primary-hover);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: white;
}

.whatsapp-button {
  border: 1px solid var(--whatsapp);
  border-radius: 0;
}
.whatsapp-button .fa-whatsapp {
  padding-left: 1rem;
}

.btn-whatsapp:hover,
.whatsapp-button:hover {
  background-color: var(--light-green);
  color: black;
}

.copyright:hover span {
  color: #ff0000;
}

#whatsapp-link {
  position: fixed;
  left: 0%;
  top: 13%;
  z-index: 1000;
  aspect-ratio: 1;
  width: 2em;
}

.whatsapp {
  aspect-ratio: 1;
  max-width: 2rem;
  height: auto;
}

.scroll-x {
  width: 100%;
  height: max-content;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-padding-inline: auto;
  scroll-margin-bottom: 0;
  column-gap: 1rem;
  align-items: baseline;
  padding: 1rem 0;
  cursor: zoom-in;
}

.scroll-x.grabbing {
  cursor: grabbing; /* סמן בעת גרירה */
}

.hidden {
  display: none;
}

.label-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-404 {
  margin: 1rem;
  padding: 1rem;
  min-height: 80svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  background-color: var(--accent);
  color: beige;
  text-align: center;
}
.page-404 p {
  font-size: clamp(var(--fs-700), 20vw, var(--fs-900));
  font-weight: var(--fw-900);
  color: inherit;
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1000;
}

.lightbox.hidden {
  display: none;
}

.lightbox-image {
  max-width: 90%;
  max-height: 80%;
  margin: 0 auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 3rem;
  cursor: pointer;
  padding: 1rem;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--light-color);
  font-size: 5rem;
  cursor: pointer;
  z-index: 1001;
  max-inline-size: calc(100% - 2rem);
}

.lightbox-prev {
  left: 1rem;
  padding-right: 5rem;
}

.lightbox-next {
  right: 1rem;
  padding-left: 5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #ccc;
}

.lightbox-pagination {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.lightbox-pagination button {
  background: none;
  border: none;
  color: var(--light-color);
  cursor: pointer;
  width: 0.5rem;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--light-color);
  background-color: transparent;
  cursor: pointer;
  transition: background-color var(--animation-timing), transform var(--animation-timing);
}

.lightbox-pagination button.active {
  background-color: var(--light-color);
  transform: scale(1.2);
}

.divider-img {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: 2rem;
}

.divider-img::before,
.divider-img::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid currentColor;
  opacity: 0.6;
}

.divider-img img {
  width: 3rem;
  height: auto;
  display: block;
}

.accessibility,
.privacy,
.policy {
  max-width: 85%;
}
.accessibility h1,
.accessibility h2.section-title,
.privacy h1,
.privacy h2.section-title,
.policy h1,
.policy h2.section-title {
  margin: 1rem auto 2rem auto;
}
.accessibility h2:not(.section-title),
.privacy h2:not(.section-title),
.policy h2:not(.section-title) {
  margin: 1rem auto 0.5rem auto;
  font-size: clamp(var(--fs-300), 5vw, var(--fs-400));
}
.accessibility p,
.privacy p,
.policy p {
  text-wrap: balance;
}

:root {
  --bar-width: 30px;
  --bar-height: 4px;
  --hamburger-gap: 5px;
  --foreground: black;
  --background: white;
  --hamburger-margin: 1.5em;
  --animation-timing: 500ms ease-in-out;
  --hamburger-height: calc(var(--bar-height) * 3 + var(--hamburger-gap) * 2);
}

.hamburger-menu {
  --x-width: calc(var(--hamburger-height) * 1.41421356237);
  display: flex;
  flex-direction: column;
  gap: var(--hamburger-gap);
  width: max-content;
  position: absolute;
  top: var(--hamburger-margin);
  right: var(--hamburger-margin);
  z-index: 10;
  cursor: pointer;
}

.hamburger-menu:has(input:checked) {
  --background: #333;
}

.hamburger-menu:has(input:focus-visible)::before,
.hamburger-menu:has(input:focus-visible)::after,
.hamburger-menu input:focus-visible {
  border: 1px solid var(--background);
  box-shadow: 0 0 0 1px var(--foreground);
}

.hamburger-menu::before,
.hamburger-menu::after,
.hamburger-menu input {
  content: "";
  width: var(--bar-width);
  height: var(--bar-height);
  background-color: var(--foreground);
  border-radius: 9999px;
  transform-origin: left center;
  transition: opacity var(--animation-timing), width var(--animation-timing), rotate var(--animation-timing), translate var(--animation-timing), background-color var(--animation-timing);
}

.hamburger-menu input {
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  pointer-events: none;
}

.hamburger-menu:has(input:checked)::before {
  rotate: 45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / -2);
}

.hamburger-menu:has(input:checked)::after {
  rotate: -45deg;
  width: var(--x-width);
  translate: 0 calc(var(--bar-height) / 2);
}

.hamburger-menu input:checked {
  opacity: 0;
  width: 0;
}

.sidebar {
  padding: 0.5rem 1rem;
  padding-top: calc(var(--hamburger-height) + var(--hamburger-margin) + 3rem);
  background-color: var(--tertiary-color);
  color: #4c372d;
  z-index: 9;
  transition: translate var(--animation-timing);
  translate: 100%;
  position: absolute;
  right: 0;
  flex-direction: column;
  align-items: start;
  width: 100%;
  min-height: 100vh;
  transform-origin: right;
  transition: translate 600ms ease-in;
  padding-top: 9rem;
}

.hamburger-menu:has(input:checked) + .sidebar {
  translate: 0;
}

/*   Footer   */
:root {
  --color-footer: curentcolor;
}

.site-footer {
  position: relative;
  --logo-color: currentColor;
  text-align: center;
}

.wrapper-footer {
  display: grid;
  grid-template-areas: "more-info" "social";
  column-gap: 2rem;
  row-gap: 1rem;
  text-align: center;
}

.more-info {
  background-color: var(--color-footer);
  padding: 2rem 0 3rem 0;
  max-width: 100%;
  margin: 0 auto;
  grid-area: more-info;
  grid-template-columns: max-content max-content max-content;
  justify-content: center;
  font-size: clamp(var(--fs-300), 3vw, var(--fs-400));
}

.social {
  grid-area: social;
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

.copyright {
  position: absolute;
  bottom: 0;
  margin: auto;
  width: 100%;
  background-color: var(--color-footer);
}
.copyright span {
  display: inline;
}

a {
  transform-origin: center;
}

.contact-us,
.more-info,
.useful-information {
  display: grid;
  gap: 1rem;
}

footer:has(a[class=social-item]:hover) a[class=social-item]:not(:hover),
footer:has(i[class=social-item]:hover) a[class=social-item]:not(:hover),
footer:has(a[class=social-item]:hover) .social-item.active {
  opacity: 0.7;
  color: var(--secondary);
}

.fa-facebook:hover {
  color: blue;
}

.fa-instagram:hover {
  background: linear-gradient(to right, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  background-clip: text; /* חיתוך רקע לטקסט */
  color: transparent; /* צבע טקסט שקוף כדי להציג את המעבר צבעים */
}

.fa-youtube:hover {
  color: red;
}

.fa-pinterest:hover {
  color: red;
}

.useful-information {
  grid-area: useful-information;
}

.footer-hex {
  display: grid;
  justify-content: center;
  max-width: 95%;
  margin: 0 auto 2rem auto;
}

/* כוורת בפוטר  */
.hex-title {
  font-weight: var(--fw-600);
  font-size: var(--fs-500);
}

.telephone,
.footer-hex .hex > a {
  display: grid;
  align-content: center;
  place-items: center;
  inline-size: 100%;
  block-size: 100%;
  padding: 0.6rem;
  clip-path: inherit;
  font-size: smaller;
}

/* מידות – אפשר לכוון כאן */
/* נגזרת לשבירת שורות */
.footer-hex {
  /* תא משושה */
  /* צבעים – מהמוסכמות שלך */
}
.footer-hex .hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  transform: translateY(35px);
  gap: 0;
}
.footer-hex .hex {
  flex: 0 1 140px;
  max-width: 140px;
  width: 140px;
  height: 140px;
  margin: 0 12.5px;
  position: relative;
  padding: 0.6rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-title);
  transition: transform 200ms ease;
  /* הצורה עצמה */
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.footer-hex .hex a {
  color: inherit;
  text-decoration: none;
  word-break: break-word;
}
.footer-hex .hex i {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}
.footer-hex .hex .hex-logo {
  max-width: 100%;
  height: auto;
  display: block;
}
.footer-hex .hex:hover {
  transform: translateY(-3px);
}
.footer-hex .hex.is-brown {
  background: var(--tertiary-color);
  color: #120101;
}
.footer-hex .hex.is-dark {
  background: var(--brown);
  color: #fff;
}
.footer-hex .hex.is-sand {
  background: var(--janna);
  color: #4c372d;
}
.footer-hex .hex.is-beige {
  background: var(--coral-reef);
  color: #4c372d;
}
.footer-hex .hex.is-sky {
  background: var(--secondary);
  color: #4c372d;
}

@media (max-width: 330px) {
  .footer-hex .hex-grid {
    display: grid;
    grid-template-columns: repeat(2, 110px);
    justify-content: center;
    gap: 0 1rem;
    max-width: max-content;
    margin-inline: auto;
    transform: none;
  }
  .footer-hex .hex {
    width: 110px;
    height: 110px;
    flex: 0 1 110px;
    max-width: 110px;
    margin: 0;
  }
  .footer-hex .hex:nth-child(3) {
    grid-column: 1/-1;
    justify-self: center;
  }
  .footer-hex .hex:hover {
    transform: translateY(-3px);
  }
}
/* בין 2 ל־3 תאים בשורה: כל כללי ה־3n ממקמים את התא האמצעי ומרכזים את השלישיות */
@media (min-width: 330px) and (max-width: 495px) {
  .footer-hex .hex:nth-child(3n) {
    margin-right: calc(50% - 70px);
    margin-left: calc(50% - 70px);
  }
}
/* בין 3 ל־4 תאים בשורה: דפוס 5 — “3 ואז 2” ממורכזים */
@media (min-width: 495px) and (max-width: 660px) {
  .footer-hex .hex:nth-child(5n+4) {
    margin-left: calc(50% - 165px);
  }
  .footer-hex .hex:nth-child(5n+5) {
    margin-right: calc(50% - 165px);
  }
}
/* רחב יותר (4+ בשורה): דפוס 7 — “4 ואז 3” */
@media (min-width: 660px) {
  .footer-hex .hex:nth-child(7n+5) {
    margin-left: calc(50% - 235px);
  }
  .footer-hex .hex:nth-child(7n+7),
  .footer-hex .hex:nth-child(7n+5):nth-last-child(2) {
    margin-right: calc(50% - 235px);
  }
}
/*  Header  */
:root {
  --header-height: 12svh;
}

header {
  /* צבע הרקע שמופיע גם מעל הגל */
  background-color: white;
  /* בסיס לכל הטרפזים */
  /* אפקט תנועה כשמעבירים עכבר מעל כל הלוגו */
  /* ריבאונד — כשמסירים את העכבר */
  /* מצב רגיל: העמוד הנוכחי --primary */
  /* סלקטור לכל הקישורים שלא נבחרו */
}
header .page-header-content {
  background-color: inherit;
  display: flex;
  justify-content: space-between;
  position: fixed;
  width: 100%;
  z-index: 100;
  height: var(--header-height);
  top: 0;
}
header .logo {
  width: 40svw;
  max-width: 40svw;
  margin: 1rem;
}
header .logo-svg {
  width: 100%;
  height: auto;
  display: block;
}
header .logo-svg [id^=l-] {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform var(--animation-timing), fill var(--animation-timing);
}
header .logo:hover #l-1 {
  fill: currentColor;
}
header .logo:hover #l-2 {
  fill: transparent;
}
header .logo:hover #l-3 {
  transform: translate(120%, 210%);
  fill: currentColor;
}
header .logo:hover #l-4 {
  fill: currentColor;
}
header .logo-svg [id^=l-]:not(:hover) {
  transition-delay: 0s;
}
header .nav-list {
  color: black;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  min-height: 90svh;
}
header .nav-list a:focus-visible,
header .nav-list a:hover {
  color: var(--primary);
  font-weight: var(--fw-500);
}
header .nav-item[aria-current=page] {
  font-weight: var(--fw-600);
}
header nav:has(.nav-item[aria-current=page]:hover) a[class=nav-item]:not(:hover) {
  color: var(--color-title);
}

.house-svg {
  margin: 0;
}

/* אחר כך ה־pages */
/* form */
:root {
  --outline-color-invalid: var(--primary);
  --outline-color-valid: var(--secondary);
  --border-radius: 1rem;
}

#form-anchor {
  position: relative;
  top: -5svh;
  height: 0;
}

form {
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  justify-content: center;
  border-radius: var(--border-radius);
  border: 2px solid var(--secondary);
  margin: 1rem;
  padding: 1rem;
  min-height: max-content;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
form h2 {
  line-height: 1.5;
}

.lead {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
  font-weight: 700;
}

button[type=submit] {
  align-self: center;
  width: 100%;
  height: 2.5rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  border: none;
  font-weight: bold;
  font-size: 1rem;
  border-radius: var(--border-radius);
  margin-bottom: 0.5rem;
  color: var(--light-color);
  background-color: var(--primary);
  transition: color 600ms ease, font-size 600ms ease, background-color 600ms ease, max-height 600ms ease;
}

button[type=submit]:hover,
button[type=submit]:focus {
  background-color: var(--primary-hover);
  color: var(--dark-color);
}

input:invalid,
textarea:invalid {
  border: none;
  outline-width: unset;
  outline-color: var(--outline-color-invalid);
  outline-style: solid;
  outline-width: 0.1rem;
  min-width: 10svw;
}

form input:valid,
textarea:valid {
  border: none;
  border-radius: var(--border-radius);
  outline-width: unset;
  outline-color: var(--outline-color-valid);
  outline-style: solid;
  outline-width: 0.1rem;
}

textarea:focus,
form input:focus {
  border: 0.2rem solid var(--dark-color);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
}

form:invalid {
  border-radius: 1rem;
  padding: 0.5rem;
}

.text-fields {
  padding: 1rem;
  margin-bottom: 0.5rem;
  width: inherit;
  display: grid;
  grid-template-areas: "name" "phone" "email" "message" "consent" "submit";
  grid-gap: 1rem;
  justify-items: center;
}
.text-fields Grid Area form .name-input {
  grid-area: name;
}
.text-fields .subject-input {
  grid-area: subject;
}
.text-fields .email-input {
  grid-area: email;
}
.text-fields .phone-input {
  grid-area: phone;
}
.text-fields .message-input {
  grid-area: message;
  height: 6rem;
}
.text-fields .file-form {
  grid-area: file;
}
.text-fields .form-consent {
  grid-area: consent;
}
.text-fields .submit {
  grid-area: submit;
}

.text-input {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  width: 100%;
  background-color: inherit;
}

.success {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--secondary);
  align-items: center;
  text-align: center;
  justify-content: center;
}

.form-consent {
  max-width: 80%;
  text-wrap: pretty;
}
.form-consent input[type=checkbox],
.form-consent input:invalid {
  margin-right: 0.5rem;
  aspect-ratio: 1;
  min-width: 1rem;
  height: auto;
}

.contact-us {
  grid-area: contact-us;
  min-width: max-content;
  margin: auto;
  justify-content: start;
  text-align: start;
  padding: 1rem;
}
.contact-us span {
  display: inline-flex;
  margin-right: 1rem;
}
.contact-us ul {
  display: grid;
  gap: 1rem;
}

.contact {
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
}

#faq {
  scroll-margin-top: 20svh;
}

.faq-section {
  text-align: center;
  width: 100%;
}

.faq-list {
  display: grid;
  gap: 1.5rem;
}

.faq-section,
.faq-list {
  overflow-x: hidden;
}

.faq-question {
  position: relative;
  text-wrap: pretty;
  display: flex;
  cursor: pointer;
  transition: color var(--animation-timing);
  gap: 1rem;
  font-size: clamp(var(--fs-400), 4vw, var(--fs-500));
  font-weight: 700;
  padding: 0.5rem;
  text-align: start;
  align-items: center;
  color: currentColor;
  background-color: transparent;
  border: none;
}

.faq-question::before {
  content: "";
  width: 1.5em;
  height: 1.5em;
  background: url("/assets/image/img/leaf.svg") no-repeat center/contain;
  display: inline-flex;
  transition: transform var(--animation-timing);
  padding: 0rem 0.5rem;
}

.faq-question.active::before {
  transform: scaleX(-1);
}

.faq-item:nth-child(odd) .faq-question:hover,
.faq-item:nth-child(odd) .faq-question:focus-visible {
  color: var(--l-top);
}

.faq-item:nth-child(even) .faq-question:hover,
.faq-item:nth-child(even) .faq-question:focus-visible {
  color: var(--l-sand);
}

.faq-answer {
  position: relative;
  padding-inline: 1rem;
  text-wrap: pretty;
  border-radius: 0.3rem;
  padding-bottom: 4rem;
  padding-top: 1rem;
  margin: 1rem auto;
  opacity: 0;
  line-height: 2;
  font-weight: 700;
  max-width: 100%;
  overflow: hidden;
}

.faq-answer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.faq-answer-text {
  position: relative;
  z-index: 1;
}
.faq-answer-text p {
  text-align: right;
  padding: 2rem 1rem;
}
.faq-answer-text p a {
  border-bottom: 1px solid currentColor;
}

.faq-item:nth-child(odd) .faq-answer {
  padding-top: 1rem;
}

.faq-item:nth-child(odd) .faq-answer-text {
  color: var(--light-color);
}

.faq-item:nth-child(odd) .faq-answer::before {
  clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
  background-color: var(--l-top);
}

/* odd – נכנס משמאל */
.faq-item:nth-child(odd) .faq-question.active + .faq-answer {
  animation: slide-in-left 0.6s linear forwards;
}

.faq-item:nth-child(even) .faq-answer {
  padding-bottom: 1rem;
}

.faq-item:nth-child(even) .faq-answer-text {
  color: var(--dark-color);
}

.faq-item:nth-child(even) .faq-answer::before {
  clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  background-color: var(--l-sand);
}

/* even – נכנס מימין */
.faq-item:nth-child(even) .faq-question.active + .faq-answer {
  animation: slide-in-right 0.6s linear forwards;
}

@keyframes slide-in-right {
  from {
    transform: translateX(50%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slide-in-left {
  from {
    transform: translateX(-50%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.about {
  display: grid;
  gap: 1em;
  align-items: center;
  justify-items: center;
  justify-content: center;
  /* תוכן */
  /* דוגמאות לצורות שונות */
  /* כרטיס 1 */
  /* כרטיס 2 */
  /* כרטיס 3 */
  /* כרטיס 4 */
  /* כרטיס 5 */
  /* ברירת מחדל לשאר הכרטיסים */
  /* כדי לשמור אחידות במעברים */
}
.about p {
  max-width: 80ch;
  justify-self: center;
  line-height: 2;
}
.about .about-values {
  display: grid;
  gap: 1rem;
}
.about .about-values li::before {
  content: "";
  width: 1em;
  height: 1em;
  background: url("/assets/image/img/leaf.svg") no-repeat center/contain;
  display: inline-flex;
  scale: 1;
  transition: transform var(--animation-timing);
  padding: 0rem 1rem;
}
.about .about-hero img {
  display: block;
  margin-inline: auto;
  max-width: 900px;
  width: 100%;
}
.about .about-story {
  position: relative;
  max-width: 100%;
  margin: auto;
  padding: 0 0 2rem 0;
  height: fit-content;
  inline-size: 90%;
}
.about .about-story::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  background-color: var(--bg-about-story-after);
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: -1;
}
.about .about-story > * {
  position: relative;
  z-index: 1;
}
.about .cards {
  display: grid;
  grid-template-columns: 1fr;
  padding-bottom: 1rem;
  gap: 1rem;
}
.about .team-card-link {
  height: 100%;
  display: grid;
  align-items: stretch;
}
.about .team-card {
  display: grid;
  align-content: start;
  grid-auto-flow: row;
  background: var(--card-bg, #f4ead3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  width: 100%;
}
.about .team-card-media img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: cover;
  transition: clip-path var(--animation-timing);
}
.about .cards > .team-card-link:nth-child(1) .team-card-media img {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
.about .cards > .team-card-link:nth-child(2) .team-card-media img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
}
.about .cards > .team-card-link:nth-child(3) .team-card-media img {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
.about .cards > .team-card-link:nth-child(4) .team-card-media img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
}
.about .cards > .team-card-link:nth-child(5) .team-card-media img {
  clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
}
.about .cards .team-card-media img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.about .cards .team-card:hover .team-card-media img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.about .team-card-body {
  padding: 1rem 1.25rem 1.25rem;
  line-height: 1.6;
  display: grid;
  gap: 1.5em;
  text-align: center;
  align-items: center;
  justify-items: center;
}
.about .team-card-name {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 800;
}
.about .team-card-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
  color: #5b4636;
}
.about .team-card-bio {
  margin: 0;
  font-size: 0.98rem;
}
.about .team-card-links a {
  text-decoration: underline;
}

.team-card {
  background: var(--card-bg, #f4ead3);
  color: #19130f;
  overflow: hidden;
}

.team-card.dark {
  color: white;
}

.team-card.dark .team-card-title {
  color: white;
}

.team-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform var(--animation-timing);
}

.team-card-bio .read-more {
  display: inline-block;
  font-weight: var(--fw-600);
  border-bottom: 2px solid currentColor;
  transition: border-color var(--animation-timing);
}

.team-card-link:hover .read-more {
  border-color: black;
}

.blog-filter {
  display: grid;
  gap: 1rem;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  max-width: 100%;
  margin: 0 auto 2rem;
}

.filter-tag {
  width: 100%;
  max-height: 4rem;
  border: 2px solid var(--btn--tag);
  margin: 0;
  background-color: transparent;
}

.filter-tag.active,
.filter-tag[aria-pressed=true] {
  background: var(--btn--tag);
  color: var(--dark-color);
  border-color: var(--btn--tag);
}

.posts {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.last-posts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 1rem;
}

.blog-list {
  display: grid;
  gap: 2rem;
  grid-auto-rows: auto 1fr;
}

.post-card {
  display: grid;
  grid-template-areas: "post-card-img" "post-card-title" "post-card-description" "post-card-meta" "post-card-button";
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-items: center;
  padding: 1rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
}
.post-card .tag-list {
  display: flex;
  gap: 1rem;
}

.post-card-img {
  grid-area: post-card-img;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.post-card-title {
  grid-area: post-card-title;
  margin: 0;
  text-align: center;
  max-width: 25ch;
  text-wrap: balance;
}

.post-card-meta {
  grid-area: post-card-meta;
  font-size: var(--fs-300);
}
.post-card-meta i {
  font-size: var(--fs-300);
}

.post-card-description {
  grid-area: post-card-description;
}

.post-card-button {
  grid-area: post-card-button;
  justify-self: start;
}

/* בסיס צבעים (עם גיבוי אם אין :root גלובלי) */
:root {
  --accent: #a67c52;
  --tint: #f4ead3;
  --text: #2b2b2b;
  --muted: #666;
  --surface: transparent;
}

/* גריד מובייל—טור אחד כברירת מחדל */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

/* כרטיס */
.service-card {
  position: relative;
  overflow: visible; /* חשוב כדי שהאייקון יוכל "לברוח" מהמסגרת */
  transition: transform 0.2s ease;
  /* שינוי צבע המסגרת במעבר/פוקוס (המסגרת על הקישור) */
}
.service-card:hover, .service-card:focus-within {
  transform: translateY(-2px);
}
.service-card:hover .service-link, .service-card:focus-within .service-link {
  border-color: rgba(166, 124, 82, 0.25);
}

/* קישור עוטף */
.service-link {
  position: relative;
  display: grid;
  grid-template-rows: auto;
  border: 3px solid currentColor;
  border-radius: var(--border-radius);
  gap: 2rem;
  text-decoration: none;
  padding: 3rem 1rem 1rem 1rem;
  min-height: 100%;
  outline: none;
  margin-top: 2rem;
}
.service-link:focus-visible {
  box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--accent);
  border-radius: 14px;
}

.service-icon {
  color: var(--service-color);
}
.service-icon svg {
  position: absolute;
  top: -3rem;
  inset-inline-end: 50%;
  transform: translateX(-50%);
  background-color: white;
  padding: 0.5rem;
  width: 6rem;
  height: auto;
}

/* טקסטים */
.service-desc {
  padding: 1.5rem;
  text-align: center;
  margin: auto;
  background-color: var(--service-color);
  border-radius: var(--border-radius);
  min-height: max-content;
  width: 90%;
  align-content: start;
  text-wrap: pretty;
}

.service-card.dark .service-desc {
  color: #fff; /* טקסט בהיר לרקע כהה */
}

/* רשימה */
.service-list {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.service-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  text-wrap: pretty;
}
.service-list li::before {
  content: " ";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.5rem;
  background-color: currentColor;
  background-color: var(--service-color);
  mask: url("/assets/image/icon/leaf-svgrepo-com.svg") no-repeat center/contain;
  -webkit-mask: url("/assets/image/icon/leaf-svgrepo-com.svg") no-repeat center/contain;
  vertical-align: middle;
}

/* CTA */
.service-cta {
  margin-top: 0.2rem;
  font-weight: var(--fw-600);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-page {
  max-width: 100%;
  display: grid;
  gap: 2rem;
  padding: 1rem 0;
  margin: 4rem auto 0 auto;
}

.service-header {
  display: grid;
  gap: 1rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-top: 2rem;
}
.service-header .service-icon {
  color: var(--service-color);
}
.service-header .service-icon svg {
  top: -4rem;
}

.service-intro {
  background-color: var(--service-color);
  margin: 0 auto;
  padding: 0.5rem;
  border-radius: 0.1rem;
  max-width: 65ch;
}

/* 🩶 כשצבע הרקע כהה – הטקסט הופך לבן */
.service-page.dark .service-intro {
  color: #fff;
}

.service-content {
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.service-content a {
  font-weight: var(--fw-600);
}
.service-content a:hover {
  color: var(--accent, #9fcddb);
}

.service-topics {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}
.service-topics ul {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}
.service-topics ul li {
  line-height: 1.9;
  text-wrap: pretty;
  display: grid;
  grid-template-columns: auto 1fr;
  text-wrap: pretty;
}

.service-topics li::before {
  content: " ";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-left: 0.5rem;
  background-color: var(--service-color);
  mask: url(/assets/image/icon/leaf-svgrepo-com.svg) no-repeat center/contain;
  -webkit-mask: url(/assets/image/icon/leaf-svgrepo-com.svg) no-repeat center/contain;
  vertical-align: middle;
}

.service-image {
  margin: 2rem auto;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  border-radius: 0.5rem;
}

.service-cta {
  text-align: center;
  margin-top: 3rem;
}

.service-cta p {
  margin-bottom: 1rem;
  font-weight: 500;
}

.expert {
  display: grid;
  justify-content: center;
  gap: 1.5rem;
  grid-template-areas: "header" "bio" "specialty" "lead-projects" "other-projects";
  grid-auto-rows: max-content;
  /* פרויקטים בהובלת המומחית */
  /* פרויקטים נוספים */
}
.expert .expert-header {
  grid-area: header;
}
.expert .expert-bio {
  grid-area: bio;
  max-width: 80ch;
  margin: auto;
}
.expert .expert-specialty {
  grid-area: specialty;
  max-width: 65ch;
  margin: auto;
  text-align: right;
}
.expert .projects-grid:first-of-type {
  grid-area: lead-projects;
}
.expert .projects-grid:last-of-type {
  grid-area: other-projects;
}
.expert header {
  display: grid;
  background-color: inherit;
  grid-template-areas: "name " "role" "photo ";
  align-items: center;
  justify-items: center;
  grid-template-columns: 1fr;
  padding: 1rem;
  margin: auto;
}
.expert header p {
  max-width: 30ch;
}
.expert .expert-name {
  grid-area: name;
}
.expert .expert-role {
  grid-area: role;
}
.expert .expert-media {
  grid-area: photo;
}

.projects {
  display: grid;
}

/* פס סינון */
.projects-filter {
  display: grid;
  gap: 1rem;
  justify-content: center;
  grid-template-columns: 1fr 1fr;
  max-width: 100%;
  margin: 0 auto 2rem;
}

.projects-filter .btn--tag:last-child {
  grid-column: 1/-1; /* יתפוס את כל השורה */
}

.btn.active,
.btn[aria-pressed=true] {
  background: var(--btn--tag);
  color: var(--dark-color);
  border-color: var(--btn--tag);
}

.btn--tag {
  width: 100%;
  min-height: 4rem;
  border: 2px solid var(--btn--tag);
  margin: 0;
}

.btn:focus-visible {
  outline: 2px solid var(--secondary, #a2d0e0);
  outline-offset: 2px;
}

/* גריד של כרטיסים */
.projects-grid {
  display: grid;
  gap: 1rem;
  /* עמודה אלסטית ונקייה לרספונסיביות */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* כרטיס פרויקט עם Grid Areas */
.project-card {
  display: grid;
  justify-items: center;
  grid-template-columns: 1.2fr 1fr;
  grid-template-areas: "img     title" "img     service" "img     summary" "img     tags";
  grid-auto-rows: max-content;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid color-mix(in lab, var(--neutral, #c9a679) 30%, white);
  transition: transform 150ms ease;
}
.project-card a {
  display: contents; /* מאפשר לרכיבים לשבת ב-grid של הכרטיס ועדיין להיות קישור אחד */
  text-decoration: none;
  color: inherit;
}
.project-card:hover, .project-card:focus-within {
  transform: translateY(-2px);
}

/* שיוך האזורים */
.project-card-img {
  grid-area: img;
  width: 100%;
  height: auto;
  display: block;
}

.project-card h3 {
  grid-area: title;
  margin: 0.25rem 0;
  font-size: clamp(1.05rem, 1vw + 0.9rem, 1.35rem);
}

.service-tag {
  grid-area: service;
}

.summary {
  grid-area: summary;
  color: var(--text-muted, #4d4d4d);
}

.project-tags {
  grid-area: tags;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: center;
}

/* תגיות כפתוריות */
.tag-list .btn--tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-size: 0.9rem;
}

.project {
  display: grid;
  gap: var(--gap, 1rem);
  grid-template-areas: "hero" "title" "summary" "content" "body" "gallery" "tags" "back";
}
.project header {
  max-height: fit-content;
}
.project .project-main-image {
  grid-area: hero;
  margin: 0;
  position: relative;
}
.project .project-main-image img {
  clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%);
  aspect-ratio: 1;
  height: auto;
}
.project h1 {
  grid-area: title;
  margin: 0.5rem 0 0;
  line-height: 1.2;
}
.project .project-summary {
  grid-area: summary;
  color: var(--text-muted, #4d4d4d);
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.125rem);
  margin: 0.25rem 0 1rem;
}
.project .project-body {
  grid-area: body;
  display: grid;
  gap: calc(var(--gap, 1rem) * 0.75);
}
.project .project-body > * + * {
  margin-top: 0.5rem;
}
.project .project-content {
  grid-area: content;
  display: grid;
  gap: var(--gap, 1rem);
}
.project .content-block {
  display: grid;
  gap: 0.75rem;
  align-items: start;
  grid-template-areas: "text" "image";
}
.project .content-block .content-block-text {
  grid-area: text;
}
.project .content-block .content-block-image {
  grid-area: image;
  margin: 0;
}
.project .content-block .content-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.project .project-gallery {
  grid-area: gallery;
}
.project .project-gallery img {
  max-width: 30svw;
}
.project .project-tags {
  grid-area: tags;
}
.project .project-tags .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project .project-tags .tag-list .btn-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: color-mix(in lab, var(--secondary, #a2d0e0) 20%, white);
  border: 1px solid color-mix(in lab, var(--secondary, #a2d0e0) 50%, white);
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
}
.project .blog-back {
  grid-area: back;
}
.project .blog-back .btn--back {
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 89%);
}

/* ===== פריסה רחבה ===== */
@media (min-width: 900px) {
  .project {
    /* גריד דו־טורי עם אזורים */
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas: "hero    hero" "title   title" "summary summary" "content body" "gallery gallery" "tags    tags" "back    back";
  }
  /* זוגיות בלוקים: איור לימין/שמאל */
  .content-block {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "text image";
    align-items: start;
  }
  .project[dir=rtl] .project-content .content-block:nth-child(even) {
    /* ב-RTL מהפכים: בתזוגי – תמונה ואז טקסט */
    grid-template-areas: "image text";
  }
  .project-main-image img {
    aspect-ratio: 16/9;
    object-fit: cover;
  }
}
/* נגיעות קטנות לנגישות/פוקוס */
.project :where(a, button):focus-visible {
  outline: 2px solid var(--secondary, #a2d0e0);
  outline-offset: 2px;
}

.feedback {
  text-align: center;
  padding: 1rem;
  background-color: var(--secondary);
  color: var(--dark-color);
  margin: 2rem auto;
  border-radius: var(--border-radius);
}

.feedback-card {
  display: flex;
  gap: var(--gap);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  min-width: 80svw;
  height: fit-content;
  justify-items: center;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.15); /* לבן שקוף */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* לספארי */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  text-align: center;
  border-radius: var(--border-radius);
  color: var(--dark-color);
}

.feedback-summary {
  font-size: inherit;
  list-style: none;
  cursor: pointer;
  position: relative;
  width: fit-content;
  margin: 1rem auto;
  outline-color: var(--primary);
  outline-offset: 0.25rem;
  background-color: var(--primary);
  border: 2px solid var(--primary);
  color: white;
}
.feedback-summary::-webkit-details-marker {
  display: none;
}
.feedback-summary::before {
  content: "הצג ביקורת";
  width: min-content;
}
.feedback-content[open] .feedback-summary::before {
  content: "הסתר ביקורת";
}
.feedback-summary:hover {
  background-color: var(--secondary);
  color: black;
  font-weight: 700;
}

.close-feedback {
  display: flex;
  width: 1ch;
  aspect-ratio: 1;
  height: auto;
  border-radius: 50%;
  min-width: 1ch;
  max-width: 1ch;
  margin: 0;
  padding: 0;
}
.close-feedback:hover {
  transform: rotate(360deg);
}

.feedback-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.feedback-name {
  font-weight: bold;
  margin: 1rem auto;
  font-size: inherit;
}

.feedback-date {
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.feedback-rating {
  min-height: 5rem;
}

.feedback-text {
  font-size: var(--fs-500);
  padding: 2rem 0;
  font-weight: 500;
}

:root {
  --animation-timing: 500ms ease-in-out;
  --border-radius: 0.3rem;
  --gap: 1rem;
}

.home-main {
  margin-top: 0;
}

/*  Homepage   */
/* בסיס ההרואו הקיים + רקע שכבות */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(90svh, 720px);
  display: grid;
  place-items: end center;
  /* כל שכבת רקע */
  /* עליון – חום כהה */
  /* תכלת */
  /* חום בהיר */
  /* תחתון – חול */
}
.hero .h1-logo {
  color: #4c372d;
  letter-spacing: 0.1rem;
  display: grid;
  grid-template-areas: "env negev" "negev-h negev-h";
  grid-template-columns: 1fr auto;
  align-items: baseline;
}
.hero .h1-logo span {
  display: inline-flex;
  align-items: baseline;
}
.hero .negev {
  font-size: clamp(var(--fs-700), 10vw, var(--fs-900));
  grid-area: negev;
}
.hero .env {
  grid-area: env;
  font-size: clamp(var(--fs-500), 4vw, var(--fs-600));
}
.hero .negev-h {
  grid-area: negev-h;
  font-size: clamp(var(--fs-300), 5vw, var(--fs-500));
}
.hero .hero-content {
  background: radial-gradient(ellipse at center, rgb(245, 242, 239) 40%, rgba(245, 242, 239, 0.6) 70%, rgba(245, 242, 239, 0) 100%), linear-gradient(160deg, rgba(230, 239, 233, 0.4), rgba(230, 239, 233, 0));
  width: 90%;
  place-self: center;
  padding: 0.5rem 0;
  border-radius: var(--border-radius);
  height: auto;
  display: grid;
  gap: 2.5rem;
  justify-items: center;
  min-height: 80svh;
  align-content: center;
  align-items: center;
  margin: 1rem 0;
  color: #4c372d;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}
.hero .hero-content h1,
.hero .hero-content h2 {
  line-height: 1.3;
  font-weight: var(--fw-600);
}
.hero .hero-content h2 {
  max-width: 15ch;
}
.hero .hero-content p,
.hero .hero-content h2,
.hero .hero-content h3 {
  margin: 0;
  text-wrap: pretty;
}
.hero .btn--hero {
  font-family: var(--ff-heading);
  font-weight: var(--fw-700);
  font-size: clamp(var(--fs-300), 4vw, var(--fs-400));
  background-color: var(--tertiary-color);
  color: var(--dark-color);
  height: auto;
  flex: 0 0 calc(50% - 0.5rem);
  margin: 0.5rem 0;
  min-height: 5rem;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform var(--animation-timing), background-color var(--animation-timing);
}
.hero .btn--hero svg {
  max-width: 2rem;
  height: auto;
}
.hero .actions > a:nth-child(odd):hover,
.hero .actions > a:nth-child(odd):focus-visible {
  background-color: var(--primary-hover);
  color: var(--dark-color);
  z-index: 1;
  transform: rotate(3deg);
}
.hero .actions > a:nth-child(even):hover,
.hero .actions > a:nth-child(even):focus-visible {
  background-color: var(--primary-hover);
  color: var(--dark-color);
  z-index: 1;
  transform: rotate(-3deg);
}
.hero .hero-container {
  position: relative;
  z-index: 5;
  max-width: 100%;
}
.hero .hero-bg {
  width: 100%;
  min-width: 80svw;
}
.hero .hero-layer {
  max-width: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  will-change: transform, opacity;
  opacity: 1;
}
.hero .l-top {
  top: 0;
  height: 28%;
  background: var(--l-top);
  clip-path: polygon(0 0, 100% 0, 100% 56%, 0 81%);
}
.hero .l-sky {
  bottom: 57%;
  height: 25%;
  background: var(--l-sky);
  clip-path: polygon(0 52%, 100% 0, 100% 100%, 0 100%);
  transform: translateY(2%);
}
.hero .l-brown {
  bottom: 28%;
  height: 24%;
  background: var(--l-brown);
  clip-path: polygon(0 0, 100% 0%, 100% 40%, 0 100%);
  transform: translateY(1%);
}
.hero .l-sand {
  bottom: 0;
  height: 40%;
  background: var(--l-sand);
  clip-path: polygon(0 52%, 100% 0, 100% 100%, 0 100%);
}

.home-about {
  display: grid;
  align-items: center;
  gap: 1rem;
  justify-items: center;
  grid-template-columns: 1fr;
  grid-template-areas: "home-about-title" "home-about-text" "home-about-img" "home-about-value";
}

.home-about-title {
  grid-area: home-about-title;
}

.home-about-text {
  grid-area: home-about-text;
  width: 100%;
  height: 100%;
  align-content: center;
  background-color: var(--bg-neutral);
  color: var(--dark-color);
  padding: 2rem 1.5rem;
  border-radius: var(--border-radius);
}
.home-about-text p {
  text-align: justify;
  max-width: 55ch;
  padding: 0;
  text-wrap: pretty;
  margin: auto;
}
.home-about-text strong {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.5rem;
  padding: 0.5rem 0;
  align-items: baseline;
}

.home-about-img {
  grid-area: home-about-img;
  max-height: 100%;
}
.home-about-img img {
  max-width: 100%;
  max-height: 100%;
}

.home-about-value {
  display: grid;
  gap: 1rem;
  grid-area: home-about-value;
  justify-items: center;
}
.home-about-value .value-card {
  text-align: center;
  background: var(--secondary);
  padding: 2rem 1.5rem;
  border-radius: 0.3rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 1rem;
  align-items: start;
  color: var(--dark-color);
}

.home-cta {
  background: linear-gradient(135deg, var(--janna), var(--coral-reef));
  position: relative;
  padding: 2rem 0;
  overflow: hidden;
  margin: auto;
  width: 100%;
  corner-shape: bevel;
  border-radius: 0.5rem;
}

.home-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  background: var(--brown);
  clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
  opacity: 0.12;
}

.home-cta-wrapper {
  display: grid;
  gap: 1rem;
  margin: auto;
  color: var(--dark-color);
}
.home-cta-wrapper p,
.home-cta-wrapper h2 {
  text-wrap: pretty;
  max-width: 90%;
  place-self: center;
}

/* אפקט עדין של תנועה */
@keyframes slideInRight {
  from {
    transform: translateX(30%) translateY(5%);
    opacity: 0;
  }
  to {
    transform: translateX(0) translateY(0);
    opacity: 0.9;
  }
}
@keyframes slideInLeft {
  from {
    transform: translateX(-30%) translateY(5%);
    opacity: 0;
  }
  to {
    transform: translateX(0) translateY(0);
    opacity: 0.5;
  }
}
/* אנימציה הדרגתית */
.l-top {
  animation: slideInRight 1s ease-out 0ms both;
}

.l-sky {
  animation: slideInLeft 1s ease-out 150ms both;
}

.l-brown {
  animation: slideInRight 1s ease-out 300ms both;
}

.l-sand {
  animation: slideInLeft 1s ease-out 450ms both;
}

/* המלצה קלה לשיפור קריאות הטקסט על תמונת ההרואו */
.hero-image {
  max-width: min(800px, 90vw);
  border-radius: 0.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.home-cta {
  text-align: center;
}

/* grid */
.grid {
  display: grid;
}

/*   gallery  */
.gallery {
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  align-items: baseline;
}

.gallery-item {
  position: relative;
  text-align: center;
  border-bottom: 1px solid var(--light-brown);
  padding-bottom: 2rem;
  display: grid;
  row-gap: 1rem;
  font-size: inherit;
  grid-template-rows: 1fr 4rem auto;
}

.gallery-image {
  width: 100%;
  min-width: 70svw;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  opacity: 0.9;
}

.gallery-title {
  margin-top: 1rem;
}

.cookie-consent.active {
  bottom: 0;
  display: block;
}

.cookie-consent {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1000;
  text-align: center;
  background-color: #292725;
  border-radius: 0.3rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: clamp(30svw, 70svw, 50%);
  max-width: 100%;
  flex-direction: column;
  justify-content: center;
  z-index: 5;
  padding-block-end: 1rem;
  text-wrap: balance;
  transition: display 0.5s;
}
.cookie-consent img {
  justify-content: center;
  object-fit: contain;
  max-width: 20svw;
  max-height: 20svw;
}
.cookie-consent p {
  color: white;
}
.cookie-consent button {
  width: 25svw;
}
.cookie-consent .color-light {
  color: var(--light-color);
}
.cookie-consent .flex-column {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: clamp(20svw, 30svw, 50%);
}
.cookie-consent .btn-accept {
  background-color: var(--secondary);
  color: var(--dark-color);
  border-color: inherit;
}
.cookie-consent .btn-accept:hover,
.cookie-consent .btn-accept:focus-visible {
  background-color: var(--secondary-hover);
  color: var(--dark-color);
  font-weight: 700;
}
.cookie-consent .btn-reject {
  background-color: var(--primary);
  color: var(--dark-color);
  border-color: inherit;
}
.cookie-consent .btn-reject:hover,
.cookie-consent .btn-reject:focus-visible {
  background-color: var(--primary-hover);
  color: var(--light-color);
  font-weight: 700;
}

@media (prefers-color-scheme: light) {
  .html {
    color: var(--dark-color);
    background-color: var(--light-color);
  }
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: var(--neutral);
    --color-title: var(--light-color);
    --bg-about-story-after: #60584c;
  }
  html {
    color: var(--light-color);
    background-color: var(--dark-color);
  }
  .sidebar {
    background-color: #4a6068;
  }
  /* כל שאר הכרטיסים במצב כהה – טקסט שחור */
  .service-card:not(.dark) .service-desc {
    color: var(--dark-color);
  }
  .service-page:not(.dark) .service-intro {
    color: var(--dark-color);
  }
  .hamburger-menu::before,
  .hamburger-menu::after,
  .hamburger-menu input {
    background-color: currentColor;
  }
  header {
    /* צבע הרקע שמופיע גם מעל הגל */
    background-color: black;
  }
  header .nav-list {
    color: var(--light-color);
  }
  .hero .hero-content p {
    color: currentColor;
  }
  .title-background-light {
    color: #4c372d;
  }
  .service-icon svg {
    background-color: var(--dark-color);
  }
  .site-footer .social {
    color: var(--cream);
  }
  .copyright {
    color: var(--cream);
  }
  .btn--back {
    border: 2px dashed var(--cream);
  }
  .modal-message {
    color: var(--dark-color);
  }
}
@media (min-width: 64em) {
  :root {
    --header-height: 13svh;
  }
  .container {
    margin-inline: auto;
    max-width: 80svw;
  }
  .hero .hero-content {
    align-content: space-around;
    gap: 0;
    min-width: 70svw;
    min-height: 77svh;
  }
  .hero .hero-content h2 {
    margin-bottom: 0;
    max-width: max-content;
  }
  .hero .hero-content p {
    inline-size: 60%;
  }
  .hero-layer {
    max-width: 100%;
  }
  .home-about {
    grid-template-columns: 1fr 2fr;
    justify-content: center;
    grid-template-areas: "home-about-title home-about-title" "home-about-img home-about-text" "home-about-value  home-about-value";
  }
  .home-about-value {
    grid-template-columns: repeat(3, 1fr);
    text-align: right;
  }
  .value-icon {
    margin-inline: 0;
  }
  .home-about-value .btn {
    grid-column: 1/-1;
    justify-self: end;
  }
  .home-cta-wrapper {
    max-width: 30svw;
  }
  header .page-header-content {
    max-width: 80%;
    place-self: center;
  }
  header .nav-list {
    flex-direction: row;
    min-height: 5svh;
  }
  header .logo {
    max-width: 15svw;
  }
  .hamburger-menu {
    opacity: 0;
    width: 0;
  }
  .sidebar {
    position: relative;
    padding: 1.5em;
    translate: 0;
    width: auto;
    min-height: max-content;
    background-color: inherit;
  }
  .top-background {
    background-size: contain;
  }
  .svg-title {
    min-height: 20ch;
  }
  .flex-group {
    justify-content: space-evenly;
    max-width: 55ch;
    margin-bottom: 2rem;
  }
  img {
    max-height: 50svh;
    width: auto;
    object-fit: cover;
    margin-right: auto;
    margin-left: auto;
    transition: scale 1s linear;
  }
  ol li {
    grid-template-columns: 50svw;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  /* אפקט hover */
  .gallery-item img:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .cookie-consent img {
    width: 10svw;
    height: 10svw;
  }
  /* form */
  .form-section {
    min-width: 50svw;
    width: fit-content;
    margin: auto;
  }
  form {
    padding: 2rem;
    text-align: center;
  }
  form .text-fields {
    justify-content: center;
    grid-template-areas: "name     phone    email" "message  message  message" "consent consent consent" "submit   submit   submit ";
    padding: 1rem 2rem;
    margin: 0;
  }
  form input:invalid,
  form textarea:invalid {
    min-height: 2rem;
  }
  .btn--primary {
    min-width: 10svw;
  }
  /* צור קשר */
  .contact {
    flex-direction: row-reverse;
    min-height: 50svh;
    align-items: center;
    justify-content: space-around;
    gap: 3rem;
    margin-bottom: 0;
    padding: 0;
  }
  .btn--primary {
    max-width: max-content;
  }
  .tags-list .btn-tag {
    min-width: 0;
    white-space: normal;
  }
  .tags-list {
    grid-template: auto/auto auto auto auto;
  }
  .faq-question {
    inline-size: 50%;
    margin: auto;
  }
  .faq-answer {
    text-align: center;
    inline-size: 65ch;
  }
  .about {
    /* עטיפה לכרטיסים */
    /* כרטיס 3 */
    /* כרטיס 4 */
    /* כרטיס 5 */
    /* כדי לשמור אחידות במעברים */
  }
  .about .cards {
    grid-template-columns: repeat(5, 1fr);
    align-items: stretch;
  }
  .about .team-card-link {
    height: 100%;
    display: grid;
    align-items: stretch;
  }
  .about .team-card-body {
    grid-template-rows: auto 8rem 1fr;
    height: 100%;
  }
  .about .about-story {
    inline-size: 85ch;
  }
  .about .about-story::before {
    background-size: 30%;
  }
  .about .about-story::after {
    width: 10svw;
  }
  .about .cards > .team-card-link:nth-child(3) .team-card-media img {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 80%);
  }
  .about .cards > .team-card-link:nth-child(4) .team-card-media img {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  }
  .about .cards > .team-card-link:nth-child(5) .team-card-media img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 80%);
  }
  .about .cards .team-card:hover .team-card-media img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .project-card {
    max-width: 30svw;
  }
  .projects-filter,
  .blog-filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .text-fields {
    padding: 1rem;
    margin-bottom: 0.5rem;
    width: inherit;
    grid-gap: 2rem;
    justify-content: center;
    justify-items: center;
    margin: 2rem auto;
    display: grid;
    grid-template-areas: "name" "phone" "email" "message" "submit";
  }
  input:invalid,
  textarea:invalid {
    min-height: 2rem;
    border-radius: inherit;
  }
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    padding-top: 2rem;
  }
  .service-content,
  .service-topics {
    inline-size: 80ch;
    margin: auto;
  }
  .service-link {
    grid-template-rows: auto 5rem 1fr 3rem;
  }
  .service-desc {
    min-height: max(28rem, 14lh + 4rem);
  }
  .footer-hex .hex-grid {
    max-width: 500px;
  }
  .wrapper-footer {
    height: 20svh;
  }
  .expert header {
    grid-template-areas: "name photo" "role photo ";
    grid-template-columns: 2fr 1fr;
  }
  .post-card {
    display: grid;
    grid-template-areas: "post-card-meta post-card-meta" "post-card-img post-card-title" "post-card-img post-card-description" "post-card-img post-card-button" "post-tag-list post-tag-list";
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
    justify-items: center;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
  }
  .post-card-img {
    max-height: 20svw;
    min-height: 20svh;
    max-width: 20svw;
    aspect-ratio: 1;
  }
  .content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-bottom: 5rem;
    line-height: 2;
    justify-items: center;
  }
  .content-block p {
    direction: rtl;
  }
  .content-block .block-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: var(--border-radius, 0);
  }
  /* בלוקים אי-זוגיים: טקסט משמאל, תמונה מימין */
  .content-block:nth-child(odd) {
    direction: rtl;
  }
  /* בלוקים זוגיים: תמונה משמאל, טקסט מימין */
  .content-block:nth-child(even) {
    direction: ltr;
  }
  .feedback-card {
    min-width: 25svw;
  }
}
