@charset "UTF-8";
:root {
  --clr-faq: #f5f8f7;
  --clr-faq-hover: #cead82;
  --primary: rgb(252, 123, 33);
  --primary-hover: rgb(252, 158, 81);
  --secondary: #d7c8b6;
  --secondary-hover: #cbb9a5;
  --neutral: #f2efea;
  --neutral-hover: #0b0b0a;
  --accent: #a45a2a;
  --light-red: rgb(255, 102, 102);
  --red: rgb(255, 0, 0);
  --dark-red: rgb(179, 0, 0);
  --light-orange: rgb(252, 123, 33);
  --orange: rgb(211, 84, 0);
  --dark-orange: rgb(168, 67, 0);
  --light-yellow: rgb(255, 223, 120);
  --yellow: rgb(212, 175, 55);
  --dark-yellow: rgb(163, 133, 43);
  --light-ocher: rgb(230, 230, 170);
  --ocher: rgb(202, 202, 135);
  --dark-ocher: rgb(162, 162, 108);
  --light-green: rgb(82, 156, 100);
  --green: rgb(7, 102, 80);
  --dark-green: rgb(5, 80, 61);
  --light-green2: rgb(216, 237, 221);
  --green2: rgb(120, 147, 127);
  --dark-green2: rgb(95, 117, 102);
  --light-blue: rgb(211, 226, 239);
  --blue: rgb(125, 168, 174);
  --dark-blue: rgb(95, 130, 135);
  --light-brown: rgb(217, 173, 121);
  --brown: rgb(178, 109, 60);
  --dark-brown: rgb(53, 36, 26);
  --light-cream: rgb(255, 250, 248);
  --cream: rgb(241, 235, 234);
  --dark-cream: rgb(210, 205, 204);
  --light-gray: rgb(177, 180, 179);
  --gray: rgb(142, 145, 144);
  --dark-gray: rgb(110, 113, 111);
  --dark-color: black;
  --dark-color-hover: rgb(142, 145, 144);
  --light-color: #dee2e1;
  --whatsapp: #076650;
}

:root {
  direction: rtl;
  --ff-body: "Assistant", sans-serif;
  --ff-heading: "Assistant", 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;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  --fw-700: 700;
  --fw-900: 900;
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-400);
}

h1,
h2,
h3 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-600);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

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

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

/* typgraphy */
.post-body h2,
.section-title {
  position: relative;
  width: fit-content;
  color: inherit;
  text-wrap: pretty;
  text-align: center;
  font-size: var(--fs-600);
  letter-spacing: 0.1rem;
  margin: 1rem auto;
}

.post-body h2,
.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), 6vw, var(--fs-600));
  letter-spacing: 0.1rem;
  text-align: center;
}

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

.title {
  font-size: clamp(var(--fs-400), 5vw, var(--fs-500));
  letter-spacing: 0.1rem;
  color: var(--dark-brown);
  margin-inline: auto;
  margin-bottom: 1rem;
}

li {
  line-height: 1.5;
}

@supports (text-wrap: balance) {
  p {
    text-wrap: balance;
  }
}
/*   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;
  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;
}

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

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

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

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

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

/* 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;
  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;
}

/*  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: min(1200px, 95vw);
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.flex-group {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
  justify-content: space-between;
  margin-bottom: 2rem;
}

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

button,
.btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

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

.btn--primary {
  background: var(--primary);
  font-weight: var(--fw-700);
  border: 2px solid var(--primary);
  border-radius: 50%;
  max-width: min-content;
  font-size: var(--fs-400);
  margin: auto;
  aspect-ratio: 1;
  padding: 0.5rem;
}

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

.btn--secondary {
  border-radius: 0;
  width: max-content;
  display: block;
  margin: auto;
  background: var(--secondary);
  color: black;
  clip-path: polygon(0% 20%, 60% 20%, 100% 20%, 100% 50%, 100% 80%, 60% 80%, 0% 80%);
}

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

.btn--neutral {
  font-weight: var(--fw-700);
  outline: 2px solid var(--light-brown);
}

.btn--neutral:hover,
.btn--neutral:focus {
  outline-offset: 0.25em;
}

.btn-dark {
  background-color: var(--dark-color);
  color: var(--light-color);
}

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

.btn--back {
  position: relative;
  font-weight: var(--fw-700);
  background: var(--green2);
  color: var(--light-color);
  margin: 1rem auto;
  min-width: max-content;
  max-width: 10svw;
}

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

.btn--to-top {
  z-index: 25;
  position: absolute;
  bottom: 7rem;
  background: var(--secondary);
  color: var(--dark-color);
  max-width: min-content;
  aspect-ratio: 1;
  width: 2rem;
  height: 2rem;
  right: 2%;
  border-radius: 50%;
  font-size: 2rem;
  padding: 0;
}

.btn--to-top:hover,
.btn--to-top:focus-visible {
  color: var(--light-color);
  background-color: var(--dark-color);
}

.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: 1%;
  top: 30svh;
  color: #076650;
  font-size: 3rem;
  text-decoration: none;
  z-index: 1000;
}

.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(--light-brown);
}

/* אקורדיון תעודות בתוך עמוד טיפול ואודות */
.about-certificates,
.service-certificates {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  /* תוכן האקורדיון – סגור */
  /* פתוח */
  /* גלריית תמונות מתגלגלת */
}
.about-certificates .accordion,
.service-certificates .accordion {
  width: 100%;
  border-radius: 0.5rem;
  background: var(--bg-secondary, #f7f7f7);
  overflow: hidden;
}
.about-certificates .accordion-label,
.service-certificates .accordion-label {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem;
  font-weight: 600;
  background-color: var(--bg-secondary, #f3f3f3);
  border-radius: 0.5rem;
  transition: background-color 0.3s;
  color: var(--dark-color);
}
.about-certificates .accordion-label:hover,
.service-certificates .accordion-label:hover {
  background-color: var(--bg-tertiary, #e9e9e9);
}
.about-certificates .accordion-label .arrow,
.service-certificates .accordion-label .arrow {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}
.about-certificates .accordion-content,
.service-certificates .accordion-content {
  position: static; /* ← חשוב כדי למנוע קפיצות */
  margin-top: 0.5rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}
.about-certificates .accordion[open] .accordion-content,
.service-certificates .accordion[open] .accordion-content {
  max-height: 1000px; /* מספיק גדול לפתיחה חלקה */
  opacity: 1;
}
.about-certificates .accordion[open] .accordion-label .arrow,
.service-certificates .accordion[open] .accordion-label .arrow {
  transform: rotate(-90deg);
}
.about-certificates .scroll-images,
.service-certificates .scroll-images {
  padding: 1rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-behavior: smooth;
}
.about-certificates .scroll-images img,
.service-certificates .scroll-images img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0.5rem;
  flex-shrink: 0;
  aspect-ratio: 1/1.414;
}

:root {
  --bar-width: 30px;
  --bar-height: 4px;
  --hamburger-gap: 5px;
  --foreground: #333;
  --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) {
  --foreground: white;
  --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(--foreground);
  color: var(--background);
  z-index: 9;
  transition: translate var(--animation-timing);
  translate: 150%;
  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   */
.site-footer {
  --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 {
  min-width: 70svw;
  max-width: 70svw;
  margin: auto;
  grid-area: more-info;
  grid-template-columns: max-content max-content max-content;
  justify-content: center;
}

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

.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;
}

/*  Header  */
:root {
  --header-height: 7svh;
}

header.page-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  transition: transform 0.3s ease;
  /* מצב רגיל: העמוד הנוכחי כתום */
  /* סלקטור לכל הקישורים שלא נבחרו */
}
header.page-header.hide {
  transform: translateY(-100%);
}
header.page-header .page-header-content {
  display: flex;
  justify-content: center;
  background-color: white;
  box-shadow: -6px -11px 19px 1px rgba(121, 85, 72, 0.54);
  width: 100%;
  min-height: 10svh;
}
header.page-header .nav-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 90svh;
}
header.page-header .logo {
  max-width: 20svw;
}
header.page-header .logo:hover g {
  fill: rgb(255, 60, 0);
  transition: fill 0.5s linear;
}
header.page-header .nav-list a:focus,
header.page-header .nav-list a:hover {
  color: var(--accent);
  font-weight: var(--fw-500);
}
header.page-header .nav-item[aria-current=page] {
  color: var(--primary);
}
header.page-header nav:has(.nav-item[aria-current=page]:hover) a[class=nav-item]:not(:hover) {
  color: var(--primary);
}
header.page-header nav:has(a[class=nav-item]:hover) a[class=nav-item]:not(:hover),
header.page-header nav:has(li[class=nav-item]:hover) a[class=nav-item]:not(:hover),
header.page-header nav:has(a[class=nav-item]:hover) .nav-item.active,
header.page-header nav:has(a[class=nav-item][aria-current=page]:hover) a[class=nav-item]:not([aria-current=page]) {
  color: var(--primary);
}

/* form */
:root {
  --outline-color-invalid: hsl(205.87deg 45.24% 21.37%);
  --outline-color-valid: var(--light-blue);
}

#form {
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  border-radius: var(--border-radius);
  justify-content: center;
}

.form-section {
  background-color: white;
}

form {
  background-color: beige;
  margin: 1.5rem auto;
  min-height: max-content;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.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(--dark-color);
  background-color: var(--blue);
  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(--green);
  color: var(--light-blue);
}

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" "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 .submit {
  grid-area: submit;
}

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

.success {
  display: flex;
  flex-direction: column;
  background-color: rgba(125, 168, 174, 0.4117647059);
  align-items: center;
  max-height: 100svw;
  text-align: center;
  min-height: 100svw;
  justify-content: start;
}

.contact-us {
  grid-area: contact-us;
  margin: 1rem;
  justify-content: start;
  text-align: start;
  padding: 1rem;
}
.contact-us span {
  display: inline-flex;
  margin: 1rem;
}

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

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

.faq-section {
  text-align: center;
}

.faq-item {
  animation: slide-in-list 1s ease-in-out forwards;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 7ch;
  cursor: pointer;
  transition: background-color 0.3s;
  gap: 1rem;
  min-width: 70svw;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.5rem;
  min-height: 10vh;
  text-align: start;
  align-items: center;
  color: currentColor;
  margin-top: 1rem;
  background-color: transparent;
  border: none;
  border-bottom: 1px inset black;
}

.faq-question:hover {
  border-bottom: 2px inset var(--blue);
}

.faq-answer {
  padding-inline: 1rem;
  text-wrap: balance;
  border-radius: 0.3rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  margin: auto 1rem;
  justify-content: center;
  flex-direction: column;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity var(--animation-timing), transform var(--animation-timing);
  line-height: 2;
  text-align: start;
  font-weight: 700;
}

.faq-question.active + .faq-answer {
  animation: slide-in-list var(--animation-timing) forwards;
}

.faq-question::before {
  content: "⇨";
  display: inline-flex;
  scale: 1.5;
  transition: transform var(--animation-timing);
  transform: rotate(180deg);
  padding: 0rem 0.5rem;
}

.faq-question.active::before {
  transform: rotate(90deg);
}

@keyframes slide-in-list {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.about {
  display: grid;
  gap: 2rem;
  align-items: center;
  justify-items: center;
  justify-content: center;
}
.about .wrapper-content-about {
  text-align: center;
  display: flex;
  flex-direction: column-reverse;
  gap: 1rem;
  margin-inline: 2rem;
  /* תמונה ראשית */
}
.about .wrapper-content-about .wrapper-text-about {
  display: grid;
  row-gap: 1rem;
}
.about .wrapper-content-about img {
  aspect-ratio: 1;
  height: 70svw;
  object-fit: cover;
  border-radius: 0.5rem;
  object-position: top;
}
.about .wrapper-content-about p {
  margin-inline: auto;
  max-width: 90%;
  text-wrap: pretty;
}
.about .wrapper-content-about .color-white {
  color: white;
  font-size: var(--fs-500);
}

.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: contain;
}

.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;
}

/* Individual post page  ---------------------------------------------- */
.post-main-image img {
  object-position: center top;
  object-fit: cover;
  max-width: 100%;
  max-height: 30svh;
}

.post-title {
  margin: 2rem;
  text-align: center;
  text-wrap: balance;
  line-height: 1.5;
}

.post-meta {
  text-align: center;
}

.post-intro {
  max-width: 65ch;
  margin: 1rem auto;
  text-wrap: auto;
}

/* בלוקים/רשימות בתוך התוכן */
.post-body {
  display: grid;
  gap: 1rem;
  max-width: 65ch;
}
.post-body h2 {
  text-align: center;
  text-wrap: pretty;
}
.post-body ul {
  padding: 0;
  list-style: none;
}
.post-body ul li {
  padding: 0.5rem;
  max-width: 90%;
  margin: auto;
}
.post-body ul li::marker {
  content: "← ";
  font-size: var(--fs-500);
}
.post-body ol {
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  justify-items: center;
}
.post-body ol li {
  counter-increment: step;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
  overflow: hidden;
  text-wrap: balance;
  padding: 1rem 4.1rem 1rem 0;
  z-index: 1;
}
.post-body ol li::before {
  content: counter(step) " |";
  position: absolute;
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--primary);
  top: 50%;
  right: 0.1em;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}
.post-body p:last-of-type {
  text-align: center;
  text-wrap: pretty;
  margin-bottom: 2rem;
}

.post-tags {
  margin-bottom: 2rem;
}
.post-tags h3 {
  text-align: center;
}
.post-tags ul {
  display: flex;
  gap: 1rem;
  font-size: var(--fs-300);
  justify-content: center;
}

/* גלריה */
.post-gallery img {
  max-height: 40svh;
  min-width: 80svw;
  object-fit: cover;
}

.services-grid {
  display: grid;
  gap: 2rem;
  padding: 2rem 0;
}

.service-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--light-brown);
  text-align: center;
}
.service-card .service-actions {
  display: grid;
  gap: 1rem;
}

.service-image img {
  border-radius: var(--border-radius);
  margin: 0 auto 1rem auto;
}

.service-meta {
  list-style: none;
  padding: 0;
  margin: 1rem auto;
  text-align: center;
  line-height: 1.8;
}

.service-body {
  margin-top: 2rem;
  max-width: 70ch;
  margin-inline: auto;
}

.service-page {
  display: grid;
  gap: 2rem;
  justify-content: center;
  grid-template-areas: "title" "image" "summary" "meta" "body" "certificates" "feedback";
  /* אזורים */
  /* עיצוב בסיסי */
}
.service-page .section-title {
  grid-area: title;
}
.service-page .lead {
  grid-area: summary;
  text-align: center;
}
.service-page .service-image {
  grid-area: image;
}
.service-page .service-meta {
  grid-area: meta;
}
.service-page .service-body {
  grid-area: body;
}
.service-page .feedback {
  grid-area: feedback;
}
.service-page .service-certificates {
  grid-area: certificates;
}
.service-page .service-meta {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}
.service-page .service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.gallery {
  text-align: center;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  text-align: center;
  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;
}

.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;
}

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

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

.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);
}

.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 {
  outline-color: var(--primary);
  outline-offset: 0.25rem;
  background-color: var(--dark-brown);
  color: white;
}
.feedback-summary::-webkit-details-marker {
  display: none;
}
.feedback-summary::before {
  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: 0.3em;
}

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

.price-page {
  display: grid;
  gap: 1rem;
}
.price-page h2,
.price-page h3 {
  max-inline-size: 55ch;
  text-align: center;
  line-height: 1.5;
  margin: 1rem auto;
}

/* ==== רשימת כרטיסים === */
.price-table {
  display: grid;
  gap: 1.5rem;
}

/* ====  כרטיס טיפול  === */
.price-info {
  grid-area: info;
  text-align: center;
}

.price-options {
  grid-area: options;
}

.actions {
  grid-area: actions;
  align-self: flex-start;
}

.price-row {
  border: 2px solid var(--secondary);
  padding: 2rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  grid-template-areas: "info" "options" "actions";
}

/* ============================================================
   טבלת מחירים פנימית
   ============================================================ */
.price-options-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.price-options-table td {
  padding: 0.35rem 0.25rem;
  vertical-align: middle;
}
.price-options-table .price {
  font-weight: bold;
  text-align: left;
}
.price-options-table .note {
  font-size: 0.85rem;
  opacity: 0.75;
  padding-top: 0;
}

/* fallback row */
.price-option-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.price-option-row .price {
  font-weight: bold;
}

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

/*  Homepage   */
.home-main {
  margin-top: 2rem;
}

.hero-grid {
  display: grid;
  row-gap: 2rem;
  grid-template-columns: 1fr;
  grid-template-areas: "img" "content" "cta";
  margin: 0;
}

/* שמות לכל אזור */
.hero-img {
  grid-area: img;
  width: fit-content;
}
.hero-img img {
  border-radius: 0;
  margin: 0;
}

.hero-content {
  grid-area: content;
}
.hero-content p {
  max-inline-size: 45ch;
  margin: 2rem auto;
  text-wrap: pretty;
}

.hero-cta {
  grid-area: cta;
}

.home-blog .posts {
  padding: 2rem 0;
  display: grid;
  gap: 2rem;
}

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

/* ===== INFO BAR ===== */
.info-bar-wrapper {
  margin-block: 1.5rem;
}

.info-bar {
  background-color: var(--neutral);
  color: black;
  border-radius: var(--border-radius, 1rem);
  padding: 1rem 3rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* פריט יחיד בפס */
.info-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding-block: 0.5rem;
  border-top: 1px solid rgba(11, 11, 11, 0.4);
}
.info-item:first-child {
  border-top: none;
}

.info-text {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.info-value {
  font-weight: 600;
  color: var(--accent, #a45a2a);
}

.info-icon {
  font-size: 1.6rem;
  width: 2rem;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  text-align: center;
  background-color: #f0f0f0;
  color: var(--dark-color);
  border: 1px solid #ccc;
  border-radius: 0.3rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  min-width: clamp(30svw, 70svw, 50%);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
  padding-block-end: 1rem;
  text-wrap: balance;
  margin-block-end: 5rem;
  transition: display 0.5s;
}
.cookie-consent img {
  justify-content: center;
  object-fit: contain;
  max-width: 20svw;
  max-height: 20svw;
}
.cookie-consent button {
  min-width: 50svw;
  height: 3rem;
}
.cookie-consent .color-light {
  color: var(--light-color);
}
.cookie-consent .flex-column {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-direction: column;
}
.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(--primary);
  font-weight: 700;
}
.cookie-consent .btn-reject {
  background-color: var(--secondary);
  color: var(--dark-color);
  border-color: inherit;
}
.cookie-consent .btn-reject:hover,
.cookie-consent .btn-reject:focus-visible {
  background-color: var(--red);
  color: var(--light-color);
  font-weight: 700;
}

@media (prefers-color-scheme: light) {
  .html {
    color: var(--dark-color);
    background-color: var(--red);
  }
}
@media (prefers-color-scheme: dark) {
  html {
    color: var(--light-color);
    background-color: var(--dark-color);
  }
  .cookie-consent p {
    color: var(--dark-color);
  }
  .site-footer .social {
    color: var(--cream);
  }
  .copyright {
    color: var(--cream);
  }
  .btn--back {
    border: 2px dashed var(--cream);
  }
  .about,
  .shipping-container select,
  .shipping-method,
  .modal-message {
    color: var(--dark-color);
  }
}
@media (min-width: 45em) {
  header.page-header .nav-list {
    flex-direction: row;
    min-height: 5svh;
  }
  .hamburger-menu {
    opacity: 0;
    width: 0;
  }
  .sidebar {
    padding: 1.5em;
    translate: 0;
    width: auto;
    min-height: max-content;
    background-color: inherit;
  }
  a[class=nav-item] {
    color: black;
  }
  .hero-grid {
    grid-template-columns: 1fr auto;
    grid-template-areas: "content img" "cta img";
    align-items: center;
    padding: 2rem;
  }
  /* ===== INFO BAR ===== */
  .info-bar {
    padding: 1rem 2rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1rem;
    max-width: 100%;
    justify-items: center;
  }
  .info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    /* אין קו בפריט הראשון */
    border: none;
    padding-inline-start: 1rem;
  }
  /* החל מהפריט השני והלאה – קו הקדמי */
  .info-item:not(:first-child) {
    border-inline-start: 1px solid rgba(8, 8, 8, 0.4);
  }
  .top-background {
    background-size: contain;
  }
  .svg-title {
    min-height: 20ch;
  }
  .flex-group {
    justify-content: space-evenly;
  }
  .faq-answer {
    text-align: center;
    margin: auto;
    width: 80svw;
  }
  img {
    width: auto;
    object-fit: cover;
    margin-right: auto;
    margin-left: auto;
    transition: scale 1s linear;
  }
  img:hover {
    opacity: 0.9;
  }
  ol li {
    grid-template-columns: 50svw;
  }
  .scroll-x {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 1rem;
  }
  .gallery-image {
    min-width: 15svw;
    max-width: 15svw;
  }
  /* אפקט hover */
  .gallery-item img:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .cookie-consent img {
    width: 10svw;
    height: 10svw;
  }
  .services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .service-page {
    grid-template-columns: 1fr 2fr;
    grid-template-areas: "title   title" "image summary" "image   meta" "image    body" "certificates certificates" "feedback feedback";
  }
  .service-image img {
    max-width: 30svw;
  }
  /* form */
  #form {
    padding: 2rem;
    text-align: center;
  }
  #form .text-fields {
    justify-content: center;
    grid-template-areas: "name     phone    email" "message  message  message" "submit   submit   submit ";
    padding: 1rem 0;
  }
  #form input:invalid,
  #form textarea:invalid {
    min-height: 2rem;
    border-radius: inherit;
  }
  /* צור קשר */
  .contact {
    flex-direction: row-reverse;
    min-height: 60svh;
    align-items: center;
  }
  /* form */
  .form-section {
    min-width: 50svw;
  }
  .post-card {
    display: grid;
    grid-template-areas: "post-card-meta post-card-meta" "post-card-title 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;
    max-width: 50%;
  }
  .post-card-img {
    aspect-ratio: 1;
    object-fit: cover;
  }
  .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;
  }
  .tags-list .btn-tag {
    min-width: 10ch;
  }
  .tags-list {
    grid-template: auto/auto auto auto auto;
  }
  .faq-question {
    width: 80svw;
  }
  .about .wrapper-content-about {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .about .wrapper-content-about img {
    height: 350px;
    aspect-ratio: auto;
  }
  .about .wrapper-content-about p {
    max-width: 45ch;
    text-align: right;
  }
  .service-certificates .accordion .scroll-images img,
  .about-certificates .accordion .scroll-images img {
    max-width: 15svw;
  }
  .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-width: 20svw;
    min-height: 2rem;
    border-radius: inherit;
  }
  .feedback-card {
    min-width: 20svw;
  }
  /* ====  מחירון  === */
  .price-table {
    grid-template-columns: 1fr 1fr;
  }
  .price-row {
    display: grid;
    grid-template-columns: minmax(0, 2.5fr) auto;
    grid-template-areas: "info info" "options actions";
    column-gap: 1rem;
    row-gap: 0.75rem;
  }
}
@media (min-width: 35em) {
  :root {
    --fs-300: 1rem;
    --fs-400: 1.125rem;
    --fs-500: 1.5rem;
    --fs-600: 2.25rem;
    --fs-700: 3rem;
  }
}
