.home-body {
  font-family: "Outfit", "Segoe UI", Tahoma, sans-serif;
  color: var(--ink);
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 215, 173, .35), transparent 40%),
    radial-gradient(circle at 86% 10%, rgba(255, 146, 95, .2), transparent 35%),
    linear-gradient(140deg, #f4efe4 0%, #e8dcc3 55%, #ddd2ba 100%);
  padding: 1.2rem 0 0;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.home-bg {
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  opacity: .56;
  z-index: 0;
  animation: drift 12s ease-in-out infinite alternate;
}

.home-bg-a {
  width: min(46vw, 420px);
  height: min(46vw, 420px);
  background: rgba(197, 106, 74, .33);
  top: -100px;
  right: -90px;
}

.home-bg-b {
  width: min(42vw, 370px);
  height: min(42vw, 370px);
  background: rgba(112, 137, 104, .22);
  left: -100px;
  bottom: -90px;
}
.rtl{
  direction: rtl;
}
.home-main {
  padding-bottom: 3.2rem;
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 7.2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.45rem;
  flex: 1 0 auto;
}


.home-body .site-footer {
  margin-top: auto;
}

.home-scrollspy {
  position: fixed;
  top: 50%;
  left: clamp(8px, 1.5vw, 20px);
  transform: translateY(-50%);
  z-index: 10;
  display: grid;
  gap: .38rem;
  padding: .55rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(180deg, rgba(255, 252, 245, .94), rgba(245, 235, 216, .82));
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 32px rgba(40, 27, 12, .14);
}

html[lang="ar"] .home-scrollspy {
  left: auto;
  right: clamp(8px, 1.5vw, 20px);
}

.home-scrollspy a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: .82rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 86, 66, .18);
  padding: .38rem .58rem;
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  transition: all 180ms ease;
}

.home-scrollspy a:hover {
  transform: translateX(2px);
  color: var(--accent-dark);
  border-color: rgba(194, 106, 74, .35);
}

html[dir="rtl"] .home-scrollspy a:hover {
  transform: translateX(-2px);
}

.home-scrollspy a.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
}

.home-scrollspy i {
  font-size: .8rem;
}

.home-hero,
.home-section,
.home-block {
  border-top: 1px solid rgba(255, 255, 255, .9);
  border-bottom: 1px solid rgba(209, 188, 153, .45);
  background: linear-gradient(180deg, rgba(255, 253, 246, .78), rgba(248, 239, 222, .5));
  padding: clamp(1.1rem, 2vw + .75rem, 2.15rem);
  position: relative;
}

.home-section::before,
.home-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(180px, 22%);
  height: 2px;
  background: linear-gradient(90deg, rgba(194, 106, 74, .8), rgba(194, 106, 74, 0));
}

html[dir="rtl"] .home-section::before,
html[dir="rtl"] .home-block::before {
  left: auto;
  right: 0;
  background: linear-gradient(270deg, rgba(194, 106, 74, .8), rgba(194, 106, 74, 0));
}

.home-kicker {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-dark);
}

.home-hero h1 {
  margin: .45rem 0 0;
  font-size: clamp(2rem, 4vw + .6rem, 4rem);
  max-width: 13ch;
  letter-spacing: -.02em;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.1rem;
  align-items: center;
}

.home-lead {
  margin: .95rem 0 0;
  font-size: clamp(1rem, .3vw + .95rem, 1.2rem);
  line-height: 1.62;
  max-width: 62ch;
  color: var(--ink-soft);
}

.home-language-chip {
  margin: .75rem 0 0;
  font-weight: 700;
  color: var(--accent-dark);
  font-size: .9rem;
}

.home-cta-row {
  display: flex;
  gap: .62rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  padding: .78rem 1.12rem;
  border-radius: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.home-btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  box-shadow: 0 10px 22px rgba(141, 55, 29, .28);
}

.home-btn-secondary {
  color: var(--accent-dark);
  border: 1px solid rgba(104, 86, 66, .3);
  background: rgba(255, 255, 255, .86);
}

.home-btn:hover {
  transform: translateY(-1px);
}

.home-hero-art {
  min-height: 210px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}

.home-hero-art > span {
  width: 100%;
  height: 94px;
  border-radius: 14px;
  border: 1px solid rgba(213, 187, 147, .56);
  background: linear-gradient(165deg, rgba(255, 255, 255, .95), rgba(247, 236, 214, .84));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.42rem;
  box-shadow: 0 10px 20px rgba(40, 27, 12, .1);
}

.home-hero-art > span i {
  color: var(--accent-dark);
}

.home-hero-art > span:nth-child(1) { transform: rotate(-3deg); }
.home-hero-art > span:nth-child(2) { transform: rotate(2deg); }
.home-hero-art > span:nth-child(3) { transform: rotate(1deg); }
.home-hero-art > span:nth-child(4) { transform: rotate(-2deg); }

.home-block-head p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--accent-dark);
}

.home-block-head p i {
  margin-right: .32rem;
}

html[dir="rtl"] .home-block-head p i {
  margin-right: 0;
  margin-left: .32rem;
}

.home-block-head h2 {
  margin: .52rem 0 0;
  font-size: clamp(1.35rem, 1.8vw + .78rem, 2.2rem);
  max-width: 22ch;
  letter-spacing: -.01em;
}

.home-contact-copy {
  margin: .8rem 0 0;
  color: var(--ink-soft);
  line-height: 1.64;
  max-width: 70ch;
}

.home-feature-lines,
.home-flow-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .66rem;
}

.home-feature-lines li,
.home-flow-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: .55rem;
  padding: .18rem 0 .5rem;
  border-bottom: 1px dashed rgba(104, 86, 66, .26);
  transition: background-color .18s ease;
}

.home-feature-lines li:hover,
.home-flow-list li:hover {
  background: rgba(255, 255, 255, .45);
}

html[dir="rtl"] .home-feature-lines li,
html[dir="rtl"] .home-flow-list li {
  grid-template-columns: 1fr 24px;
}

html[dir="rtl"] .home-flow-list li {
  grid-template-columns: 1fr 38px;
}

.home-feature-lines li i {
  color: var(--accent-dark);
  margin-top: .12rem;
}

.home-feature-lines li span,
.home-flow-list li span {
  color: var(--ink-soft);
}

.home-flow-list {
  counter-reset: steps;
}

.home-flow-list li {
  grid-template-columns: 38px 1fr;
}

.home-flow-list li::before {
  counter-increment: steps;
  content: counter(steps);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .82rem;
  color: #fff;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  margin-top: .08rem;
}

.home-flow-list li strong {
  grid-column: 2;
  display: block;
  margin-bottom: .22rem;
  color: var(--ink);
}

.home-flow-list li span {
  grid-column: 2;
  line-height: 1.58;
}

html[dir="rtl"] .home-flow-list li strong,
html[dir="rtl"] .home-flow-list li span {
  grid-column: 1;
}

.home-language-grid {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.home-language-grid span {
  padding: .34rem .62rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(104, 86, 66, .2);
  font-size: .78rem;
  font-weight: 700;
  color: #5b5248;
}

.home-metrics-row {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}

.home-metrics-row div {
  padding: .75rem .6rem;
  border-left: 3px solid rgba(194, 106, 74, .55);
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(249, 241, 227, .72));
}

html[dir="rtl"] .home-metrics-row div {
  border-left: 0;
  border-right: 3px solid rgba(194, 106, 74, .55);
}

.home-metrics-row strong {
  display: block;
  color: var(--accent-dark);
  font-size: 1.18rem;
}

.home-metrics-row span {
  color: var(--ink-soft);
  font-size: .86rem;
}

.home-dual-lines {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.home-dual-lines h3 {
  margin: 0;
  font-size: 1.02rem;
  color: var(--accent-dark);
}

.home-dual-lines p {
  margin: .45rem 0 0;
  color: var(--ink-soft);
  line-height: 1.62;
}

.home-dual-lines > div {
  border-top: 2px solid rgba(194, 106, 74, .35);
  padding-top: .55rem;
}

.home-contact-panel {
  display: grid;
  gap: 1.1rem;
}

.home-contact-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.home-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.home-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .home-hero-grid,
  .home-dual-lines,
  .home-metrics-row {
    grid-template-columns: 1fr;
  }

  .home-hero-art {
    min-height: 0;
  }

  .home-main {
    width: min(1120px, calc(100% - 5rem));
    gap: 1.2rem;
  }

  .home-scrollspy {
    left: 6px;
  }

  html[dir="rtl"] .home-scrollspy {
    left: auto;
    right: 6px;
  }
}

@media (max-width: 700px) {
  .home-main {
    width: min(1120px, calc(100% - 1.2rem));
    gap: 1rem;
  }

  .home-scrollspy {
    top: auto;
    bottom: .7rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    grid-auto-flow: column;
    grid-template-columns: repeat(7, max-content);
    box-shadow: 0 12px 24px rgba(40, 27, 12, .18);
  }

  html[dir="rtl"] .home-scrollspy {
    left: auto;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .home-scrollspy a span {
    display: none;
  }
}
