/* Kehilaya page */

.kehilaya-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  padding-inline: var(--padding);
  padding-block: clamp(40px, 8vw, 60px);
  box-sizing: border-box;
  overflow-x: clip;
  overflow-y: visible;
  background: var(--color-bg);
}

body.page-under-nav-hero .kehilaya-hero {
  --kehilaya-hero-top-pull: clamp(16px, 3.5vw, 44px);
  margin-top: calc(-1 * var(--kehilaya-hero-top-pull));
  padding-top: calc(var(--navbar-height) + var(--section-stack-padding-y));
  min-height: calc(100vh + var(--kehilaya-hero-top-pull));
  min-height: calc(100svh + var(--kehilaya-hero-top-pull));
  min-height: calc(100lvh + var(--kehilaya-hero-top-pull));
}

.kehilaya-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
  background: var(--color-bg);
}

.kehilaya-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.72) 84%,
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 72%,
    rgba(0, 0, 0, 0.72) 84%,
    transparent 100%
  );
}

.kehilaya-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
  color: var(--color-black);
}

.kehilaya-hero .breadcrumbs__link {
  color: var(--color-black);
  background: transparent;
}

.kehilaya-hero .breadcrumbs__link:hover,
.kehilaya-hero .breadcrumbs__link:focus-visible {
  background: rgba(250, 253, 252, 0.68);
  outline: none;
}

.kehilaya-hero .breadcrumbs__current {
  background: var(--color-bg);
}

.kehilaya-hero__title {
  margin: 0;
  width: 100%;
  max-width: 1120px;
  font-size: clamp(3rem, 7.4vw, 7.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--color-black);
}

.kehilaya-hero__subtitle {
  margin: 0;
  width: 100%;
  max-width: 920px;
  font-size: clamp(1.25rem, 1.5vw + 0.75rem, var(--font-main));
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-black);
}

.kehilaya-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

.kehilaya-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 var(--padding);
  border-radius: var(--radius-inner);
  color: var(--color-bg);
  font-family: inherit;
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .kehilaya-hero {
    min-height: 85vh;
    min-height: 85svh;
    min-height: 85dvh;
  }

  body.page-under-nav-hero .kehilaya-hero {
    padding-top: calc(var(--navbar-height) + clamp(52px, 12vw, 88px));
    padding-bottom: clamp(52px, 12vw, 88px);
    min-height: calc(85vh + var(--kehilaya-hero-top-pull));
    min-height: calc(85svh + var(--kehilaya-hero-top-pull));
    min-height: calc(85dvh + var(--kehilaya-hero-top-pull));
  }

  .kehilaya-hero__title {
    line-height: 0.98;
    letter-spacing: -0.04em;
  }

  .kehilaya-hero__subtitle {
    max-width: 34rem;
  }
}

@media (max-width: 520px) {
  .kehilaya-hero {
    min-height: 78vh;
    min-height: 78svh;
    min-height: 78dvh;
  }

  body.page-under-nav-hero .kehilaya-hero {
    min-height: calc(78vh + var(--kehilaya-hero-top-pull));
    min-height: calc(78svh + var(--kehilaya-hero-top-pull));
    min-height: calc(78dvh + var(--kehilaya-hero-top-pull));
  }

  .kehilaya-hero__title {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
  }
}

/* -----------------------------------------------------------------------------
 * What is Kehilaya section (Figma Horizontal_Section 361:9025)
 * ----------------------------------------------------------------------------- */

.kehilaya-about.split-section {
  background: var(--color-bg);
  scroll-margin-top: var(--navbar-height);
}

.kehilaya-about__wrap {
  direction: rtl;
}

.kehilaya-about__content {
  align-items: flex-start;
  text-align: right;
}

.kehilaya-about__title {
  max-width: 100%;
}

.kehilaya-about__body {
  font-size: var(--font-button);
  line-height: 1.35;
}

.kehilaya-about__actions {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.kehilaya-about__form-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 45px;
  padding: 0 var(--padding);
  border-radius: var(--radius-inner);
  color: var(--color-bg);
  font-family: inherit;
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  direction: ltr;
}

.kehilaya-about__cta-icon {
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.kehilaya-about__rules-cta {
  direction: ltr;
}

.kehilaya-about__rules-icon {
  display: block;
  flex-shrink: 0;
}

.kehilaya-about__mockup {
  flex: 0 1 600px;
  width: min(600px, 100%);
  height: min(759px, 72vh);
  min-height: 520px;
  border-radius: var(--radius-dropdown-card);
  overflow: hidden;
  background: var(--color-light-grey);
  direction: ltr;
}

.kehilaya-about__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .kehilaya-about__mockup {
    flex: 0 1 auto;
    width: 100%;
    max-width: 600px;
    height: auto;
    min-height: 0;
    aspect-ratio: 600 / 759;
    margin-inline: auto;
  }
}

@media (max-width: 520px) {
  .kehilaya-about__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .kehilaya-about__form-cta,
  .kehilaya-about__rules-cta {
    width: 100%;
  }
}

/* -----------------------------------------------------------------------------
 * How it works section (Figma Horizontal_Section 362:11541)
 * ----------------------------------------------------------------------------- */

.kehilaya-how.split-section {
  background: var(--color-cyan-light);
  padding-block: 60px;
  scroll-margin-top: var(--navbar-height);
}

.kehilaya-how__wrap {
  direction: rtl;
}

.kehilaya-how__image {
  object-position: center;
}

.kehilaya-how__content {
  align-items: flex-start;
  text-align: right;
}

.kehilaya-how__title {
  max-width: 100%;
  line-height: 1;
}

.kehilaya-how__body {
  font-size: var(--font-button);
  line-height: 1.35;
}

.kehilaya-how__steps {
  margin: 0;
  padding-inline-start: 1.45em;
  list-style-position: outside;
}

.kehilaya-how__steps > li {
  margin: 0;
  padding-inline-start: 0.1em;
}

.kehilaya-how__steps strong {
  font-weight: 700;
}

.kehilaya-how__steps a {
  color: var(--color-black);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
}

.kehilaya-how__steps a:hover,
.kehilaya-how__steps a:focus-visible {
  background: rgba(250, 253, 252, 0.54);
  outline: none;
}

.kehilaya-how__actions {
  justify-content: flex-start;
}

.kehilaya-how__form-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 45px;
  padding: 0 var(--padding);
  border-radius: var(--radius-inner);
  color: var(--color-bg);
  font-family: inherit;
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  direction: ltr;
}

.kehilaya-how__cta-icon {
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

@media (max-width: 520px) {
  .kehilaya-how.split-section {
    padding-block: 44px;
  }

  .kehilaya-how__body {
    font-size: var(--font-body);
  }

  .kehilaya-how__form-cta {
    width: 100%;
  }
}

/* -----------------------------------------------------------------------------
 * Real example social section (Figma Vertical_Section 362:11614)
 * ----------------------------------------------------------------------------- */

.kehilaya-real.section {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 800px;
  padding: 60px var(--padding);
  overflow: hidden;
  background: var(--color-black);
}

.kehilaya-real__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--color-black);
}

.kehilaya-real__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(19, 24, 26, 0.18), rgba(19, 24, 26, 0.36) 45%, rgba(19, 24, 26, 0.72) 100%),
    rgba(19, 24, 26, 0.42);
}

.kehilaya-real__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.kehilaya-real__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  min-height: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--color-bg);
  text-align: center;
}

.kehilaya-real__title {
  margin: 0;
  width: 100%;
  font-size: clamp(3rem, 7.4vw, 7.5rem);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--color-bg);
}

.kehilaya-real__subtitle {
  margin: 0;
  width: 100%;
  font-size: clamp(1.25rem, 1.5vw + 0.75rem, var(--font-main));
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-bg);
}

.kehilaya-real__social {
  justify-content: center;
}

.kehilaya-real__social-link {
  background-color: var(--social-link-bg);
}

.kehilaya-real__social-link:hover,
.kehilaya-real__social-link:focus-visible {
  background-color: var(--social-link-bg-hover);
}

@media (max-width: 768px) {
  .kehilaya-real.section,
  .kehilaya-real__inner {
    min-height: 680px;
  }
}

@media (max-width: 520px) {
  .kehilaya-real.section {
    min-height: 620px;
    padding-block: 44px;
  }

  .kehilaya-real__inner {
    min-height: 620px;
  }

  .kehilaya-real__title {
    font-size: clamp(2.7rem, 13vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.04em;
  }
}

/* -----------------------------------------------------------------------------
 * FAQ section (Figma Vertical_Section 362:12265)
 * ----------------------------------------------------------------------------- */

.kehilaya-faq-section.faq-browse {
  background: var(--color-bg);
}

.kehilaya-faq-section__inner {
  width: 100%;
}

.kehilaya-faq-section__title {
  margin: 0;
  max-width: 100%;
  font-size: clamp(1.75rem, 3.2vw + 1rem, var(--font-display));
  font-weight: 700;
  line-height: 1.05;
  text-align: center;
  color: var(--color-black);
}

.kehilaya-vertical-section {
  background: var(--color-blue);
}

.kehilaya-vertical-section__wrap {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding: 60px var(--padding);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

/* Joint purchase section (Figma: Vertical_Section 155:22058) */
.keh-joint-purchase__lottie {
  width: 370px;
  height: 371px;
  max-width: min(370px, 100%);
  overflow: clip;
}

.keh-joint-purchase__lottie-stage {
  width: 100%;
  height: 100%;
}

.keh-joint-purchase__pill {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border-radius: var(--padding);
  background: linear-gradient(174deg, var(--color-pink) 6%, var(--color-blue) 94%);
}

.keh-joint-purchase__pill-text {
  font-size: var(--font-button);
  font-weight: 400;
  line-height: normal;
  color: var(--color-black);
  white-space: nowrap;
}

.keh-joint-purchase__pill-icon {
  width: 31px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

.keh-joint-purchase__content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.keh-joint-purchase__title {
  margin: 0;
  font-size: clamp(2.4rem, 4vw + 1rem, 4.5rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-black);
}

.keh-joint-purchase__body {
  font-size: var(--font-button);
  line-height: 1.5;
  color: var(--color-black);
  max-width: 820px;
}

.keh-joint-purchase__body p {
  margin: 0 0 0.8em;
}

.keh-joint-purchase__body p:last-child {
  margin-bottom: 0;
}

.keh-joint-purchase__cta {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  direction: ltr;
}

.keh-joint-purchase__cta-icon {
  filter: brightness(0) invert(1);
  display: block;
}

@media (max-width: 480px) {
  .kehilaya-vertical-section__wrap {
    padding: 44px var(--padding);
  }

  .keh-joint-purchase__lottie {
    width: min(320px, 100%);
    height: auto;
    aspect-ratio: 370 / 371;
  }
}

