/* ─── בורסה פון — עיצוב בסגנון SITE123 (צבעי המותג נשמרים) ── */
.page-landing {
  font-family: var(--font);
  background: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  min-height: 100vh;
  transition: var(--theme-transition);
}

/* עוגני גלילה — אלמנטים בלתי נראים, ללא transform, לניווט בתפריט */
.scroll-anchor {
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
  scroll-margin-top: var(--site-header-offset);
}

.page-landing #top,
.page-landing #about,
.page-landing #services,
.page-landing #faq,
.page-landing #contact {
  scroll-margin-top: var(--site-header-offset);
}

.page-landing main {
  position: relative;
  z-index: 2;
}

.page-landing .landing-header {
  z-index: 110;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    backdrop-filter 0.3s ease,
    -webkit-backdrop-filter 0.3s ease,
    color 0.3s ease;
}

.page-landing .landing-header:not(.scrolled) {
  background: var(--header-hero-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--header-hero-border);
  box-shadow: var(--header-hero-inset-shadow);
}

.page-landing .landing-header.scrolled {
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 var(--border), var(--shadow-soft);
}

[data-theme="light"] .page-landing .landing-header.scrolled {
  background: rgba(255, 251, 245, 0.98);
}

/* תפריט על גבי ה-Hero — צבעים דרך משתני theme */
.page-landing .landing-header:not(.scrolled) .header-nav a,
.page-landing .landing-header:not(.scrolled) .nav-dropdown-trigger {
  color: var(--header-hero-text);
  transition: var(--theme-transition);
}

.page-landing .landing-header:not(.scrolled) .header-nav a:hover,
.page-landing .landing-header:not(.scrolled) .header-nav a.is-active,
.page-landing .landing-header:not(.scrolled) .nav-dropdown:hover .nav-dropdown-trigger,
.page-landing .landing-header:not(.scrolled) .nav-dropdown.is-open .nav-dropdown-trigger {
  color: var(--header-hero-text-strong);
}

.page-landing .landing-header:not(.scrolled) .logo-link,
.page-landing .landing-header:not(.scrolled) .logo-name {
  color: var(--header-hero-text-strong);
  transition: var(--theme-transition);
}

.page-landing .landing-header:not(.scrolled) .logo-phone {
  color: var(--header-hero-text-muted);
  transition: var(--theme-transition);
}

.page-landing .landing-header:not(.scrolled) .theme-toggle-btn {
  border-color: var(--header-hero-toggle-border);
  color: var(--header-hero-text);
  transition: var(--theme-transition);
}

.page-landing .landing-header:not(.scrolled) .theme-toggle-btn:hover {
  border-color: var(--header-hero-text-strong);
  color: var(--header-hero-text-strong);
  background: var(--header-hero-toggle-hover-bg);
}

.page-landing .landing-header:not(.scrolled) .menu-toggle span {
  background: var(--header-hero-menu-bar);
  transition: var(--theme-transition);
}

/* ─── Hero — רקע קבוע ב-viewport, נכבה בגלילה ── */
@keyframes hero-bg-fade {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
  will-change: opacity;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-image: radial-gradient(
    circle clamp(620px, 98vw, 1180px) at 50% 0%,
    #000 0%,
    #000 62%,
    rgba(0, 0, 0, 0.45) 86%,
    transparent 100%
  );
  mask-image: radial-gradient(
    circle clamp(620px, 98vw, 1180px) at 50% 0%,
    #000 0%,
    #000 62%,
    rgba(0, 0, 0, 0.45) 86%,
    transparent 100%
  );
}

html.scroll-fx-native .page-landing .hero-bg {
  animation: hero-bg-fade linear both;
  animation-timeline: scroll(root);
  animation-range: 0 var(--hero-fade-end, 92vh);
}

/* Responsive <picture> wrappers — pass layout through to inner <img> */
.hero-bg picture,
.about-showcase-bg picture,
.service-slide-media picture,
.how-visual-window picture,
.how-fixed-pane-inner picture {
  display: contents;
}

.hero-bg .hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: brightness(var(--hero-img-brightness)) saturate(var(--hero-img-saturate));
  opacity: var(--hero-img-opacity);
  transform: scale(1.06);
  transition: var(--theme-transition);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle clamp(520px, 84vw, 980px) at 50% 0%,
      var(--hero-overlay-dome) 0%,
      var(--hero-overlay-dome) 42%,
      var(--hero-overlay-base) 100%
    ),
    radial-gradient(ellipse 52% 38% at 50% 32%, var(--hero-overlay-brand-glow) 0%, transparent 72%),
    radial-gradient(ellipse 95% 80% at 50% 48%, transparent 18%, var(--hero-overlay-vignette) 100%),
    linear-gradient(
      180deg,
      transparent 0%,
      transparent 32%,
      color-mix(in srgb, var(--hero-overlay-base) 55%, transparent) 72%,
      var(--hero-overlay-base) 100%
    );
  -webkit-backdrop-filter: blur(var(--hero-overlay-blur));
  backdrop-filter: blur(var(--hero-overlay-blur));
  pointer-events: none;
  transition: var(--theme-transition);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    circle clamp(660px, 102vw, 1220px) at 50% 0%,
    transparent 0%,
    transparent 72%,
    rgba(0, 0, 0, 0.08) 100%
  );
  pointer-events: none;
}

/* ─── Layout ─────────────────────────────────────────── */
.section-inner {
  max-width: var(--layout-max, 1140px);
  margin: 0 auto;
  padding-inline: var(--section-px, clamp(1.25rem, 4vw, 2.5rem));
}

.section {
  position: relative;
  z-index: 2;
  padding: var(--section-py, clamp(4rem, 8vw, 6.5rem)) 0;
}

/* מסכים רחבים — מקטע בגובה האזור שמתחת להדר, תוכן ממורכז */
@media (min-width: 901px) {
  .page-landing .about-section,
  .page-landing .services-section,
  .page-landing .faq-section,
  .page-landing .contact-section {
    box-sizing: border-box;
    min-height: calc(100svh - var(--site-header-offset));
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-margin-top: var(--site-header-offset);
    padding-block: clamp(3.5rem, 7vh, 5.5rem);
  }

  .page-landing .services-section .section-inner,
  .page-landing .about-section .section-inner,
  .page-landing .faq-section .section-inner,
  .page-landing .contact-section .section-inner {
    width: 100%;
  }
}

.section-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-color);
  transition: var(--theme-transition);
}

.section-divider {
  width: min(80px, 18vw);
  margin: 0 auto;
  border: none;
  border-top: 3px solid var(--brand);
  opacity: 0.85;
}

.section-divider-start {
  margin: 0 0 1.5rem;
}

/* ─── AOS-style scroll animations ────────────────────── */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition-delay: var(--aos-delay, 0ms);
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: none;
}

/* ─── Fly-up cards ───────────────────────────────────── */
.fly-up {
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.35s ease;
}

.fly-up:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .fly-up:hover {
  box-shadow: 0 14px 36px rgba(26, 20, 8, 0.12);
}

/* ─── Buttons ────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--brand);
  color: var(--accent-text, #0a0a0a);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  border: none;
  transition: background 0.2s, transform 0.2s, color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--brand-hover);
  color: var(--accent-text, #0a0a0a);
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary.btn-sm {
  font-size: 0.875rem;
  padding: 0.6rem 1.25rem;
}

.btn-primary.btn-lg {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  padding: 0.9rem 2rem;
}

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6.5rem var(--section-px) 4.5rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.hero-title {
  margin: 0 0 1.15rem;
  font-size: clamp(2.6rem, 7.5vw, 4.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-shadow: var(--hero-text-shadow);
  transition: var(--theme-transition);
}

.hero-title-brand {
  color: var(--brand);
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 45%, var(--brand-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 14px rgba(255, 184, 77, 0.45));
}

/* מצב בהיר — מיתאר דק סביב כל אות (לא מסגרת מלבנית על שתי המילים) */
[data-theme="light"] .hero-title-brand {
  display: inline;
  color: var(--brand);
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand) 48%, var(--brand-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.2px var(--brand-dark);
  paint-order: stroke fill;
  filter: none;
}

.hero-title-rest {
  color: var(--hero-title-rest-color);
  transition: var(--theme-transition);
}

.hero-subtitle {
  margin: 0 0 3.35rem;
  font-size: clamp(1.15rem, 2.8vw, 1.55rem);
  font-weight: 500;
  color: var(--hero-subtitle-color);
  line-height: 1.5;
  text-shadow: var(--hero-subtitle-shadow);
  transition: var(--theme-transition);
}

.hero-call-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.hero-call-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--hero-call-label-color);
  text-shadow: var(--hero-subtitle-shadow);
  transition: var(--theme-transition);
}

.btn-hero-call {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  padding: 1rem 2.25rem;
  min-width: min(100%, 340px);
  border-radius: 4px;
  box-shadow: var(--hero-btn-shadow);
  animation: heroPulse 3s ease-in-out infinite;
  transition: background 0.2s, transform 0.2s, color 0.3s ease, box-shadow 0.3s ease;
}

.btn-hero-call:hover {
  animation-play-state: paused;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

/* ─── About — תמונת רקע + כרטיס לבן מימין ───────────── */
.about-section {
  background: transparent;
  isolation: isolate;
}

.about-showcase {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: clamp(380px, 42vw, 500px);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-showcase-bg {
  grid-area: 1 / 1;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.about-showcase-bg img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: brightness(var(--about-img-brightness)) saturate(var(--about-img-saturate));
  transform: scale(1.04);
  transition: var(--theme-transition);
}

.about-showcase-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--about-overlay-start) 0%,
    var(--about-overlay-mid) 42%,
    var(--about-overlay-end) 100%
  );
  pointer-events: none;
  transition: var(--theme-transition);
}

.about-showcase-card {
  grid-area: 1 / 1;
  position: relative;
  z-index: 2;
  justify-self: start;
  align-self: center;
  width: min(48%, 520px);
  max-width: calc(100% - 2.5rem);
  margin-inline-start: clamp(1.25rem, 4.5vw, 2.75rem);
  margin-block: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 2.65rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  text-align: right;
}

[data-theme="light"] .about-showcase-card {
  box-shadow: 0 16px 44px rgba(26, 20, 8, 0.14);
}

.about-card-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.about-card-divider {
  width: min(64px, 16vw);
  height: 4px;
  margin: 0 0 1.35rem;
  border: none;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.92;
}

.about-text {
  margin: 0 0 1.1rem;
  font-size: clamp(1.02rem, 2.2vw, 1.15rem);
  line-height: 1.85;
  color: var(--text-soft);
}

.about-text:last-child {
  margin-bottom: 0;
}

/* ─── Services carousel ──────────────────────────────── */
.services-section {
  background: var(--bg);
  isolation: isolate;
  --service-slide-width: min(62vw, 640px);
  --service-slide-gap: clamp(1.25rem, 3vw, 2rem);
  --service-carousel-fade: clamp(28px, 5vw, 72px);
  --service-carousel-arrow-inset: clamp(0.65rem, 2.2vw, 1.15rem);
}

.services-carousel {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}

.services-carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--service-carousel-fade),
    #000 calc(100% - var(--service-carousel-fade)),
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 var(--service-carousel-fade),
    #000 calc(100% - var(--service-carousel-fade)),
    transparent 100%
  );
}

.services-carousel-track {
  display: flex;
  flex-direction: row;
  direction: ltr;
  align-items: center;
  gap: var(--service-slide-gap);
  min-height: clamp(300px, 34vw, 400px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.service-slide {
  flex: 0 0 var(--service-slide-width);
  width: var(--service-slide-width);
  min-height: clamp(280px, 32vw, 380px);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  direction: rtl;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  opacity: 0.42;
  transform: scale(0.66);
  transform-origin: center center;
  transition:
    opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s ease;
  box-shadow: var(--shadow-soft);
}

.service-slide.is-clone {
  pointer-events: none;
}

.service-slide.is-distant {
  opacity: 0.3;
  transform: scale(0.58);
}

.service-slide.is-adjacent {
  opacity: 0.62;
  transform: scale(0.74);
}

.service-slide.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: var(--shadow);
  z-index: 2;
}

.services-carousel-track.is-resetting .service-slide {
  transition: none !important;
}

.service-slide-text {
  padding: clamp(1.5rem, 3vw, 2.35rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
  position: relative;
  z-index: 2;
  background: var(--surface);
}

.service-slide-text h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}

.service-slide-text p {
  margin: 0;
  font-size: clamp(0.92rem, 1.9vw, 1.02rem);
  color: var(--muted);
  line-height: 1.75;
  max-width: 42ch;
}

.service-slide-media {
  position: relative;
  z-index: 1;
  min-height: 100%;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
}

.service-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.42);
  color: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  transform: translateY(-50%);
}

.carousel-arrow:hover {
  background: rgba(255, 184, 77, 0.52);
  border-color: rgba(255, 184, 77, 0.55);
  color: #fff;
}

.carousel-arrow-prev {
  inset-inline-start: var(--service-carousel-arrow-inset);
}

.carousel-arrow-next {
  inset-inline-end: var(--service-carousel-arrow-inset);
}

[data-theme="light"] .carousel-arrow {
  background: rgba(255, 251, 245, 0.72);
  border-color: rgba(26, 20, 8, 0.14);
  color: rgba(26, 20, 8, 0.78);
  box-shadow: 0 4px 16px rgba(26, 20, 8, 0.1);
}

[data-theme="light"] .carousel-arrow:hover {
  background: rgba(255, 184, 77, 0.55);
  border-color: rgba(255, 184, 77, 0.5);
  color: #1a1408;
}

/* ─── How it works ───────────────────────────────────── */
.how-section {
  position: relative;
  padding: 0;
  /* רקע העמוד — הלבן רק בבלוק שמתיישר עם התמונה */
  background: var(--bg);
  --how-showcase-height: clamp(380px, 64svh, 520px);
  --how-visual-slope: 58%;
}

.how-scroll-zone {
  position: relative;
  background: transparent;
}

.how-section--scroll-driven .how-scroll-zone {
  height: calc(var(--how-showcase-height) + 280vh);
  scroll-margin-top: var(--site-header-offset);
}

.how-section--scroll-driven .how-showcase {
  position: sticky;
  top: calc((100svh - var(--how-showcase-height)) / 2);
  min-height: var(--how-showcase-height);
  height: var(--how-showcase-height);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr);
  overflow: hidden;
  background: var(--bg-elevated);
}

.how-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: stretch;
  min-height: clamp(420px, 68vh, 580px);
  width: 100%;
  background: var(--bg-elevated);
  overflow: hidden;
}

.how-content {
  position: relative;
  z-index: 2;
  background: var(--bg-elevated);
  padding:
    clamp(2rem, 4.5vw, 3rem)
    clamp(1.25rem, 3.5vw, 2rem)
    clamp(2rem, 4.5vw, 3rem)
    clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.how-section--scroll-driven .how-content {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

.how-content-inner {
  position: relative;
  max-width: 36rem;
}

.how-header {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.how-title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-color);
}

.how-divider {
  width: min(64px, 16vw);
  height: 4px;
  margin: 0 0 1.1rem;
  border: none;
  border-radius: 2px;
  background: var(--brand);
  opacity: 0.92;
}

.how-lead {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.55;
  font-weight: 600;
  color: var(--text-soft);
  max-width: 28ch;
}

.how-steps-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: clamp(1.15rem, 2.5vw, 1.5rem);
}

.how-steps-viewport {
  overflow: hidden;
  width: 100%;
  align-self: stretch;
}

.how-section--scroll-driven .how-steps-viewport {
  direction: ltr;
}

.how-section--static .how-steps-viewport,
.how-section--static .how-steps-track {
  direction: rtl;
}

.how-steps-track {
  display: flex;
  flex-wrap: nowrap;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.how-section--scroll-driven .how-steps-track {
  direction: ltr;
  gap: var(--how-step-gap, clamp(3.5rem, 12vw, 7rem));
  transition: none;
  will-change: transform;
}

.how-section--scroll-driven .how-step {
  flex: 0 0 auto;
  width: var(--how-slide-width, 100%);
  min-width: var(--how-slide-width, 100%);
  direction: rtl;
}

.how-section--static .how-steps-track {
  flex-direction: column;
  transform: none !important;
}

.how-step {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.5vw, 1.65rem);
  padding: 1.1rem 0;
  position: relative;
  box-sizing: border-box;
}

.how-section--static .how-step {
  flex: none;
  min-width: 0;
  padding: 1.15rem 0;
}

.how-section--static .how-step:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-end: calc(clamp(3.4rem, 6vw, 4.4rem) / 2);
  top: 4.6rem;
  bottom: -0.15rem;
  width: 2px;
  background: linear-gradient(to bottom, var(--border-warm), transparent);
  pointer-events: none;
}

.how-step-num {
  flex-shrink: 0;
  width: clamp(3.4rem, 6vw, 4.4rem);
  height: clamp(3.4rem, 6vw, 4.4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--brand-light) 0%, var(--brand) 48%, var(--brand-mid) 100%);
  border: 1px solid var(--border-warm);
  color: var(--accent-text, #0a0a0a);
  font-weight: 800;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  line-height: 1;
  box-shadow: 0 4px 18px rgba(255, 184, 77, 0.28);
}

.how-step-body {
  flex: 1;
  min-width: 0;
  padding-top: 0;
}

.how-step-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: clamp(1.45rem, 3.2vw, 1.85rem);
  font-weight: 800;
  color: var(--brand);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.how-step-desc {
  margin: 0;
  font-size: clamp(1.08rem, 2.3vw, 1.28rem);
  line-height: 1.55;
  color: var(--text-soft);
  font-weight: 500;
}

.how-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.how-cta-link:hover {
  color: var(--brand-hover);
  gap: 0.7rem;
}

.how-cta-link:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: 4px;
}

.how-cta-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.how-cta-link:hover .how-cta-arrow {
  transform: translateX(-4px);
}

.how-visual-window {
  position: relative;
  z-index: 1;
  min-height: inherit;
  align-self: stretch;
}

.how-fixed-pane {
  position: fixed;
  top: 0;
  left: 0;
  /* Above the sticky showcase (z-index 2) so the clipped image is visible
     inside the visual window; still below the site header (z-index 100). */
  z-index: 3;
  width: 0;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  clip-path: inset(100% 0 100% 0);
  overflow: hidden;
  contain: layout style paint;
  will-change: clip-path;
}

.how-fixed-pane-inner {
  width: 100%;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, var(--how-visual-slope) 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, var(--how-visual-slope) 100%, 0 100%);
  overflow: hidden;
}

.how-fixed-pane-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.how-window-img-mobile {
  display: none;
}

/* ─── FAQ ────────────────────────────────────────────── */
.faq-section {
  background: var(--bg);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item[open] {
  border-color: var(--border-warm);
}

.faq-item summary {
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: color 0.15s;
}

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

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--brand-dim);
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.25s, background 0.25s;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--brand);
  color: var(--accent-text, #0a0a0a);
  transform: rotate(180deg);
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-answer {
  padding: 0 1.25rem 1.15rem;
  border-top: 1px solid var(--border);
  animation: faqOpen 0.35s ease;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-answer p {
  margin: 0.85rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

.faq-answer a {
  color: var(--brand);
}

/* ─── Disclaimer ─────────────────────────────────────── */
.disclaimer-section {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 184, 77, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.disclaimer-body {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.disclaimer-body p {
  margin: 0 0 1.15rem;
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  color: var(--text-soft);
  line-height: 1.85;
}

.disclaimer-body p:last-child {
  margin-bottom: 0;
}

/* ─── Contact ────────────────────────────────────────── */
.contact-section {
  background: var(--bg);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.contact-aside-logo {
  display: block;
  width: clamp(72px, 10vw, 96px);
  height: clamp(72px, 10vw, 96px);
  object-fit: contain;
  margin-bottom: 1rem;
}

.contact-aside-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-bottom: 1.5rem;
}

.contact-aside-name {
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text);
}

.contact-aside-phone {
  font-weight: 500;
  font-size: clamp(0.92rem, 2vw, 1.05rem);
  color: var(--muted);
  letter-spacing: 0.02em;
}

.contact-aside-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.contact-aside-lead {
  margin: 0;
  max-width: 26ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 2vw, 1.08rem);
  line-height: 1.75;
}

.contact-form-area {
  width: 100%;
  padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.contact-form-row-top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
}

.contact-form-grid {
  display: grid;
  gap: 1.75rem;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.field-optional {
  font-weight: 400;
  color: var(--muted-soft);
  font-size: 0.85em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 2px solid var(--border);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 1.05rem;
  transition: border-color 0.25s ease, padding 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-soft);
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--brand);
  padding-bottom: calc(0.85rem - 1px);
  border-bottom-width: 3px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

.contact-form-error {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--danger-dim);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
  font-size: 0.92rem;
}

.contact-form-success {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  background: var(--success-dim);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: var(--success);
  font-size: 0.92rem;
}

.contact-submit {
  width: auto;
  min-width: 200px;
  margin-top: 2rem;
  padding-inline: 2.5rem;
}

.contact-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.contact-alt-note {
  margin: 2rem 0 0;
  padding-top: 0;
  text-align: right;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.85;
}

.contact-alt-note a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

.contact-alt-note a:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .how-section--scroll-driven .how-scroll-zone {
    height: auto;
  }

  .how-section--scroll-driven .how-showcase {
    position: relative;
    min-height: auto;
    height: auto;
  }

  .how-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .how-content {
    order: 2;
    padding: clamp(1.75rem, 5vw, 2.5rem) var(--section-px);
  }

  .how-content-inner {
    max-width: none;
  }

  .how-visual-window {
    order: 1;
    min-height: clamp(200px, 36vw, 280px);
    clip-path: polygon(0 0, 100% 0, var(--how-visual-slope) 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, var(--how-visual-slope) 100%, 0 100%);
    overflow: hidden;
  }

  .how-fixed-pane {
    display: none;
  }

  .how-window-img-mobile {
    display: block;
    width: 100%;
    height: clamp(240px, 42vw, 320px);
    object-fit: cover;
    object-position: center 18%;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .contact-aside {
    padding-bottom: 0;
  }
}

@media (max-width: 768px) {
  .contact-form-row-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-form-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── CTA (legacy) ───────────────────────────────────── */
.cta-section {
  background: var(--bg);
  padding-bottom: clamp(3.5rem, 7vw, 5rem);
}

.cta-box {
  text-align: center;
  padding: clamp(2.5rem, 5vw, 3.5rem) 2rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.cta-logo {
  margin-bottom: 1.25rem;
}

.cta-box h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
}

.cta-box > p {
  color: var(--muted);
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.cta-manage-link {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--brand);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.cta-manage-link:hover {
  color: var(--brand-hover);
  text-decoration: underline;
}

/* ─── Footer ─────────────────────────────────────────── */
.landing-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 2rem var(--section-px);
  background: var(--bg-elevated);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
  max-width: var(--layout-max);
  margin: 0 auto;
  text-align: center;
}

.footer-sep {
  opacity: 0.35;
}

/* ─── Hero entrance ──────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-title {
  animation: fadeSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-subtitle {
  animation: fadeSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-call-wrap {
  animation: fadeSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .services-section {
    --service-slide-width: min(84vw, 560px);
  }

  .about-showcase {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .about-showcase-bg {
    position: relative;
    inset: auto;
    min-height: clamp(200px, 34vw, 280px);
  }

  .about-showcase-bg img {
    min-height: clamp(200px, 34vw, 280px);
    transform: none;
  }

  .about-showcase-card {
    grid-area: auto;
    justify-self: auto;
    align-self: auto;
    width: calc(100% - 1.5rem);
    max-width: none;
    margin: -2.25rem auto 1.25rem;
  }

  .service-slide {
    grid-template-columns: 1fr;
    direction: rtl;
  }

  .service-slide-text {
    padding: 1.75rem 1.5rem 1.25rem;
    order: 1;
  }

  .service-slide-text p {
    max-width: none;
  }

  .service-slide-media {
    order: 2;
    height: 200px;
    clip-path: none;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    padding-top: 5.5rem;
    padding-bottom: 3rem;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .about-showcase-card {
    margin-top: -1.75rem;
    padding: 1.5rem 1.25rem;
  }

  .carousel-arrow {
    width: 2.35rem;
    height: 2.35rem;
  }

  .services-section {
    --service-carousel-arrow-inset: 0.55rem;
    --service-carousel-fade: clamp(20px, 4vw, 40px);
  }

  .disclaimer-body {
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-aos="fade-up"] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fly-up:hover,
  .btn-primary:hover,
  .btn-hero-call,
  .carousel-arrow:hover,
  .how-cta-link:hover .how-cta-arrow {
    transform: none;
    animation: none;
  }

  .how-steps-track {
    transform: none !important;
    transition: none !important;
  }

  .hero-title,
  .hero-subtitle,
  .hero-call-wrap {
    animation: none;
  }

  .faq-answer,
  .service-slide {
    animation: none;
    transition: none;
  }

  html.scroll-fx-native .page-landing .hero-bg {
    animation: none;
    opacity: 1;
  }

  .hero-bg {
    transition: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-bg .hero-bg-img,
  .hero-bg::before,
  .hero-bg::after {
    transition: none;
  }

  .hero-bg::before {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .how-fixed-pane {
    clip-path: none !important;
    will-change: auto;
  }

  .how-fixed-pane-inner {
    clip-path: none;
    -webkit-clip-path: none;
  }
}
