/* First section */
.first-section {
  position: relative;
  z-index: var(--page-z);
  min-height: 112vh;
  padding-top: 120px;
  overflow: visible;
  color: var(--color-white);
  background: none;
}

/* השחור מימין לשמאל, שנעלם למטה */
.first-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--overlay-z);
  pointer-events: none;
  background: var(--gradient-dark-side);
  -webkit-mask-image: var(--mask-dark-fade-bottom);
  mask-image: var(--mask-dark-fade-bottom);
}

/* מעבר לשמנת — בהתחלה מוסתר, מופיע רק כשמתחילים לגלול */
.first-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: var(--cream-overlay-z);
  pointer-events: none;
  opacity: 0;
  background: var(--gradient-cream-window);
  transition: opacity var(--transition-fade);
  -webkit-mask-image: var(--mask-cream-fade-bottom);
  mask-image: var(--mask-cream-fade-bottom);
}

/* רק אחרי שמתחילים לגלול — המעבר לשמנת מופיע */
body.has-scrolled .first-section::after {
  opacity: 1;
}

/* תוכן הסקשן */
.first-section > * {
  position: relative;
  z-index: var(--content-z);
}

/* התמונה מעל השחור, אבל מתחת לעימום השמנת */
.first-section-img {
  position: absolute;
  left: 80px;
  bottom: -80px;
  height: 92vh;
  max-width: 50vw;
  object-fit: contain;
  z-index: var(--image-z);
}
/* First section text content - added */
.first-section-content {
  position: relative;
  z-index: var(--content-z);

  width: 50%;
  min-height: calc(112vh - 120px);
  margin-right: 0;
  margin-left: auto;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 0 7vw 80px 40px;
  direction: rtl;
  text-align: center;
  color: var(--color-white);
}

.first-section-content::before {
  content: "";
  position: absolute;
  inset: clamp(18px, 3vw, 42px) clamp(10px, 2vw, 28px);
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(circle at 50% 48%, rgba(19, 32, 43, 0.54), rgba(19, 32, 43, 0.22) 56%, transparent 74%);
  filter: blur(10px);
  pointer-events: none;
}

.first-section-content .eyebrow {
  display: grid;
  grid-template-columns: minmax(82px, 1fr) auto minmax(82px, 1fr);
  align-items: center;
  gap: 22px;
  width: min(720px, 100%);
  margin: 0 auto 18px;
  color: var(--color-cream-light);
  font-size: clamp(20px, 1.55vw, 27px);
  font-weight: 900;
}

.first-section-content .eyebrow::before,
.first-section-content .eyebrow::after {
  content: "";
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(234, 212, 154, 0.92),
    transparent
  );
}

.first-section-content .eyebrow span {
  background: linear-gradient(
    90deg,
    #d0a954 0%,
    #fff5cb 24%,
    #c5963f 45%,
    #fff9df 58%,
    #d0a954 78%,
    #fff5cb 100%
  );
  background-size: 240% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
  animation: shimmerText 4.5s ease-in-out infinite;
}

@keyframes shimmerText {
  0% {
    background-position: 120% 50%;
  }

  50% {
    background-position: 0% 50%;
  }

  100% {
    background-position: -120% 50%;
  }
}

.first-section-content h1 {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-cream-light);
  font-size: clamp(40px, 4.15vw, 69px);
  font-weight: 900;
  line-height: 1.12;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 32px rgba(0, 0, 0, 0.34);
}

.first-section-content h1 span {
  display: block;
}

.no-break {
  display: inline;
  white-space: nowrap;
}

.gold-line {
  margin-top: 10px;
  background: linear-gradient(180deg, #fff6d8 0%, #efcf90 48%, #d49d68 100%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 16px 28px rgba(0, 0, 0, 0.42);
}

.hero-text {
  width: min(620px, 100%);
  margin: 24px auto 0;
  color: #fffdf8;
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.55;
  text-align: center;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.48);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 204px;
  min-height: 58px;
  padding: 0 30px;

  border-radius: var(--radius-small);
  font-size: 17px;
  font-weight: 900;

  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.hero-button:hover,
.hero-button:focus-visible {
  transform: translateY(-2px);
}

.hero-button-primary {
  border: 1px solid rgba(239, 220, 167, 0.7);
  background: linear-gradient(180deg, #f4dfaa, #c99d48);
  color: var(--color-cream-light);
  box-shadow:
    0 16px 34px rgba(142, 103, 31, 0.3),
    inset 0 1px 0 rgba(255, 250, 240, 0.42);
}

.hero-button-secondary {
  border: 1px solid rgba(239, 220, 167, 0.62);
  background: rgba(255, 250, 240, 0.1);
  color: var(--color-cream-light);
  box-shadow:
    inset 0 0 0 1px rgba(255, 250, 240, 0.08),
    0 12px 30px rgba(0, 0, 0, 0.14);
}
/* Second section */
.second-section {
  position: relative;
  z-index: var(--page-z);
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  color: var(--color-text-dark);
  background: none;
  isolation: isolate;

  display: grid;
  grid-template-columns: minmax(780px, 1.22fr) minmax(420px, 0.78fr);
  grid-template-areas: "houses content";
  align-items: start;
  gap: clamp(8px, 1.2vw, 20px);
  padding: 38px clamp(18px, 3vw, 56px) clamp(138px, 10vw, 190px);
  direction: ltr;
}

/* רקע הסקשן השני עם חלון שקוף לאורך */
.second-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--gradient-cream-window);
}
.second-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.45;

  background:
    radial-gradient(circle at 18% 18%, rgba(201, 168, 76, 0.18), transparent 30%),
    radial-gradient(circle at 38% 36%, rgba(239, 225, 199, 0.22), transparent 32%),
    linear-gradient(
      115deg,
      transparent 0 36%,
      rgba(201, 168, 76, 0.10) 36% 37%,
      transparent 37% 100%
    );

  -webkit-mask-image: linear-gradient(
    to right,
    black 0%,
    black 68%,
    transparent 72%,
    transparent 100%
  );

  mask-image: linear-gradient(
    to right,
    black 0%,
    black 68%,
    transparent 72%,
    transparent 100%
  );
}

.second-section-roof {
  --section-roof-color: #a87343;

  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  height: clamp(132px, 10vw, 190px);
  pointer-events: none;
}

.second-section-roof::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-roof-color);
  clip-path: polygon(0 100%, 50% 0, 100% 100%);
  transform-origin: bottom center;
}

.second-section-roof::after {
  content: "";
  position: absolute;
  top: clamp(18px, 1.7vw, 30px);
  right: clamp(19%, 24vw, 31%);
  width: clamp(42px, 3.7vw, 66px);
  height: clamp(72px, 6vw, 110px);
  background: var(--section-roof-color);
  transform-origin: bottom center;
}

body.reveal-ready .roof-reveal {
  opacity: 1;
}

body.reveal-ready .roof-reveal::before,
body.reveal-ready .roof-reveal::after {
  opacity: 0;
  transform: translateY(112%);
  transition:
    opacity 0.35s ease,
    transform 1.05s cubic-bezier(0.16, 0.88, 0.24, 1);
}

body.reveal-ready .roof-reveal.is-visible::before,
body.reveal-ready .roof-reveal.is-visible::after {
  opacity: 1;
  transform: translateY(0);
}
.second-section-content {
  position: relative;
  z-index: 2;
  grid-area: content;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  justify-self: end;
  align-self: center;
  max-width: 520px;
  margin-right: clamp(18px, 3vw, 56px);
  padding-top: 0;
  transform: translateX(-20px);
  direction: rtl;
  text-align: center;
}

body.reveal-ready .copy-reveal,
body.reveal-ready .heading-text-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

body.reveal-ready .copy-reveal.is-visible,
body.reveal-ready .heading-text-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.second-section-content > h2:not(.section-title),
.second-section-content > p:not(.section-kicker):not(.section-lead) {
  display: none;
}

.section-kicker {
  margin-bottom: 14px;
  color: var(--color-gold);
  font-size: clamp(17px, 1.3vw, 21px);
  font-weight: 900;
}

.second-section-content .section-title {
  margin-bottom: 16px;
  color: #fffdf8;
  font-size: clamp(34px, 3vw, 52px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow:
    0 2px 0 rgba(19, 32, 43, 0.28),
    0 6px 18px rgba(0, 0, 0, 0.68),
    0 24px 46px rgba(0, 0, 0, 0.38);
}

.second-section-content .section-title span {
  display: block;
}

.second-section-content .section-title-gold {
  color: #d79a73;
  text-shadow:
    0 1px 0 rgba(255, 253, 248, 0.28),
    0 5px 16px rgba(108, 60, 34, 0.58),
    0 20px 38px rgba(0, 0, 0, 0.26);
}

.section-title-divider {
  display: grid;
  grid-template-columns: minmax(54px, 1fr) auto minmax(54px, 1fr);
  align-items: center;
  gap: 14px;
  width: min(360px, 100%);
  margin: 0 auto 22px;
}

.section-title-divider span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(215, 154, 115, 0.95));
}

.section-title-divider span:last-child {
  background: linear-gradient(90deg, rgba(215, 154, 115, 0.95), transparent);
}

.section-title-divider i {
  position: relative;
  width: 34px;
  height: 18px;
}

.section-title-divider i::before,
.section-title-divider i::after {
  content: "";
  position: absolute;
  border: 2px solid #d79a73;
  filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.22));
}

.section-title-divider i::before {
  left: 4px;
  top: 5px;
  width: 18px;
  height: 9px;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  transform: rotate(-10deg);
}

.section-title-divider i::after {
  right: 3px;
  top: 2px;
  width: 14px;
  height: 8px;
  border-left: 0;
  border-bottom: 0;
  transform: skewY(-26deg) rotate(-6deg);
}

.second-section-content .section-lead {
  max-width: 480px;
  color: #fffdf8;
  font-size: clamp(18px, 1.2vw, 22px);
  font-weight: 800;
  line-height: 1.72;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(19, 32, 43, 0.46),
    0 4px 10px rgba(0, 0, 0, 0.72),
    0 14px 28px rgba(0, 0, 0, 0.46);
}
.section-consult-button {
  position: relative;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 230px;
  min-height: 62px;
  margin-top: 28px;
  padding: 0 34px;

  border-radius: 8px;
  border: 1px solid rgba(239, 220, 167, 0.48);

  background: linear-gradient(
    180deg,
    #b98a5d 0%,
    #9f7148 100%
  );

  color: #fffdf8;
  font-size: 18px;
  font-weight: 900;
  text-align: center;

  box-shadow:
    0 18px 38px rgba(19, 32, 43, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.section-consult-button::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -80%;
  width: 55%;
  height: 180%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );
  transform: rotate(25deg);
  transition: right 0.65s ease;
}

.section-consult-button::after {
  content: "←";
  position: relative;
  font-size: 20px;
  font-weight: 900;
  transform: translateX(0);
  transition: transform 0.22s ease;
}

.section-consult-button:hover,
.section-consult-button:focus-visible {
  transform: translateY(-3px);
  background: linear-gradient(
    180deg,
    #c59668 0%,
    #936640 100%
  );
  box-shadow:
    0 24px 48px rgba(19, 32, 43, 0.32),
    0 0 0 4px rgba(201, 168, 76, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.section-consult-button:hover::before,
.section-consult-button:focus-visible::before {
  right: 130%;
}

.section-consult-button:hover::after,
.section-consult-button:focus-visible::after {
  transform: translateX(-5px);
}

.section-consult-button:active {
  transform: translateY(0);
  box-shadow:
    0 12px 26px rgba(19, 32, 43, 0.22),
    inset 0 2px 8px rgba(0, 0, 0, 0.16);
}
/* ===== Mortgage build section - roof shape with cards ===== */
.mortgage-build-section {
  position: relative;
  z-index: var(--page-z);
  min-height: 58vh;
  margin-top: 0;
  padding: clamp(38px, 4vw, 64px) clamp(24px, 5vw, 86px) clamp(20px, 3vw, 46px);
  overflow: visible;
  color: var(--color-text-dark);
  background:
    linear-gradient(
      180deg,
      #a87343 0%,
      #a87343 clamp(430px, 33vw, 560px),
      rgba(168, 115, 67, 0) clamp(430px, 33vw, 560px),
      rgba(168, 115, 67, 0) 100%
    );
}

/* טקסטורה עדינה */
.mortgage-build-section::before {
  display: none;
}

/* הפס הכהה למטה שהכרטיסים יוצאים ממנו */
.mortgage-build-section::after {
  display: none;
}

/* צורת הגג הגדולה */
.mortgage-roof {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.roof-line {
  position: absolute;
  top: 116px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b48743, #f2d58e, #b48743);
  box-shadow:
    0 10px 22px rgba(201, 168, 76, 0.18),
    0 1px 0 rgba(255, 255, 255, 0.55);
}

.roof-line-left {
  left: -3%;
  width: 54%;
  transform: rotate(-5.6deg);
  transform-origin: right center;
}

.roof-line-right {
  right: -3%;
  width: 54%;
  transform: rotate(5.6deg);
  transform-origin: left center;
}

.roof-chimney {
  position: absolute;
  top: 82px;
  right: 11%;
  width: 68px;
  height: 86px;
  border: 4px solid rgba(180, 135, 67, 0.82);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.roof-chimney::before {
  content: "";
  position: absolute;
  top: -12px;
  right: -4px;
  left: -4px;
  height: 14px;
  border-radius: 4px 4px 0 0;
  background: #172231;
}

/* תוכן */
.mortgage-roof,
.roof-line,
.roof-chimney {
  display: none;
}

.mortgage-build-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: 58vh;
  margin: clamp(-118px, -7vw, -72px) auto 0;
  display: grid;
  align-content: start;
}

.mortgage-build-head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding-top: 0;
}

.mortgage-build-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 168, 76, 0.42);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.48);
  box-shadow:
    0 16px 34px rgba(19, 32, 43, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.mortgage-build-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  opacity: 0.88;
}

.mortgage-build-kicker {
  margin: 0 0 8px;
  color: #b48743;
  font-size: 18px;
  font-weight: 900;
}

.mortgage-build-head h2 {
  margin: 0;
  color: #13202b;
  font-size: clamp(38px, 4vw, 66px);
  font-weight: 900;
  line-height: 1.08;
  text-align: center;
}

.mortgage-build-head h2 span {
  color: rgba(239, 208, 164, 0.72);
  text-shadow: 0 1px 0 rgba(91, 58, 27, 0.18);
}

.mortgage-build-head > p:not(.mortgage-build-kicker) {
  max-width: 760px;
  margin: 20px auto 0;
  color: rgba(19, 32, 43, 0.88);
  font-size: clamp(18px, 1.25vw, 23px);
  font-weight: 700;
  line-height: 1.65;
}

/* כרטיסיות צצות */
.mortgage-build-cards {
  position: relative;
  z-index: 3;
  --build-card-gap: clamp(16px, 2vw, 28px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--build-card-gap);
  margin-top: clamp(22px, 2.3vw, 38px);
  padding-bottom: 54px;
  align-items: stretch;
  direction: rtl;
}

.mortgage-build-cards::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 50%;
  width: calc(100vw / var(--site-scale));
  height: clamp(620px, 50vw, 920px);
  transform: translateX(50%);
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      #efe2c9 0%,
      #efe2c9 34%,
      rgba(239, 226, 201, 0) 100%
    );
}

.build-card {
  position: relative;
  z-index: 0;
  min-height: 245px;
  padding: 34px 26px 46px;
  border: 1px solid rgba(201, 168, 76, 0.28);
  border-radius: 22px 22px 8px 8px;
  background:
    linear-gradient(180deg, #fffdf8, #faf6ee);
  text-align: center;
  direction: rtl;
  box-shadow:
    0 24px 44px rgba(19, 32, 43, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.48) inset;
  overflow: visible;
  transform: translateY(0);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.build-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(201, 168, 76, 0.20), transparent 44%);
  transition: opacity 0.25s ease;
}

.build-card:hover,
.build-card:focus-within {
  transform: translateY(-10px);
  border-color: rgba(201, 168, 76, 0.58);
  box-shadow:
    0 34px 64px rgba(19, 32, 43, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.62) inset;
}

.build-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 10px;
  border-radius: 0 0 8px 8px;
  background: #a87343;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.build-card > * {
  position: relative;
  z-index: 1;
}

.build-card:hover::before,
.build-card:focus-within::before {
  opacity: 1;
}

.build-card:hover::after,
.build-card:focus-within::after {
  opacity: 1;
}

.build-card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
}

.build-card-icon img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter:
    sepia(1)
    saturate(1.15)
    hue-rotate(350deg)
    brightness(0.92);
  opacity: 0.82;
}

.build-card h3 {
  position: relative;
  margin: 0;
  color: #13202b;
  font-size: clamp(20px, 1.35vw, 25px);
  font-weight: 900;
  line-height: 1.25;
}

.build-card h3::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  margin: 16px auto 14px;
  border-radius: 999px;
  background: #c9a84c;
}

.build-card p {
  position: relative;
  max-width: 260px;
  margin: 0 auto;
  color: rgba(19, 32, 43, 0.72);
  font-size: clamp(14px, 0.95vw, 17px);
  line-height: 1.65;
}

/* אפקט כניסה לכרטיסים */
.mortgage-build-action {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: center;
  margin: clamp(4px, 0.8vw, 10px) auto clamp(4px, 0.7vw, 12px);
  direction: rtl;
}

.mortgage-meeting-button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 58px;
  padding: 0 34px;
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #c0965f 0%, #9f7045 100%);
  color: #fffdf8;
  font-size: clamp(17px, 1.05vw, 20px);
  font-weight: 900;
  text-align: center;
  box-shadow:
    0 18px 38px rgba(19, 32, 43, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.mortgage-meeting-button::after {
  content: "\2190";
  margin-right: 10px;
  font-size: 20px;
  transition: transform 0.22s ease;
}

.mortgage-meeting-button:hover,
.mortgage-meeting-button:focus-visible {
  transform: translateY(-3px);
  background:
    linear-gradient(180deg, #caa269 0%, #936640 100%);
  box-shadow:
    0 24px 48px rgba(19, 32, 43, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mortgage-meeting-button:hover::after,
.mortgage-meeting-button:focus-visible::after {
  transform: translateX(-5px);
}

.advisor-resume-section {
  position: relative;
  z-index: 6;
  box-sizing: border-box;
  width: 100vw;
  min-height: auto;
  padding-top: clamp(58px, 6vw, 96px);
  padding-right: clamp(18px, 3vw, 52px);
  padding-bottom: clamp(28px, 3vw, 46px);
  padding-left: 0;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: transparent;
  color: #fffdf8;
}

.advisor-resume-section::before {
  display: none;
}

.advisor-resume-inner {
  position: relative;
  z-index: 7;
  width: min(1680px, calc(100% - clamp(12px, 2vw, 40px)));
  margin: 0 auto 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "photo card";
  align-items: stretch;
  gap: 0;
  direction: ltr;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}

.advisor-resume-photo {
  grid-area: photo;
  position: relative;
  z-index: 7;
  width: 100%;
  min-width: 0;
  min-height: clamp(640px, 42vw, 780px);
  aspect-ratio: auto;
  display: grid;
  align-items: start;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #fffdf8, #f7f0e2);
  box-shadow: none;
}

.advisor-resume-photo::before {
  display: none;
}

.advisor-resume-photo img {
  position: relative;
  z-index: 1;
  width: 78%;
  height: auto;
  max-height: 66%;
  margin-top: clamp(34px, 4vw, 60px);
  object-fit: contain;
  object-position: center center;
  border-radius: 10px;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.32));
  transform: translateX(25%);
}

.advisor-resume-card {
  grid-area: card;
  position: relative;
  z-index: 8;
  direction: rtl;
  width: 100%;
  min-width: 0;
  min-height: clamp(640px, 42vw, 780px);
  display: grid;
  align-content: center;
  padding: clamp(34px, 4vw, 58px);
  border: 0;
  border-left: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #fffdf8, #f7f0e2);
  color: #13202b;
  box-shadow: none;
}

.advisor-resume-card::before {
  display: none;
}

.advisor-resume-page {
  margin: 0 0 12px;
  color: #b48743;
  font-size: clamp(16px, 1.05vw, 19px);
  font-weight: 900;
}

.advisor-resume-card h2 {
  margin: 0 0 26px;
  color: #13202b;
  font-size: clamp(38px, 3.8vw, 64px);
  font-weight: 900;
  line-height: 1.05;
}

.advisor-resume-card h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 20px;
  border-radius: 999px;
  background: #c9a84c;
}

.advisor-resume-card ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.advisor-resume-card li {
  position: relative;
  padding-right: 28px;
  color: rgba(19, 32, 43, 0.78);
  font-size: clamp(18px, 1.25vw, 23px);
  font-weight: 600;
  line-height: 1.55;
}

.advisor-resume-card li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c9a84c;
  box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.12);
}

body.reveal-ready .resume-left-reveal {
  opacity: 0;
  transform: translateX(-90px);
  transition:
    opacity 0.75s ease,
    transform 0.85s cubic-bezier(0.16, 0.84, 0.24, 1);
}

body.reveal-ready .resume-left-reveal.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.partners-section {
  position: relative;
  z-index: 7;
  width: min(1500px, calc(100% - clamp(80px, 12vw, 220px)));
  max-height: 52vh;
  margin: clamp(10px, 1.5vw, 24px) auto clamp(18px, 2.2vw, 34px);
  padding: clamp(24px, 2.4vw, 34px) clamp(26px, 4vw, 58px) clamp(28px, 2.8vw, 40px);
  overflow: hidden;
  direction: rtl;
  color: #13202b;
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow:
    0 20px 48px rgba(19, 32, 43, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.partners-head {
  max-width: 860px;
  margin: 0 auto clamp(18px, 2vw, 28px);
  text-align: center;
}

.partners-kicker {
  margin: 0 0 8px;
  color: #b48743;
  font-size: clamp(13px, 0.85vw, 16px);
  font-weight: 900;
}

.partners-head h2 {
  margin: 0;
  color: #5c6070;
  font-size: clamp(26px, 2.45vw, 38px);
  font-weight: 900;
  line-height: 1.12;
}

.partners-head h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #b48743, #d8bd69, #b48743);
}

.partners-head p:last-child {
  max-width: 720px;
  margin: 12px auto 0;
  color: rgba(92, 96, 112, 0.66);
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 500;
  line-height: 1.48;
}

.partners-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(18px, 2.1vw, 30px) clamp(18px, 2.6vw, 42px);
  align-items: center;
}

.partner-logo {
  position: relative;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.partner-logo::before {
  display: none;
}

.partner-logo img {
  width: min(118px, 100%);
  height: 44px;
  max-height: 44px;
  object-fit: contain;
  filter: none;
}

.partner-logo.logo-failed::after {
  content: attr(data-name);
  max-width: 180px;
  color: #13202b;
  font-size: clamp(18px, 1.35vw, 25px);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.testimonials-section {
  position: relative;
  z-index: 7;
  width: min(1580px, calc(100% - clamp(64px, 10vw, 180px)));
  margin: 0 auto clamp(14px, 2vw, 28px);
  padding: clamp(34px, 3.6vw, 58px) clamp(28px, 5vw, 86px);
  overflow: hidden;
  direction: rtl;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(192, 122, 54, 0.28), rgba(244, 211, 153, 0.18)),
    rgba(255, 248, 235, 0.72);
  border: 1px solid rgba(180, 135, 67, 0.24);
  box-shadow:
    0 22px 54px rgba(91, 58, 27, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(8px);
}

.testimonials-head {
  max-width: 860px;
  margin: 0 auto clamp(24px, 3vw, 42px);
  text-align: center;
}

.testimonials-kicker {
  margin: 0 0 10px;
  color: #9f7045;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 900;
}

.testimonials-head h2 {
  margin: 0;
  color: #13202b;
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 900;
  line-height: 1.12;
}

.testimonials-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #9f7045, #e0b36c, #9f7045);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.testimonial-card {
  min-height: 168px;
  padding: clamp(20px, 2.2vw, 30px);
  display: grid;
  align-content: space-between;
  gap: 18px;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.54);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 16px 34px rgba(91, 58, 27, 0.10);
}

.testimonial-card p {
  margin: 0;
  color: rgba(19, 32, 43, 0.76);
  font-size: clamp(15px, 1.02vw, 18px);
  font-weight: 600;
  line-height: 1.7;
}

.testimonial-card strong {
  color: #8f603b;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 900;
}

.quick-lead-bar {
  position: fixed;
  right: clamp(18px, 3vw, 44px);
  bottom: clamp(14px, 2vw, 28px);
  left: clamp(18px, 3vw, 44px);
  z-index: 80;
  direction: rtl;
  transform: translateY(calc(100% + 34px));
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    transform 0.34s cubic-bezier(0.18, 0.86, 0.26, 1);
}

body.quick-lead-visible .quick-lead-bar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

body.quick-lead-bump .quick-lead-bar {
  animation: quickLeadBump 0.62s cubic-bezier(0.18, 0.86, 0.26, 1);
}

.quick-lead-form {
  width: min(1560px, 100%);
  min-height: 88px;
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(180px, 0.75fr) minmax(200px, 0.85fr) minmax(200px, 0.85fr) 180px;
  gap: 12px;
  align-items: center;
  border-radius: 26px;
  border: 1px solid rgba(180, 135, 67, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.82), rgba(245, 237, 221, 0.72)),
    rgba(255, 253, 248, 0.70);
  box-shadow:
    0 18px 38px rgba(19, 32, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(12px);
}

.quick-lead-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: center;
  color: #13202b;
}

.quick-lead-title span {
  display: none;
}

.quick-lead-title h2 {
  margin: 0;
  font-size: clamp(18px, 1.15vw, 24px);
  font-weight: 900;
  line-height: 1.12;
}

.quick-lead-form label {
  min-width: 0;
}

.quick-lead-form input,
.quick-lead-form select {
  width: 100%;
  min-height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(180, 135, 67, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.62);
  color: #13202b;
  font-size: clamp(16px, 1vw, 19px);
  font-weight: 700;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.quick-lead-form input::placeholder {
  color: rgba(19, 32, 43, 0.42);
}

.quick-lead-form select {
  appearance: auto;
}

.quick-lead-form input:focus,
.quick-lead-form select:focus {
  border-color: rgba(180, 135, 67, 0.62);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

.quick-lead-form button {
  min-height: 56px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #d9c36a 0%, #b9933e 100%);
  color: #13202b;
  font-size: clamp(18px, 1.15vw, 24px);
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 12px 22px rgba(142, 103, 31, 0.23),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.quick-lead-status {
  position: absolute;
  right: 34px;
  bottom: -26px;
  margin: 0;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.quick-lead-privacy {
  grid-column: 1 / -1;
  margin: -4px 6px 0;
  color: rgba(19, 32, 43, 0.58);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.quick-lead-privacy a,
.lead-form-note a {
  color: #8f603b;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes quickLeadBump {
  0%,
  100% {
    transform: translateY(0);
  }

  42% {
    transform: translateY(-10px);
  }
}

.contact-section {
  position: relative;
  z-index: var(--page-z);
  padding: clamp(8px, 1.3vw, 18px) clamp(22px, 5vw, 86px) clamp(34px, 4vw, 64px);
  direction: rtl;
  color: #13202b;
}

.contact-shell {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 58px);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.95), rgba(248, 238, 219, 0.88)),
    rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(201, 168, 76, 0.24);
  box-shadow:
    0 28px 70px rgba(19, 32, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.contact-copy {
  display: grid;
  align-content: center;
}

.contact-kicker {
  margin: 0 0 12px;
  color: #b48743;
  font-size: clamp(15px, 1vw, 18px);
  font-weight: 900;
}

.contact-copy h2 {
  margin: 0;
  color: #13202b;
  font-size: clamp(34px, 3.6vw, 62px);
  font-weight: 900;
  line-height: 1.08;
}

.contact-copy h2::after {
  content: "";
  display: block;
  width: 66px;
  height: 3px;
  margin: 22px 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(90deg, #b48743, #d8bd69, #b48743);
}

.contact-copy > p:not(.contact-kicker) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(19, 32, 43, 0.70);
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 600;
  line-height: 1.7;
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-methods a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  min-height: 44px;
  color: rgba(19, 32, 43, 0.80);
}

.contact-methods span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(180, 135, 67, 0.16);
  color: #9f7045;
  font-weight: 900;
}

.contact-methods strong {
  font-size: clamp(16px, 1.08vw, 20px);
  font-weight: 900;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 3vw, 38px);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.66);
  border: 1px solid rgba(201, 168, 76, 0.20);
  box-shadow: 0 18px 42px rgba(19, 32, 43, 0.10);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  color: rgba(19, 32, 43, 0.72);
  font-size: 15px;
  font-weight: 900;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(180, 135, 67, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #13202b;
  outline: none;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.lead-form textarea {
  min-height: 118px;
  padding-block: 14px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(180, 135, 67, 0.68);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.12);
}

.lead-form-wide,
.lead-form button,
.lead-form-note,
.lead-form-status {
  grid-column: 1 / -1;
}

.lead-form button {
  min-height: 58px;
  border: 1px solid rgba(239, 220, 167, 0.48);
  border-radius: 10px;
  background: linear-gradient(180deg, #c0965f 0%, #9f7045 100%);
  color: #fffdf8;
  font-size: clamp(17px, 1.08vw, 20px);
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 18px 38px rgba(91, 58, 27, 0.20),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.lead-form button:hover,
.lead-form button:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #caa269 0%, #936640 100%);
  box-shadow:
    0 22px 46px rgba(91, 58, 27, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.lead-form-note,
.lead-form-status {
  margin: 0;
  color: rgba(19, 32, 43, 0.56);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.lead-form-status:not(:empty) {
  color: #8f603b;
  font-weight: 900;
}

.site-footer {
  position: relative;
  z-index: var(--page-z);
  padding: 34px clamp(22px, 5vw, 86px);
  direction: rtl;
  color: rgba(19, 32, 43, 0.72);
  background: linear-gradient(180deg, rgba(248, 238, 219, 0.96), rgba(232, 213, 178, 0.96));
  border-top: 1px solid rgba(180, 135, 67, 0.26);
}

.footer-inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: clamp(18px, 3vw, 46px);
  align-items: center;
}

.footer-inner img {
  width: 154px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.16));
}

.footer-inner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
}

.footer-inner nav a {
  color: rgba(19, 32, 43, 0.74);
  font-size: 15px;
  font-weight: 800;
  transition: color 0.18s ease;
}

.footer-inner nav a:hover,
.footer-inner nav a:focus-visible {
  color: #9f7045;
}

.legal-page {
  position: relative;
  z-index: var(--page-z);
  min-height: 100vh;
  padding: 130px clamp(18px, 5vw, 86px) 54px;
  direction: rtl;
  color: #13202b;
}

.legal-shell {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid rgba(201, 168, 76, 0.24);
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(248, 238, 219, 0.90)),
    rgba(255, 253, 248, 0.90);
  box-shadow:
    0 28px 70px rgba(19, 32, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.legal-kicker {
  margin: 0 0 12px;
  color: #b48743;
  font-weight: 900;
}

.legal-shell h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 900;
  line-height: 1.06;
}

.legal-shell h2 {
  margin: 32px 0 12px;
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 900;
}

.legal-shell p,
.legal-shell li {
  color: rgba(19, 32, 43, 0.76);
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 500;
  line-height: 1.75;
}

.legal-shell ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0 22px 0 0;
}

.legal-note {
  margin-top: 32px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(201, 168, 76, 0.12);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 26px;
  border-radius: 10px;
  background: linear-gradient(180deg, #c0965f 0%, #9f7045 100%);
  color: #fffdf8;
  font-weight: 900;
}

.build-card.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.build-card.reveal.is-visible {
  animation: buildCardPop 0.7s cubic-bezier(0.17, 0.95, 0.28, 1.18) forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes buildCardPop {
  0% {
    opacity: 0;
    transform: translateY(44px) scale(0.96);
  }

  70% {
    opacity: 1;
    transform: translateY(-8px) scale(1.015);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.cplx-houses {
  position: relative;
  z-index: 2;
  grid-area: houses;
  display: grid;
  grid-template-columns: repeat(3, clamp(300px, 20vw, 340px));
  justify-content: end;
  align-items: start;
  row-gap: clamp(16px, 1.2vw, 24px);
  column-gap: 80px;
  direction: rtl;
  align-self: start;
  transform: translate(-34px, -12px);
  filter: drop-shadow(0 16px 24px rgba(19, 32, 43, 0.13));
}

.cplx-house {
  position: relative;
  aspect-ratio: 300 / 258;
  min-height: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(22px);
  margin-inline: -10px;
}

.cplx-services-heading {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 14px;
  margin-top: -18px;
  margin-bottom: 18px;
  direction: rtl;
}

.cplx-services-heading img {
   width: clamp(82px, 6vw, 110px);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(19, 32, 43, 0.12));
}

.cplx-services-heading p {
  color: var(--color-text-dark);
  font-size: clamp(30px, 2.65vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  text-shadow: none;
}

.cplx-house::before {
  display: none;
}

.cplx-house:nth-child(even) {
  margin-top: 0;
}

.cplx-house.is-visible {
  animation: houseCardIn 0.65s ease forwards;
  animation-delay: var(--delay, 0ms);
}

.house-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 5px 5px rgba(19, 32, 43, 0.08));
  z-index: 1;
}

.house-fill {
  fill: #fffdf8;
  stroke: none;
}

.house-line {
  fill: none;
  stroke: #c9a84c;
  stroke-width: 2.2;
  stroke-linecap: square;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 680;
  stroke-dashoffset: 680;
}

.cplx-house.is-visible .house-line {
  animation: drawHouse 1.75s ease forwards;
  animation-delay: calc(var(--delay, 0ms) + 180ms);
}

.cplx-house-body {
  position: absolute;
  inset: 106px 52px 38px;
  z-index: 2;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "rule rule"
    "text text";
  align-items: center;
  align-content: start;
  row-gap: 11px;
  column-gap: 14px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  text-align: right;
  direction: ltr;
  overflow-wrap: anywhere;
  word-break: normal;
}

.cplx-icon {
  position: static;
  grid-area: icon;
  display: block;
  width: 54px;
  height: 54px;
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(19, 32, 43, 0.09));
}

.cplx-house.is-visible .cplx-icon {
  animation: iconSpinIn 1.7s cubic-bezier(0.08, 0.78, 0.1, 1) both;
  animation-delay: calc(var(--delay, 0ms) + 0.35s);
}

.cplx-house h3 {
  grid-area: title;
  width: 100%;
  margin: 0;
  color: var(--color-text-dark);
  font-size: clamp(17px, 1vw, 21px);
  font-weight: 900;
  line-height: 1.12;
  white-space: normal;
  text-wrap: balance;
  text-shadow: 0 3px 8px rgba(19, 32, 43, 0.08);
  direction: rtl;
  text-align: right;
}

.cplx-house p {
  grid-area: text;
  width: 100%;
  max-width: none;
  margin: 0;
  color: rgba(19, 32, 43, 0.72);
  font-size: clamp(13px, 0.82vw, 15.5px);
  line-height: 1.38;
  white-space: normal;
  text-wrap: pretty;
  direction: rtl;
  text-align: right;
}

.cplx-house-body > div {
  display: contents;
}

.cplx-house-body::after {
  content: "";
  grid-area: rule;
  width: 100%;
  height: 1px;
  background: rgba(19, 32, 43, 0.28);
}

@keyframes drawHouse {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes houseCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealUp {
  from {
    opacity: 0;
    clip-path: inset(100% 0 0);
    transform: translateY(34px);
  }

  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translateY(0);
  }
}

@keyframes iconSpinIn {
  from {
    opacity: 0;
    transform: rotate(-220deg) scale(0.58);
  }

  58% {
    opacity: 1;
    transform: rotate(18deg) scale(1.06);
  }

  78% {
    opacity: 1;
    transform: rotate(-5deg) scale(1.01);
  }

  92% {
    opacity: 1;
    transform: rotate(1.5deg) scale(1);
  }

  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cplx-house,
  .cplx-house.is-visible,
  .copy-reveal,
  .copy-reveal.is-visible,
  .heading-text-reveal,
  .heading-text-reveal.is-visible {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }

  .house-line,
  .cplx-house.is-visible .house-line {
    stroke-dashoffset: 0;
    animation: none;
  }

  .cplx-house.is-visible .cplx-icon {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
