/* Loaded after common.css — do not @import shared here */

.page-home {
  /* Figma home (process): 450×410 cards, 30px gap, 32px padding */
  --home-process-card-width: 450px;
  --home-choice-card-width: 690px;
  --home-choice-grid-gap: 28px;
  --home-segula-card-width: 200px;
  --home-progress: 65%;
  --home-progress-badge-size: 77px;
  --home-progress-badge-offset: 38.5px;
  /* Fluid type — desktop caps; mobile floors match Figma iPhone 358:368 */
  --home-fluid-h2: clamp(2rem, 1.35rem + 2.4vw, 3.75rem);
  --home-fluid-body-lg: clamp(1rem, 0.92rem + 0.35vw, 1.375rem);
  --home-fluid-why-title: clamp(2rem, 1.2rem + 3.2vw, 3.5rem);
  --home-fluid-why-list: clamp(1.05rem, 0.95rem + 0.45vw, 1.5rem);
  /* רץ כותרת / Levi mobile 35px → desktop 60px */
  --home-fluid-levi-section: clamp(2.1875rem, 1.15rem + 2.6vw, 3.75rem);
  /* Hero title — matches style_NZ08CD at 390px */
  --home-fluid-hero-title: clamp(2.1875rem, 1.2rem + 2.75vw, 4rem);
  /* Hero + רץ מובייל body (18–20px mobile → 24px desktop) */
  --home-fluid-body-rte: clamp(1.125rem, 1rem + 0.5vw, 1.5rem);
  /* Process card title mobile 25px (style_TUCCMP) → 30px desktop */
  --home-fluid-process-card-title: clamp(1.5625rem, 1.35rem + 0.85vw, 1.875rem);
  /* Choice card title — Figma mobile Levi 30px (style_9R0VNF) */
  --home-fluid-choice-title: clamp(1.875rem, 1.45rem + 1.1vw, 2.35rem);
  /* Stacked process steps — fluid vertical rhythm (was 110px) */
  --home-fluid-process-stack-gap: clamp(4rem, 6vw + 2.5rem, 6.875rem);
  /* Hero content column — Figma layout_RZNY5N width 322px */
  --home-hero-column-max: min(100%, 20.125rem);
  /* About block title — desktop 56px, mobile 35px */
  --home-fluid-about-title: clamp(2.1875rem, 1rem + 1.9vw, 3.5rem);
}

.page-home .hero {
  min-height: clamp(28rem, 42vw + 16rem, 53rem);
  padding: 18px 33px 92px;
  background: url("../images/home-hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-home .hero::after {
  background:
    radial-gradient(circle at 52% 30%, rgba(255, 255, 255, 0.06) 0%, transparent 26%),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.04) 0%, transparent 22%),
    linear-gradient(180deg, rgba(9, 15, 12, 0.28) 0%, rgba(9, 15, 12, 0.18) 28%, rgba(9, 15, 12, 0.5) 100%);
  opacity: 1;
  z-index: 0;
}

.page-home .site-header,
.page-home .hero__content {
  position: relative;
}

.page-home .site-header {
  z-index: 3;
  min-height: 105px;
  align-items: flex-start;
  gap: 30px;
}

.page-home .hero__content {
  z-index: 1;
}

.page-home .site-brand {
  position: relative;
  width: 104px;
  height: 105px;
  flex: 0 0 104px;
  margin-top: 0;
  margin-inline-start: 0;
  overflow: visible;
  filter: none;
}

.page-home .site-brand img {
  position: static;
  top: auto;
  left: auto;
  width: 104px;
  height: 105px;
  max-width: 104px;
  max-height: 105px;
  object-fit: contain;
}

.page-home .desktop-nav {
  margin-top: 18px;
  gap: 62px;
}

.page-home .desktop-nav a {
  font-size: 20px;
  line-height: 1;
}

.page-home .header-cta {
  min-height: 42px;
  margin-top: 12px;
  padding: 12px 32px;
  font-size: 18px;
  line-height: 1;
}

.page-home .hero__content {
  justify-content: flex-start;
  padding-top: 86px;
  text-align: center;
}

.page-home .hero__title {
  max-width: 818px;
  font-size: var(--home-fluid-hero-title);
  line-height: 1.08;
  letter-spacing: -0.02em;
  will-change: transform, opacity;
}

.page-home .hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 64px;
  margin-top: 20px;
}

.page-home .hero__divider span {
  width: 9px;
  height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
}

.page-home .hero__text {
  max-width: 714px;
  margin-top: 24px;
  font-size: clamp(1.125rem, 1rem + 0.65vw, 1.5rem);
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.92);
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: no-preference) {
  .page-home .hero__title,
  .page-home .hero__text {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: home-hero-text-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .page-home .hero__title {
    animation-delay: 0.08s;
  }

  .page-home .hero__text {
    animation-delay: 0.22s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__title,
  .page-home .hero__text {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@keyframes home-hero-text-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.page-home .hero__finder {
  width: auto;
  margin-top: 42px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.page-home .hero__finder > .pill {
  flex: 0 0 262px;
  min-width: 262px;
  min-height: 69px;
  padding: 10px 24px;
  font-size: 20px;
  font-weight: 700;
  white-space: nowrap;
}

.page-home .search-shell {
  width: min(100%, 490px);
  flex: 0 1 490px;
  min-height: 69px;
  padding: 10px;
  gap: 14px;
  border-color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.page-home .search-shell .btn {
  flex: 0 0 136px;
  min-height: 49px;
  padding: 10px 30px;
  font-size: 20px;
}

.page-home .search-shell input {
  padding-inline-end: 8px;
  font-size: 20px;
  line-height: 1;
}

.page-home .hero__jump {
  display: none;
}

.page-home .segulot-grid .segula-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  max-width: 690px;
  justify-self: center;
}

.page-home .section-about {
  width: min(100% - 28px, 1622px);
  padding-top: 76px;
  padding-bottom: 40px;
}

.page-home .section-about .split-panel {
  direction: ltr;
  grid-template-areas: "image card";
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 56px);
  justify-content: center;
  align-items: stretch;
}

.page-home .about-media,
.page-home .about-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: none;
}

.page-home .about-media {
  grid-area: image;
  position: relative;
  margin: 0;
  width: 100%;
  min-height: 0;
  aspect-ratio: 790 / 478;
  justify-self: stretch;
  align-self: center;
  background: var(--paper);
}

.page-home .about-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.page-home .about-card {
  grid-area: card;
  width: 100%;
  min-height: 0;
  direction: rtl;
  padding: clamp(48px, 5vw, 84px) clamp(28px, 4.8vw, 78px);
  background:
    linear-gradient(rgba(244, 239, 229, 0.94), rgba(244, 239, 229, 0.94)),
    url("../images/parchment-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
}

.page-home .about-card .content-card__title {
  width: 100%;
  margin: 0;
  font-size: var(--home-fluid-about-title);
  line-height: 1.08;
  text-align: right;
}

.page-home .about-card .content-card__text {
  width: 100%;
  margin: 0;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1rem);
  line-height: 1.5;
  text-align: right;
}

.page-home .about-card .content-card__text strong {
  display: block;
  margin-bottom: 0;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
  font-weight: 700;
  line-height: 1.5;
}

.page-home .section-process {
  padding-top: 40px;
  padding-bottom: 132px;
}

.page-home .section-process .section-heading {
  margin-bottom: 52px;
  font-size: var(--home-fluid-levi-section);
  line-height: 1.08;
  color: #071c36;
  text-align: center;
}

.page-home #routes .section-heading {
  margin-bottom: clamp(2rem, 4vw, 4.125rem);
  font-size: var(--home-fluid-h2);
  line-height: 1.08;
}

.page-home #routes .choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(16px, 2.8vw, var(--home-choice-grid-gap));
  width: 100%;
  max-width: min(100%, calc(var(--home-choice-card-width) * 2 + var(--home-choice-grid-gap)));
  margin-inline: auto;
}

.page-home #routes .choice-card {
  width: 100%;
  min-width: 0;
  min-height: clamp(18rem, 42vw, 26.3rem);
  gap: clamp(1.1rem, 2.8vw, 1.875rem);
  padding: clamp(1.5rem, 3.2vw, 2.5rem);
  border-radius: 15px;
  box-shadow: none;
}

.page-home #routes .choice-card__title {
  font-size: var(--home-fluid-choice-title);
  line-height: 1.1;
}

.page-home #routes .choice-card__text {
  max-width: 38rem;
  margin-inline: auto;
  font-size: var(--home-fluid-body-lg);
  line-height: 1.55;
}

.page-home #routes .choice-card .btn {
  min-height: clamp(2.5rem, 6vw, 2.625rem);
  padding: clamp(0.65rem, 1.2vw, 0.75rem) clamp(1.5rem, 3vw, 2rem);
  font-size: clamp(1rem, 0.85rem + 0.55vw, 1.25rem);
}

.page-home .section-process .process-grid {
  grid-template-columns: repeat(3, minmax(0, var(--home-process-card-width)));
  justify-content: center;
  gap: 30px;
  align-items: start;
}

.page-home .section-process .process-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  width: 100%;
  min-height: 410px;
  padding: 32px;
  border-radius: 15.99px;
  background: #f4efe5;
  box-shadow: none;
  text-align: center;
}

.page-home .section-process .process-card__title {
  width: 100%;
  max-width: 398px;
  margin: 0;
  font-size: var(--home-fluid-process-card-title);
  line-height: 1.2;
  font-weight: 700;
  color: #18241e;
}

.page-home .section-process .process-card__text {
  width: 100%;
  max-width: 398px;
  margin: 0;
  font-size: 20px;
  line-height: 1.45;
  color: #18241e;
  text-align: center;
}

.page-home .section-process .process-card__step {
  bottom: -35px;
  left: 50%;
  width: 104px;
  height: 104px;
  border-radius: 0;
  background: transparent;
  transform: translateX(-50%) rotate(45deg);
}

.page-home .section-process .process-card__step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translate(-50%, -50%) rotate(-45deg);
}

.page-home .section-process .process-card:nth-child(1) .process-card__step::before {
  background-image: url("../icons/process/magen-david-01.svg");
}

.page-home .section-process .process-card:nth-child(2) .process-card__step::before {
  background-image: url("../icons/process/magen-david-02.svg");
}

.page-home .section-process .process-card:nth-child(3) .process-card__step::before {
  background-image: url("../icons/process/magen-david-03.svg");
}

.page-home .section-process .process-card__step span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-home .segula-selection-section {
  width: min(100%, 1408px);
  min-height: 525px;
  position: relative;
  display: grid;
  direction: ltr;
  grid-template-areas: "gallery content";
  grid-template-columns: minmax(0, 642px) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 95px);
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 15px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.46)),
    url("../images/dark-texture.jpg") center / cover no-repeat;
  overflow: hidden;
}

.page-home .segula-selection-grid {
  grid-area: gallery;
  width: 100%;
  height: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  column-gap: 21px;
  row-gap: 25px;
}

.page-home .segula-selection-grid .segula-item {
  width: 100%;
  min-height: var(--home-segula-card-width);
  padding: 10px;
  border-radius: 15px;
  background: #f4efe5;
  box-shadow: none;
  text-decoration: none;
}

.page-home .segula-selection-grid .segula-item__thumb {
  aspect-ratio: 180 / 133;
  margin-bottom: 10px;
}

.page-home .segula-selection-grid .segula-item__thumb::after {
  background: rgba(24, 36, 30, 0.6);
}

.page-home .segula-selection-grid .segula-item__thumb img {
  object-position: center;
}

.page-home .segula-selection-grid .segula-item:nth-child(1) .segula-item__thumb img {
  object-position: center 34%;
}

.page-home .segula-selection-grid .segula-item:nth-child(2) .segula-item__thumb img {
  object-position: center 52%;
}

.page-home .segula-selection-grid .segula-item:nth-child(3) .segula-item__thumb img {
  object-position: center 38%;
}

.page-home .segula-selection-grid .segula-item:nth-child(4) .segula-item__thumb img {
  object-position: center 44%;
}

.page-home .segula-selection-grid .segula-item:nth-child(5) .segula-item__thumb img {
  object-position: center 42%;
}

.page-home .segula-selection-grid .segula-item:nth-child(6) .segula-item__thumb img {
  object-position: center 46%;
}

.page-home .segula-selection-grid .segula-item__label {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
}

.page-home .segula-selection-content {
  grid-area: content;
  width: 100%;
  max-width: 591px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 44px;
  direction: rtl;
}

.page-home .segula-selection-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

.page-home .segula-selection-content .section-heading {
  margin: 0;
  font-size: var(--home-fluid-levi-section);
  line-height: 1.08;
  text-align: right;
  white-space: normal;
}

.page-home .segula-selection-content p {
  width: 100%;
  min-height: 140px;
  height: auto;
  margin: 0;
  font-size: clamp(1.125rem, 1rem + 0.65vw, 1.5rem);
  line-height: 1.5;
  text-align: right;
  color: #fff;
}

.page-home .segula-selection-content .cta-button {
  align-self: flex-end;
  margin-right: 0;
  margin-left: auto;
  width: auto;
  min-width: 159px;
  height: 42px;
  min-height: 42px;
  padding: 12px 32px;
  border-radius: 50px;
  background: #a67e4d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  line-height: 18px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.page-home .why-segula-wrapper {
  width: min(100% - 40px, 1410px);
  padding-top: 56px;
  padding-bottom: 56px;
}

.page-home .why-segula-section {
  display: grid;
  direction: ltr;
  grid-template-areas: "image copy";
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5vw, 7.5rem);
}

.page-home .why-segula-content {
  grid-area: copy;
  direction: rtl;
  width: 100%;
  max-width: 520px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 30px;
  text-align: right;
}

.page-home .why-segula-title {
  width: 100%;
  min-height: 0;
  margin: 0;
  font-family: "Levi DL v1 AAA", var(--font-display);
  font-weight: 500;
  font-size: var(--home-fluid-why-title);
  line-height: 1.09;
  letter-spacing: 0;
  text-align: right;
  color: #18241e;
}

.page-home .why-segula-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  gap: 20px;
  align-self: flex-end;
}

.page-home .why-segula-list-item {
  display: grid;
  direction: rtl;
  grid-template-columns: clamp(1.5rem, 2.5vw, 1.9375rem) minmax(0, 1fr);
  align-items: start;
  column-gap: clamp(0.875rem, 2vw, 1.375rem);
  min-height: 0;
  font-size: var(--home-fluid-why-list);
  line-height: 1.45;
  text-align: right;
}

.page-home .why-segula-list-item img {
  width: clamp(1.5rem, 2.5vw, 1.9375rem);
  height: clamp(1.5rem, 2.5vw, 1.9375rem);
  margin-top: 0.2em;
  flex-shrink: 0;
}

.page-home .why-segula-list-item span {
  display: block;
  white-space: normal;
}

.page-home .why-segula-image-frame {
  grid-area: image;
  width: 100%;
  max-width: 690px;
  min-height: 0;
  aspect-ratio: 690 / 448;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px 36px;
  background: var(--paper);
  border-radius: 20px;
}

.page-home .why-segula-image {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  object-fit: cover;
  object-position: center;
}

.page-home .section-progress {
  width: min(100% - 40px, 1412px);
}

.page-home .progress-card {
  width: 100%;
  min-height: 576px;
  padding: 68px 72px 74px;
  border-radius: 20px;
  background: #f4efe5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.page-home .progress-title {
  width: 100%;
  margin: 0 0 82px;
  font-family: "Levi DL v1 AAA", var(--font-display);
  font-weight: 500;
  font-size: var(--home-fluid-levi-section);
  line-height: 1.08;
  color: #18241e;
  text-align: center;
  white-space: nowrap;
}

.page-home .progress-bar {
  --progress-value: var(--home-progress);
  position: relative;
  width: min(100%, 1263px);
  margin-bottom: 94px;
}

.page-home .progress-track {
  position: relative;
  height: 4px;
  background: #ece5db;
  border-radius: 999px;
  overflow: hidden;
}

.page-home .progress-fill {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: var(--progress-value);
  border-radius: inherit;
  background: #a67e4d;
}

.page-home .progress-badge {
  position: absolute;
  top: 50%;
  inset-inline-end: calc(var(--progress-value) - var(--home-progress-badge-offset));
  width: var(--home-progress-badge-size);
  height: var(--home-progress-badge-size);
  border-radius: 999px;
  transform: translateY(-50%);
  background: #a67e4d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Almoni ML v5 AAA", var(--font-body);
  font-weight: 400;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  padding: 0;
}

.page-home .progress-stats {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 208px;
}

.page-home .progress-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.page-home .progress-stat-number {
  margin: 0;
  font-family: "Levi DL v1 AAA", var(--font-display);
  font-weight: 500;
  font-size: var(--home-fluid-levi-section);
  line-height: 1.08;
  color: #18241e;
  text-align: center;
}

.page-home .progress-stat-label {
  margin: 0;
  font-family: "Almoni ML v5 AAA", var(--font-body);
  font-weight: 400;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
  line-height: 1;
  color: #18241e;
  text-align: center;
}

.page-home .faq-section {
  direction: rtl;
  padding-bottom: 72px;
}

.page-home .faq-section .section-heading {
  margin-bottom: 60px;
  font-size: var(--home-fluid-levi-section);
  line-height: 1.08;
}

.page-home .faq-columns {
  direction: rtl;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  align-items: start;
}

.page-home .faq-stack {
  gap: 20px;
  align-content: start;
}

.page-home .faq-item {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 30px;
  background: var(--paper);
  box-shadow: none;
  overflow: hidden;
}

.page-home .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 52px;
  padding: 10px 20px;
  cursor: pointer;
  list-style: none;
}

.page-home .faq-question::-webkit-details-marker {
  display: none;
}

.page-home .faq-question__text {
  flex: 1 1 auto;
  margin: 0;
  font-family: "Almoni ML v5 AAA", var(--font-body);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: #18241e;
  text-align: right;
}

.page-home .faq-toggle {
  position: relative;
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
}

.page-home .faq-toggle::before,
.page-home .faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 999px;
  background: #18241e;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.page-home .faq-toggle::before {
  width: 12px;
  height: 2px;
}

.page-home .faq-toggle::after {
  width: 2px;
  height: 12px;
}

.page-home .faq-item[open] .faq-question {
  padding-bottom: 6px;
}

.page-home .faq-item[open] .faq-toggle::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}

.page-home .faq-answer {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0 20px 18px;
}

.page-home .faq-answer p {
  margin: 0;
  font-family: "Almoni ML v5 AAA", var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: rgba(24, 36, 30, 0.82);
  text-align: right;
}

.page-home .faq-section + .section--tight {
  padding-top: 54px;
}

.page-home .cta-band {
  width: min(100%, 552px);
  margin-inline: auto;
  gap: 36px;
}

.page-home .cta-band .section-heading {
  width: 100%;
  margin: 0;
  font-size: var(--home-fluid-levi-section);
  line-height: 1.08;
  text-align: center;
}

.page-home .cta-band .btn {
  min-width: 376px;
  min-height: 42px;
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 20px;
}

/* Contact form polish (home page only). */
.page-home #contact .footer-shell {
  width: min(100% - 40px, 1280px);
  margin-inline: auto;
  padding: clamp(1.75rem, 2.6vw, 2.125rem) clamp(2.5rem, 4vw, 3.25rem);
  grid-template-columns: minmax(0, 520px) minmax(360px, 1fr);
  gap: clamp(1.5rem, 2.6vw, 2rem);
}

.page-home .footer-shell form {
  gap: 8px;
  padding: 20px 24px;
  background: linear-gradient(rgba(254, 250, 244, 0.98), rgba(254, 250, 244, 0.98)),
    var(--paper);
  border: 1px solid rgba(24, 36, 30, 0.14);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: min(100%, 520px);
  max-width: 520px;
}

.page-home .footer-shell form .field {
  gap: 4px;
  min-width: 0;
  margin: 0;
}

.page-home .footer-shell .field label,
.page-home .footer-shell .field legend {
  color: rgba(24, 36, 30, 0.82);
  font-size: 14px;
  line-height: 1.2;
  gap: 4px;
  margin-bottom: 0;
}

.page-home .footer-shell .input,
.page-home .footer-shell .textarea,
.page-home .footer-shell .select {
  background: #fefaf4;
  border-color: rgba(24, 36, 30, 0.18);
  border-radius: 12px;
  padding-inline: 12px;
  padding-block: 8px;
  min-height: 38px;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  text-align: right;
  color: var(--ink);
}

.page-home .footer-shell .input:focus,
.page-home .footer-shell .textarea:focus,
.page-home .footer-shell .select:focus,
.page-home .footer-shell .input:focus-visible,
.page-home .footer-shell .textarea:focus-visible,
.page-home .footer-shell .select:focus-visible {
  border-color: #a67e4d;
  box-shadow: 0 0 0 2px rgba(166, 126, 77, 0.18);
}

.page-home .footer-shell .textarea {
  min-height: 66px;
  height: 66px;
  padding-block: 10px;
  resize: vertical;
}

.page-home .footer-shell .btn--footer-submit {
  min-height: 40px;
  border-radius: 12px;
  letter-spacing: 0.005em;
  font-size: 18px;
  font-weight: 500;
  padding: 0 18px;
  width: 100%;
  background: #141f18;
  color: #f4efe5;
  transition: transform 160ms ease, box-shadow 160ms ease;
  display: inline-flex;
  max-width: 100%;
  justify-content: center;
}

.page-home .footer-shell .btn--footer-submit:hover,
.page-home .footer-shell .btn--footer-submit:focus-visible {
  background: #0f1711;
  box-shadow: 0 10px 22px rgba(20, 31, 24, 0.22);
}

.page-home .footer-shell form p,
.page-home .footer-shell form .hidden-fields-container,
.page-home .footer-shell .wpcf7-response-output {
  width: 100%;
  margin: 0;
}

.page-home .footer-shell .field-row,
.page-home .footer-shell .contact-grid {
  display: grid;
  width: min(100%, 520px);
  max-width: 520px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
  margin: 0;
}

.page-home .footer-shell .field-row .field,
.page-home .footer-shell .contact-grid .field,
.page-home .footer-shell .field {
  min-width: 0;
  margin: 0;
}

.page-home .footer-shell .field--full {
  grid-column: 1 / -1;
}

.page-home .footer-shell .contact-form-actions {
  width: 100%;
  max-width: none;
  margin: 0;
  margin-inline-start: 0;
  display: block;
}

.page-home .footer-shell .contact-form-actions p {
  margin: 0;
  width: 100%;
}

.page-home .footer-shell .contact-form-actions p,
.page-home .footer-shell .contact-form-actions .wpcf7-form-control-wrap {
  width: 100%;
}

.page-home .footer-shell .contact-form-actions .btn--footer-submit,
.page-home .footer-shell .contact-form-actions .wpcf7-form-control {
  width: min(100%, 520px);
  max-width: 520px;
  justify-content: center;
  box-sizing: border-box;
}

@media (max-width: 1023px) {
  .page-home #contact .footer-shell {
    width: min(100% - 32px, 900px);
  }

  .page-home .footer-shell form {
    width: min(100%, 520px);
    max-width: 520px;
    margin-inline: auto;
    padding: 20px 24px;
  }
}

@media (max-width: 620px) {
  .page-home #contact .footer-shell {
    width: min(100% - 24px, 100%);
    padding: 20px;
    gap: 20px;
  }

  .page-home .footer-shell form {
    width: 100%;
    max-width: none;
    padding: 18px 20px;
    gap: 10px;
  }

  .page-home .footer-shell .contact-grid,
  .page-home .footer-shell .field-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .page-home .footer-shell .field {
    gap: 5px;
  }

  .page-home .footer-shell .field label,
  .page-home .footer-shell .field legend {
    font-size: 16px;
    line-height: 1.35;
  }

  .page-home .footer-shell .input,
  .page-home .footer-shell .textarea,
  .page-home .footer-shell .select {
    min-height: 44px;
    font-size: 1rem;
    padding-inline: 14px;
    padding-block: 9px;
  }

  .page-home .footer-shell .textarea {
    min-height: 88px;
    height: 88px;
  }

  .page-home .footer-shell .contact-form-actions {
    width: 100%;
    max-width: none;
    margin-inline-start: 0;
  }

  .page-home .footer-shell .btn--footer-submit {
    min-height: 44px;
    font-size: 17px;
  }
}
@media (min-width: 901px) {
  .page-home .segula-selection-content .section-heading {
    align-self: stretch;
    width: 100%;
    margin-inline: 0;
    text-align: right;
  }
}

@media (max-width: 1280px) {
  /* Keep three steps on one row on tablet: fluid columns instead of 2 + wrapped third */
  .page-home .section-process .process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 2.2vw, 30px);
  }

  .page-home .section-process .process-card {
    min-width: 0;
  }

  .page-home .section-process .process-card:last-child {
    grid-column: auto;
    justify-self: stretch;
    max-width: none;
  }

  /* Keep two route cards side-by-side on tablet; fluid columns + gap */
  .page-home #routes .choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 2.2vw, var(--home-choice-grid-gap));
    max-width: 100%;
  }

  .page-home #routes .choice-card {
    min-width: 0;
  }
}

@media (max-width: 1200px) {
  .page-home .section-process .process-card__text{
    font-size: 18px;
  }
}

@media (max-width: 1100px) {
  .page-home .segula-selection-section {
    width: 100%;
    min-height: 0;
    grid-template-areas:
      "content"
      "gallery";
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 34px 28px;
  }

  .page-home .segula-selection-grid,
  .page-home .segula-selection-content,
  .page-home .segula-selection-copy,
  .page-home .segula-selection-content p {
    width: 100%;
  }

  .page-home .segula-selection-grid {
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    column-gap: 14px;
    row-gap: 14px;
  }

  .page-home .segula-selection-grid .segula-item {
    width: auto;
    min-height: 0;
  }

  .page-home .segula-selection-content {
    max-width: none;
    align-items: center;
    gap: 30px;
  }

  .page-home .segula-selection-copy {
    align-items: center;
    text-align: center;
  }

  .page-home .segula-selection-content .section-heading,
  .page-home .segula-selection-content p {
    text-align: center;
  }

  .page-home .segula-selection-content .cta-button {
    align-self: center;
  }

  /* why-segula: stay two-column on tablet; tighter gap only */
  .page-home .why-segula-section {
    gap: clamp(24px, 4vw, 48px);
  }

  .page-home .progress-card {
    height: auto;
    padding: 56px 36px 52px;
  }

  .page-home .progress-title {
    margin-bottom: 48px;
  }

  .page-home .progress-bar {
    margin-bottom: 72px;
  }

  .page-home .progress-stats {
    gap: 96px;
  }

  .page-home .faq-section {
    padding-bottom: 72px;
  }

  .page-home .faq-section .section-heading {
    margin-bottom: 52px;
  }

  .page-home .faq-columns {
    gap: 24px;
  }

  .page-home .faq-question__text {
    font-size: 20px;
  }

  .page-home .cta-band {
    gap: 32px;
  }
}

/* Stack «למה אות לסגולה» copy above image on narrow tablets / large phones */
@media (max-width: 768px) {
  .page-home .why-segula-section {
    grid-template-areas:
      "copy"
      "image";
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2rem);
  }

  .page-home .why-segula-content,
  .page-home .why-segula-title,
  .page-home .why-segula-list,
  .page-home .why-segula-image-frame,
  .page-home .why-segula-image {
    width: 100%;
  }

  .page-home .why-segula-content {
    align-items: center;
    gap: clamp(1.5rem, 4vw, 2.25rem);
  }

  .page-home .why-segula-title,
  .page-home .why-segula-list,
  .page-home .why-segula-list-item {
    text-align: center;
  }

  .page-home .why-segula-list {
    max-width: min(100%, 26rem);
    align-self: center;
  }

  .page-home .why-segula-list-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(0.875rem, 2vw, 1.375rem);
    text-align: center;
  }

  .page-home .why-segula-list-item span {
    text-align: center;
  }

  .page-home .why-segula-image-frame {
    height: auto;
    flex: 1 1 auto;
    padding: clamp(1rem, 4vw, 1.75rem);
  }

  .page-home .why-segula-image {
    height: auto;
    aspect-ratio: 628 / 381;
  }
}

@media (max-width: 900px) {
  .page-home .hero {
    min-height: clamp(36rem, 32vw + 18rem, 42.5rem);
    padding: clamp(12px, 3.5vw, 16px) clamp(12px, 3.5vw, 16px) clamp(2rem, 6vw, 2.75rem);
  }

  .page-home .hero::before {
    background-size: 100% 100%, 168% auto;
    background-position: center, left -210px top -40px;
    opacity: 0.28;
    filter: grayscale(1) sepia(0.34) saturate(0.5) brightness(0.38) contrast(1.06);
  }

  .page-home .site-header {
    min-height: 72px;
    align-items: center;
  }

  .page-home .site-brand {
    width: 104px;
    height: 105px;
    flex: 0 0 104px;
    margin-top: 4px;
  }

  .page-home .hero__content {
    padding-top: clamp(1.5rem, 4vw, 2rem);
    gap: clamp(1.125rem, 2.5vw, 1.375rem);
    max-width: var(--home-hero-column-max);
    margin-inline: auto;
  }

  .page-home .hero__title {
    max-width: var(--home-hero-column-max);
    font-size: var(--home-fluid-hero-title);
    line-height: 1.08;
  }

  .page-home .hero__text {
    max-width: min(100%, 19.375rem);
    font-size: var(--home-fluid-body-rte);
    line-height: 1.47;
    margin-top: 0;
  }

  .page-home .hero__divider {
    width: 48px;
    margin-top: 18px;
    gap: 8px;
  }

  .page-home .hero__divider span {
    width: 7px;
    height: 7px;
  }

  .page-home .hero__finder {
    width: 100%;
    max-width: var(--home-hero-column-max);
    margin-top: 0;
    flex-direction: column;
    gap: clamp(1rem, 3vw, 1.25rem);
  }

  .page-home .search-shell,
  .page-home .hero__finder > .pill {
    width: 100%;
    flex-basis: auto;
  }

  .page-home .search-shell {
    min-height: 65px;
    padding: 10px;
    order: 1;
  }

  .page-home .search-shell .btn {
    flex-basis: 45px;
    width: 45px;
    min-height: 45px;
    padding: 0;
    gap: 0;
    font-size: 0;
  }

  .page-home .search-shell .btn .icon {
    width: 16px;
    height: 16px;
  }

  .page-home .search-shell .btn .btn__text {
    display: none;
  }

  .page-home .search-shell input {
    font-size: 18px;
  }

  .page-home .hero__finder > .pill {
    order: 2;
    min-width: 0;
    min-height: 65px;
    font-size: 20px;
  }

  .page-home .hero__jump {
    display: inline-flex;
    margin-top: 22px;
    font-size: 18px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: underline;
  }

  .page-home .section-about {
    width: min(100% - clamp(1.25rem, 4vw, 2rem), 900px);
    padding-top: clamp(3rem, 8vw, 4.5rem);
    padding-bottom: clamp(2rem, 5vw, 2.625rem);
  }

  .page-home .section-about .split-panel {
    grid-template-areas:
      "card"
      "image";
    grid-template-columns: 1fr;
    gap: clamp(1rem, 3vw, 1.125rem);
  }

  .page-home .about-media,
  .page-home .about-card {
    min-height: 0;
    aspect-ratio: auto;
  }

  .page-home .about-media {
    aspect-ratio: 358 / 276;
  }

  .page-home .about-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
  }

  .page-home .about-card {
    padding: clamp(2.5rem, 8vw, 3.75rem) clamp(1rem, 4vw, 1.25rem);
    border-radius: 10px;
  }

  .page-home .about-card .content-card__title {
    margin-bottom: 0;
    font-size: var(--home-fluid-levi-section);
    text-align: center;
  }

  .page-home .about-card .content-card__text {
    font-size: var(--home-fluid-body-rte);
    line-height: 1.47;
    text-align: center;
  }

  .page-home .about-card .content-card__text strong {
    margin-bottom: 10px;
    font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.5rem);
  }

  .page-home .section-process {
    padding-top: clamp(2rem, 5vw, 3.125rem);
    padding-bottom: clamp(4rem, 12vw, 7.375rem);
  }

  .page-home .section-process .section-heading {
    margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
    font-size: var(--home-fluid-levi-section);
  }

  .page-home .section-process .process-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--home-fluid-process-stack-gap);
  }

  .page-home .section-process .process-card {
    width: min(100%, 405px);
    height: auto;
    min-height: 360px;
    padding: 32px 24px 104px;
}

  .page-home .section-process .process-card__title {
    font-size: var(--home-fluid-process-card-title);
    line-height: 1.2;
  }

  .page-home .section-process .process-card__text {
    font-size: var(--home-fluid-body-rte);
    line-height: 1.47;
  }

  .page-home .section-process .process-card__step {
    width: 108px;
    height: 108px;
    bottom: -36px;
  }

  .page-home .section-process .process-card__step span {
    font-size: 40px;
  }

  .page-home .segula-selection-section {
    display: flex;
    flex-direction: column;
    padding: clamp(2.5rem, 8vw, 3.75rem) clamp(1rem, 4vw, 1.25rem);
    gap: clamp(1rem, 3vw, 1.25rem);
  }

  .page-home .segula-selection-content {
    display: contents;
  }

  .page-home .segula-selection-copy {
    order: 1;
    align-items: flex-end;
    text-align: right;
  }

  .page-home .segula-selection-grid {
    order: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 16px;
  }

  .page-home .segula-selection-grid .segula-item {
    border-radius: 11.316px;
  }

  .page-home .segula-selection-grid .segula-item__thumb {
    aspect-ratio: 150.879 / 100.335;
    margin-bottom: 8px;
  }

  .page-home .segula-selection-grid .segula-item__label {
    font-size: 20px;
  }

  .page-home .segula-selection-content .section-heading {
    align-self: center;
    width: 100%;
    font-size: var(--home-fluid-levi-section);
    text-align: center;
  }

  .page-home .segula-selection-content p {
    min-height: 0;
    font-size: var(--home-fluid-body-rte);
    line-height: 1.47;
    text-align: right;
  }

  .page-home .segula-selection-content .cta-button {
    order: 3;
    align-self: center;
    margin: 0 auto;
    min-height: 42px;
    padding: 12px 32px;
    font-size: 20px;
  }

  .page-home .why-segula-wrapper {
    display: none;
  }

  .page-home .section-progress {
    width: min(100% - 32px, 900px);
  }

  .page-home .progress-card {
    padding: 60px 20px;
    border-radius: 10px;
  }

  .page-home .progress-title {
    font-size: var(--home-fluid-levi-section);
    margin-bottom: 20px;
  }

  .page-home .progress-bar {
    width: min(100%, 300px);
    margin-bottom: 20px;
  }

  .page-home .progress-track {
    height: 4px;
  }

  .page-home .progress-badge {
    width: 53px;
    height: 53px;
    font-size: 20px;
    inset-inline-end: calc(var(--progress-value) - 26.5px);
  }

  .page-home .progress-stats {
    flex-direction: column;
    align-items: center;
    gap: 27px;
  }

  .page-home .progress-stat {
    gap: 27px;
  }

  .page-home .progress-stat-number {
    font-size: var(--home-fluid-levi-section);
  }

  .page-home .progress-stat-label {
    font-size: clamp(1.125rem, 1rem + 0.55vw, 1.5rem);
  }

  .page-home .faq-section {
    padding-bottom: 56px;
  }

  .page-home .faq-section .section-heading {
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    font-size: var(--home-fluid-levi-section);
  }

  .page-home #routes .choice-grid {
    grid-template-columns: 1fr;
  }

  .page-home #routes .choice-card {
    min-height: 0;
    padding: clamp(1.75rem, 5vw, 2.5rem) clamp(1.25rem, 4vw, 1.5rem) clamp(1.75rem, 4vw, 2.125rem);
    border-radius: 7.783px;
  }

  .page-home #routes .choice-card__text {
    font-size: var(--home-fluid-body-rte);
    line-height: 1.55;
  }

  .page-home #routes .choice-card .btn {
    font-size: clamp(1rem, 0.9rem + 0.45vw, 1.25rem);
  }

  .page-home .faq-columns {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .page-home .faq-stack:nth-child(2) {
    display: none;
  }

  .page-home .faq-item {
    border-radius: 25.942px;
  }

  .page-home .faq-question {
    gap: 12px;
    padding: 5px 10.377px;
    min-height: 39px;
  }

  .page-home .faq-question__text {
    font-size: 16px;
  }

  .page-home .faq-toggle {
    width: 6.226px;
    height: 6.226px;
  }

  .page-home .faq-toggle::before {
    width: 6.226px;
    height: 1.5px;
  }

  .page-home .faq-toggle::after {
    width: 1.5px;
    height: 6.226px;
  }

  .page-home .faq-answer {
    padding: 0 14px 14px;
  }

  .page-home .faq-answer p {
    font-size: 16px;
  }

  .page-home .faq-section + .section--tight {
    padding-top: 13px;
  }

  .page-home .cta-band {
    width: min(100%, 358px);
    gap: 26px;
  }

  .page-home .cta-band .section-heading {
    font-size: var(--home-fluid-levi-section);
  }

  .page-home .cta-band .btn {
    min-width: 0;
    width: 100%;
    font-size: 20px;
  }

  .page-home .segulot-grid .segula-card:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 620px) {
  .page-home .hero::before {
    background-size: 100% 100%, 182% auto;
    background-position: center, left -235px top -8px;
    opacity: 0.24;
  }

  .page-home .site-brand {
    width: 104px;
    height: 105px;
    flex: 0 0 104px;
    margin-top: 4px;
    margin-inline-start: 0;
    filter: none;
  }

  .page-home .mobile-nav {
    top: 20px;
    inset-inline-start: 0;
  }

  .page-home .hero__content {
    padding-top: clamp(2rem, 6vw, 3.125rem);
  }

  .page-home .hero__title {
    max-width: var(--home-hero-column-max);
    font-size: var(--home-fluid-hero-title);
    line-height: 1.08;
    letter-spacing: -0.01em;
  }

  body.home #routes {
    padding-bottom: 16px;
  }

  body.home #routes + section {
    padding-top: 16px;
  }
}

/* Homepage process-to-routes seam 20260714 */
.page-home .section-process {
  padding-top: 38px;
  padding-bottom: 46px;
}

.page-home #routes {
  padding-top: 24px;
  padding-bottom: 34px;
}

.page-home #routes + .section {
  padding-top: 22px;
  padding-bottom: 20px;
}

.page-home .why-segula-wrapper {
  padding-top: 36px;
  padding-bottom: 18px;
}

.page-home .faq-section {
  padding-top: 40px;
  padding-bottom: 44px;
}

.page-home .faq-section ~ .section--tight {
  padding-top: 8px;
  padding-bottom: 24px;
}

@media (max-width: 900px) {
  .page-home .section-process {
    padding-top: 32px;
    padding-bottom: 40px;
  }

  .page-home #routes {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .page-home #routes + .section {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .page-home .why-segula-wrapper {
    padding-top: 30px;
    padding-bottom: 16px;
  }

  .page-home .faq-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .page-home .faq-section ~ .section--tight {
    padding-top: 6px;
    padding-bottom: 20px;
  }
}

@media (max-width: 620px) {
  .page-home .section-process {
    padding-top: 28px;
    padding-bottom: 62px;
  }

  .page-home .section-process .process-grid {
    gap: 82px;
  }

  .page-home .section-process .process-card {
    height: auto;
    min-height: 0;
    padding: 24px 20px 76px;
    gap: 16px;
  }

  .page-home .section-process .process-card__step {
    bottom: -48px;
  }

  .page-home #routes {
    padding-top: 24px;
    padding-bottom: 20px;
  }

  .page-home #routes + .section {
    padding-top: 10px;
    padding-bottom: 14px;
  }

  .page-home .why-segula-wrapper {
    padding-top: 26px;
    padding-bottom: 14px;
  }

  .page-home .faq-section {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .page-home .faq-section ~ .section--tight {
    padding-top: 0;
    padding-bottom: 16px;
  }
}