/* NILĀ Aesthetics — warm luxury palette (treatment reference) */
:root {
  --bg-page: #fdf9f6;
  --bg-card: #f4efea;
  --bg-badge: #ebe3db;
  --text: #5d4037;
  --text-muted: #8d6f63;
  --accent-title: #a67c52;
  --btn: #7d5e4d;
  --btn-hover: #6a4f40;
  --white: #fff;
  --shadow: 0 12px 40px rgba(93, 64, 55, 0.08);
  --radius-lg: 24px;
  --radius-md: 14px;
  --font-sans: "Assistant", system-ui, sans-serif;
  --font-display: "Assistant", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
  font-weight: 400;
}

strong,
b {
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--btn);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

/* —— Top bar —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(93, 64, 55, 0.06);
}

/* לוגו משמאל, המבורגר מימין — סרגל כותרת ב־LTR, תוכן עברית בתוך רכיבים */
.header-inner {
  direction: ltr;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.nav-links--desktop {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: center;
  align-items: center;
  max-width: 52rem;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 70;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.nav-toggle:hover {
  background: var(--bg-badge);
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 0 auto;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease, top 0.35s ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.nav-toggle__bars::before {
  top: -7px;
}

.nav-toggle__bars::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(45, 32, 28, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 65;
}

.nav-drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--bg-page);
  box-shadow: -16px 0 48px rgba(93, 64, 55, 0.12);
  z-index: 66;
  padding: 5.5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer a {
  display: block;
  padding: 0.85rem 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(93, 64, 55, 0.08);
  transition: color 0.2s ease, padding-inline-start 0.25s ease;
}

.nav-drawer a:hover {
  color: var(--btn);
  padding-inline-start: 0.35rem;
  text-decoration: none;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .nav-links--desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 901px) {
  .nav-drawer,
  .nav-drawer-backdrop {
    display: none !important;
  }
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  text-decoration: none;
}

.logo__img {
  height: clamp(26px, 4.2vw, 34px);
  width: auto;
  max-width: min(160px, 42vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}

.logo small {
  display: block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.section-title--with-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.65rem;
}

.logo-img--section {
  height: 1.35em;
  width: auto;
  max-height: 2.75rem;
  display: block;
  object-fit: contain;
}

.site-footer__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.35rem;
}

.logo-img--footer {
  height: 1.2em;
  width: auto;
  max-height: 1.35rem;
  display: block;
  object-fit: contain;
}

.nav-links a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--btn);
}

/* —— Hero —— */
.hero {
  padding: 3rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .hero-media {
    order: -1;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent-title);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 36ch;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-media {
  position: relative;
}

.hero-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  width: 100%;
  display: block;
  /* רוחב כמו עמודת הגריד — גובה יותר אנכי מתמונת ריבוע (התמונה ממלאת עם cover) */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .hero-photo {
    width: min(100%, 420px);
    max-height: min(88vh, 560px);
    aspect-ratio: 4 / 5;
    margin-inline: auto;
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

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

.btn-primary:hover {
  background: var(--btn-hover);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--btn);
  border: 2px solid var(--btn);
}

.btn-outline:hover {
  background: var(--bg-card);
  text-decoration: none;
}

/* —— Sections —— */
section[id] {
  scroll-margin-top: 5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background: linear-gradient(180deg, #faf6f2 0%, var(--bg-page) 100%);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.section-title em {
  font-style: normal;
  color: var(--accent-title);
}

.section-title__secondary {
  display: inline-block;
  margin-top: 0.2em;
  font-weight: 500;
  font-size: 0.88em;
  color: var(--text-muted);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

/* —— About —— */
.about-hero {
  margin: 0 auto 2rem;
  max-width: min(440px, 92vw);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
}

.about-readmore-btn {
  margin-top: 1rem;
}

.about-readmore-panel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(93, 64, 55, 0.1);
  animation: about-readmore-open 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-readmore-panel:not([hidden]) + .about-readmore-btn {
  margin-top: 1.25rem;
}

.about-readmore-panel[hidden] {
  display: none;
}

@keyframes about-readmore-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* דסקטופ / טאבלט רחב: הגריד היה 2 עמודות אבל יש רק טקסט — ממורכז כמו הכותרות (מובייל נשאר כפי שהיה) */
@media (min-width: 801px) {
  #about .about-grid {
    grid-template-columns: 1fr;
    max-width: min(42rem, 100%);
    margin-inline: auto;
  }
}

.about-text p {
  margin: 0 0 1rem;
}

.prose-strong {
  font-weight: 700;
  color: var(--text);
}

/* —— Treatment cards —— */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 960px) {
  .cards-3 {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

.card-treatment {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-treatment h3 {
  margin: 0;
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.card-tagline {
  color: var(--accent-title);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.card-treatment p {
  margin: 0;
  flex: 1;
  font-size: 0.98rem;
}

.card-badge {
  background: var(--bg-badge);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-treatment .btn {
  width: 100%;
  margin-top: 0.25rem;
}

/* —— Brands —— */
.brands-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  align-items: center;
}

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

/* —— Testimonials —— */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.quote-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.quote-card blockquote {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

.quote-card figcaption {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-shot {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* —— Consultation —— */
.consult-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.25rem;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin-inline: auto;
}

.consult-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent-title);
  margin: 0.5rem 0 1rem;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.benefits-list li {
  padding-inline-start: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.benefits-list li::before {
  content: "✓";
  position: absolute;
  right: 0;
  color: var(--btn);
  font-weight: 700;
}

.note-small {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* —— Accordion (bot flow) —— */
.accordion {
  max-width: 720px;
  margin-inline: auto;
}

.accordion details {
  background: var(--white);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.accordion summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion .acc-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--bg-badge);
}

.bot-steps {
  white-space: pre-wrap;
  font-family: var(--font-sans);
  line-height: 1.8;
  margin: 0;
}

/* —— Contact strip —— */
.contact-strip {
  text-align: center;
  padding: 2.5rem 0 4rem;
}

.contact-strip p {
  margin: 0.35rem 0;
}

.phone-link {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

/* —— Footer —— */
.site-footer {
  padding: 1.5rem 0 6rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(93, 64, 55, 0.08);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
}

.site-footer__nav a {
  color: var(--btn);
  font-weight: 600;
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__sep {
  color: rgba(93, 64, 55, 0.35);
  user-select: none;
}

/* —— Floating: נגישות משמאל, רשתות מימין (פיזית במסך) —— */
.float-a11y-wrap {
  position: fixed;
  z-index: 62;
  left: 16px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.float-a11y-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0 14px 0 12px;
  border: none;
  border-radius: 999px;
  background: var(--btn);
  color: var(--white);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(93, 64, 55, 0.25);
  transition: transform 0.15s ease, background 0.2s ease;
}

.float-a11y-btn:hover {
  background: var(--btn-hover);
  transform: scale(1.03);
}

.float-a11y-btn__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.a11y-panel {
  width: min(calc(100vw - 2.5rem), 300px);
  padding: 1rem 1.1rem 1.15rem;
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(45, 32, 28, 0.2);
  border: 1px solid rgba(93, 64, 55, 0.12);
  direction: rtl;
  text-align: right;
}

.a11y-panel[hidden] {
  display: none !important;
}

.a11y-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.a11y-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-title);
}

.a11y-panel__close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.a11y-panel__intro {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.a11y-panel__options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.a11y-option {
  display: block;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(93, 64, 55, 0.15);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.a11y-option:hover {
  background: var(--bg-card);
}

.a11y-option.is-on {
  background: rgba(125, 94, 77, 0.12);
  border-color: var(--btn);
  color: var(--btn);
}

.a11y-panel__reset {
  margin-top: 0.85rem;
  width: 100%;
  padding: 0.55rem;
  border: 1px dashed rgba(93, 64, 55, 0.35);
  border-radius: var(--radius-md);
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.a11y-panel__reset:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

/* —— Floating socials —— */
.float-social {
  position: fixed;
  z-index: 60;
  right: 16px;
  left: auto;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-social a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(93, 64, 55, 0.2);
  transition: transform 0.15s;
}

.float-social a:hover {
  transform: scale(1.06);
  text-decoration: none;
}

.float-wa {
  background: #25d366;
}

.float-ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.float-social svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

@media (max-width: 480px) {
  .float-social {
    right: 10px;
    bottom: 14px;
  }

  .float-social a {
    width: 48px;
    height: 48px;
  }

  .float-a11y-wrap {
    left: 10px;
    bottom: 14px;
  }

  .float-a11y-btn {
    min-height: 48px;
    padding: 0 12px 0 10px;
    font-size: 0.82rem;
  }

  .float-a11y-btn__text {
    display: none;
  }

  .float-a11y-btn {
    padding: 0;
    width: 48px;
    height: 48px;
    justify-content: center;
    border-radius: 50%;
  }
}

/* User asked for luxury — optional muted WA: override to brown */
.float-social .float-wa.luxury-wa {
  background: var(--btn);
}

/* —— Popup —— */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 32, 28, 0.45);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.popup-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.popup-box {
  background: var(--bg-page);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 400px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.popup-close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--bg-card);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text);
}

.popup-box h2 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.popup-box p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal--delay {
  transition-delay: 0.1s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— Stats —— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(93, 64, 55, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(93, 64, 55, 0.12);
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.65rem);
  color: var(--accent-title);
  margin: 0 0 0.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.stat-label {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* —— Brands marquee (לולאה אינסופית — שתי סטים זהים, ‎-50%‎) —— */
.brands-marquee {
  overflow: hidden;
  padding-block: 0.35rem;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.brands-marquee__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  width: max-content;
  animation: brands-scroll 32s linear infinite;
  will-change: transform;
}

.brand-orb {
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(93, 64, 55, 0.1), 0 0 0 1px rgba(93, 64, 55, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.brand-orb:hover {
  transform: scale(1.06);
  box-shadow: 0 14px 40px rgba(93, 64, 55, 0.14), 0 0 0 1px rgba(93, 64, 55, 0.08);
}

.brand-orb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 480px) {
  .brand-orb {
    width: 108px;
    height: 108px;
    padding: 0.75rem;
  }
}

@keyframes brands-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* —— Reviews carousel —— */
.section-reviews {
  background: linear-gradient(180deg, var(--bg-page) 0%, #faf6f2 45%, var(--bg-page) 100%);
}

.reviews-carousel,
.results-carousel {
  position: relative;
  max-width: 920px;
  margin-inline: auto;
  padding: 0 2.75rem;
}

.reviews-carousel__viewport,
.results-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius-lg);
  direction: ltr;
  box-shadow: 0 20px 60px rgba(93, 64, 55, 0.1);
  transition: height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.reviews-carousel__track,
.results-carousel__track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.reviews-carousel__slide,
.results-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  align-self: flex-start;
  box-sizing: border-box;
}

.review-slide-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  min-height: 320px;
  background: var(--bg-card);
  direction: rtl;
}

@media (max-width: 768px) {
  .review-slide-inner:not(.review-slide-inner--visual-only) {
    grid-template-columns: 1fr;
  }
}

.review-slide-inner--visual-only {
  grid-template-columns: 1fr;
  min-height: 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
}

.review-slide-visual {
  background: #ebe6e1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.review-slide-inner--visual-only .review-slide-visual {
  background: #1e1e20;
  padding: clamp(0.65rem, 1.8vw, 1rem);
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

.review-slide-visual img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.review-slide-visual--solo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(78vh, 580px);
  object-fit: contain;
  object-position: center;
  border-radius: 12px;
}

.review-slide-quote {
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.review-slide-quote blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
}

.review-slide-caption {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.reviews-carousel__prev,
.reviews-carousel__next,
.results-carousel__prev,
.results-carousel__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: var(--white);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.reviews-carousel__prev:hover,
.reviews-carousel__next:hover,
.results-carousel__prev:hover,
.results-carousel__next:hover {
  background: var(--btn);
  color: var(--white);
  transform: translateY(-50%) scale(1.04);
}

.reviews-carousel__prev,
.results-carousel__prev {
  left: 0;
}

.reviews-carousel__next,
.results-carousel__next {
  right: 0;
}

.reviews-carousel__dots,
.results-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.reviews-carousel__dot,
.results-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(93, 64, 55, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.reviews-carousel__dot.is-active,
.results-carousel__dot.is-active {
  background: var(--btn);
  transform: scale(1.25);
}

@media (max-width: 520px) {
  .reviews-carousel,
  .results-carousel {
    padding: 0 2.25rem;
  }

  .reviews-carousel__prev,
  .reviews-carousel__next,
  .results-carousel__prev,
  .results-carousel__next {
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }
}

.section-results .review-slide-inner--visual-only .review-slide-visual {
  background: transparent;
  padding: 0;
}

.section-results .results-carousel__viewport {
  box-shadow: none;
}

/* —— Social follow (לאחר סקשן ייעוץ; בעבר מתחת לביקורות) —— */
.social-follow {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(93, 64, 55, 0.1);
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

#social-follow .social-follow {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.social-follow__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin: 0 0 0.5rem;
  color: var(--text);
}

.social-follow__title em {
  font-style: normal;
  color: var(--accent-title);
}

.social-follow__sub {
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.social-follow__icons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.25rem;
}

.social-follow__icons li {
  margin: 0;
}

.social-follow__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--white);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
}

.social-follow__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(93, 64, 55, 0.18);
  text-decoration: none;
  color: var(--white);
}

.social-follow__btn--ig {
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.social-follow__btn--tt {
  background: #000;
}

.social-follow__btn svg {
  flex-shrink: 0;
}

.social-follow__video-wrap {
  display: block;
  margin-top: 0;
  margin-bottom: 1.5rem;
  margin-inline: auto;
  max-width: min(100%, 400px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #141010;
}

.social-follow__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: min(72vh, 640px);
  object-fit: cover;
}

/* —— Micro-interactions —— */
.card-treatment,
.quote-card {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.card-treatment:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(93, 64, 55, 0.12);
}

.btn {
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(125, 94, 77, 0.35);
}

.section-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin: -1.25rem auto 2rem;
  line-height: 1.55;
}

/* —— Gallery —— */
.section-gallery {
  background: linear-gradient(180deg, var(--bg-page) 0%, #faf8f5 50%, var(--bg-page) 100%);
}

.gallery-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
}

.gallery-grid__item {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 0;
}

.gallery-grid__item--wide {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery-grid__item--tall {
  grid-column: span 5;
  grid-row: span 3;
}

@media (max-width: 900px) {
  .gallery-grid__item,
  .gallery-grid__item--wide,
  .gallery-grid__item--tall {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 220px;
  }
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 0;
  border: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-badge);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.gallery-tile:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 56px rgba(93, 64, 55, 0.14);
}

.gallery-tile:focus-visible {
  outline: 3px solid var(--accent-title);
  outline-offset: 3px;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-tile:hover img {
  transform: scale(1.04);
}

.gallery-tile__label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(0deg, rgba(45, 32, 28, 0.75) 0%, transparent 100%);
  text-align: right;
  direction: rtl;
}

/* —— CTA banner —— */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 2.75rem 0;
  background: linear-gradient(115deg, #4a342c 0%, #6b4f42 42%, #8b6a52 100%);
  color: var(--white);
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  direction: rtl;
  text-align: right;
}

.cta-banner__copy {
  flex: 1;
  min-width: min(100%, 280px);
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
  line-height: 1.25;
}

.cta-banner__title em {
  font-style: normal;
  color: #f0d9c4;
}

.cta-banner__lead {
  margin: 0;
  font-size: 1.05rem;
  opacity: 0.92;
  line-height: 1.6;
  max-width: 40ch;
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta-banner .btn-primary {
  background: #fdf9f6;
  color: #4a342c;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.cta-banner .btn-primary:hover {
  background: #fff;
  color: #3d2b24;
  text-decoration: none;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  text-decoration: none;
}

/* —— Lightbox —— */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 20, 18, 0.82);
  cursor: pointer;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  inset-inline-start: 1rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.lightbox__close:hover {
  transform: scale(1.05);
  background: var(--white);
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
}

.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .brands-marquee__inner {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
  }

  .brands-marquee__inner .brand-orb:nth-child(n + 4) {
    display: none;
  }

  .brand-orb:hover {
    transform: none;
  }

  .reviews-carousel__track,
  .results-carousel__track {
    transition: none;
  }

  .reviews-carousel__viewport,
  .results-carousel__viewport {
    transition: none;
  }

  .about-readmore-panel {
    animation: none;
  }

  .lightbox {
    transition: none;
  }

  .gallery-tile:hover,
  .gallery-tile:hover img {
    transform: none;
  }

  .card-treatment:hover,
  .stat-card:hover {
    transform: none;
  }

  .consult-chat-bubble--typing span {
    animation: none;
  }
}

/* —— Consult chat bot + bottom banner —— */
.consult-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  align-items: center;
}

.consult-banner {
  position: fixed;
  z-index: 88;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(253, 249, 246, 0) 0%, rgba(244, 239, 234, 0.97) 28%, #f4efea 100%);
  border-top: 1px solid rgba(93, 64, 55, 0.1);
  box-shadow: 0 -10px 40px rgba(93, 64, 55, 0.08);
}

.consult-banner__inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.consult-banner__cta {
  flex-shrink: 0;
  box-shadow: var(--shadow);
}

.consult-banner__note {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.45;
  max-width: 36rem;
}

body.has-consult-bar .float-social {
  bottom: calc(7.1rem + env(safe-area-inset-bottom, 0px));
}

body.has-consult-bar .float-a11y-wrap {
  bottom: calc(7.1rem + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 480px) {
  body.has-consult-bar .float-social {
    bottom: calc(6.85rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-consult-bar .float-a11y-wrap {
    bottom: calc(6.85rem + env(safe-area-inset-bottom, 0px));
  }
}

body.has-consult-bar .site-footer {
  padding-bottom: calc(6rem + 52px);
}

body.consult-chat-open {
  overflow: hidden;
}

.consult-chat-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(45, 32, 28, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.consult-chat-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 560px) {
  .consult-chat-overlay {
    align-items: center;
    padding: 1rem;
  }
}

.consult-chat-panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: min(92vh, 720px);
  background: var(--bg-page);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -16px 60px rgba(45, 32, 28, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.consult-chat-overlay.is-open .consult-chat-panel {
  transform: translateY(0);
}

@media (min-width: 560px) {
  .consult-chat-panel {
    border-radius: var(--radius-lg);
    max-height: min(88vh, 680px);
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
  }

  .consult-chat-overlay.is-open .consult-chat-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.consult-chat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid rgba(93, 64, 55, 0.08);
}

.consult-chat-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent-title);
}

.consult-chat-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.consult-chat-close:hover {
  background: var(--bg-badge);
}

.consult-chat-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 200px;
  max-height: 48vh;
}

@media (min-width: 560px) {
  .consult-chat-msgs {
    max-height: min(52vh, 420px);
  }
}

.consult-chat-msg {
  display: flex;
}

.consult-chat-msg--bot {
  justify-content: flex-start;
}

.consult-chat-msg--user {
  justify-content: flex-end;
}

.consult-chat-bubble {
  max-width: 92%;
  padding: 0.65rem 0.85rem;
  border-radius: 16px 16px 16px 6px;
  font-size: 0.95rem;
  line-height: 1.55;
  background: var(--bg-card);
  color: var(--text);
}

.consult-chat-msg--user .consult-chat-bubble {
  background: var(--btn);
  color: var(--white);
  border-radius: 16px 16px 6px 16px;
}

.consult-chat-bubble--typing {
  display: flex;
  gap: 5px;
  padding: 0.75rem 1rem;
}

.consult-chat-bubble--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  opacity: 0.35;
  animation: consult-typing 1s ease-in-out infinite;
}

.consult-chat-bubble--typing span:nth-child(2) {
  animation-delay: 0.18s;
}

.consult-chat-bubble--typing span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes consult-typing {
  0%,
  80%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 0.95;
    transform: translateY(-3px);
  }
}

.consult-chat-footer {
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid rgba(93, 64, 55, 0.08);
  background: rgba(253, 249, 246, 0.96);
}

.consult-chat-composer {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.consult-chat-sendrow {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.consult-chat-field {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(93, 64, 55, 0.15);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
  color: var(--text);
}

.consult-chat-field--date {
  min-height: 2.75rem;
}

.consult-chat-field--area {
  resize: vertical;
  min-height: 4.5rem;
}

.consult-chat-send {
  align-self: stretch;
}

.consult-chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.consult-chat-chip {
  flex: 1 1 auto;
  min-width: 5rem;
  text-align: center;
}

.consult-chat-chip--solo {
  width: 100%;
}

.consult-chat-files {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.consult-chat-files-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.consult-chat-fileinput {
  font-size: 0.88rem;
}

.consult-chat-submit-all {
  width: 100%;
}

.consult-chat-done {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.consult-chat-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* —— דפים משפטיים —— */
.legal-back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: var(--btn);
}

.legal-page {
  padding: 2rem 0 4rem;
  max-width: 42rem;
  margin-inline: auto;
  line-height: 1.75;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--accent-title);
  margin: 0 0 2rem;
}

.legal-page article {
  margin-bottom: 2.75rem;
  scroll-margin-top: 5rem;
}

.legal-page article h2 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 0 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(93, 64, 55, 0.12);
}

.legal-page p,
.legal-page li {
  font-size: 0.98rem;
  color: var(--text);
}

.legal-page ul {
  padding-inline-start: 1.25rem;
  margin: 0.5rem 0 1rem;
}

/* —— התאמות נגישות (מופעלות מ־JS) —— */
html.a11y-font-large {
  font-size: 118%;
}

body.a11y-high-contrast {
  --text: #1a0f08;
  --text-muted: #3d2a20;
  --bg-page: #fffdf9;
  --bg-card: #f2ebe4;
  --accent-title: #5c3d24;
  --btn: #3d2818;
  --btn-hover: #2a1a10;
}

body.a11y-links-underline a[href] {
  text-decoration: underline !important;
}

body.a11y-links-underline a.btn,
body.a11y-links-underline a.logo,
body.a11y-links-underline .float-a11y-btn,
body.a11y-links-underline .nav-toggle,
body.a11y-links-underline .gallery-tile,
body.a11y-links-underline .consult-chat-close,
body.a11y-links-underline .lightbox__close,
body.a11y-links-underline .popup-close,
body.a11y-links-underline .a11y-panel__close {
  text-decoration: none !important;
}

body.a11y-reduce-motion *,
body.a11y-reduce-motion *::before,
body.a11y-reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
