:root {
  --ink: #fff6df;
  --muted: #cabd95;
  --paper: #02090c;
  --surface: rgba(5, 24, 28, 0.82);
  --surface-strong: rgba(8, 35, 40, 0.94);
  --deep: #010507;
  --deep-2: #071e23;
  --gold: #c7993e;
  --gold-bright: #ffe59a;
  --gold-dark: #7f551b;
  --green: #0f5961;
  --terracotta: #9d5a2a;
  --line: rgba(255, 222, 138, 0.18);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
  font-family: "Cairo", "Segoe UI", Tahoma, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 229, 154, 0.13), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(15, 89, 97, 0.34), transparent 30rem),
    linear-gradient(180deg, #010507 0%, #041318 48%, #02090c 100%);
  color: var(--ink);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 229, 154, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 229, 154, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 82%, transparent);
  content: "";
  animation: gridDrift 18s linear infinite;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(1, 8, 10, 0.82);
  border-bottom: 1px solid rgba(255, 222, 138, 0.14);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-text {
  display: block;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 229, 154, 0.76);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, rgba(14, 54, 60, 0.92), rgba(1, 5, 7, 0.96)),
    var(--deep);
  box-shadow:
    inset 0 0 0 2px rgba(255, 229, 154, 0.24),
    0 0 24px rgba(255, 229, 154, 0.18);
  color: #08282b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.32);
}

.brand-mark::after {
  position: absolute;
  inset: -40%;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.58), transparent 70%);
  transform: translateX(-120%) rotate(18deg);
  animation: markShine 5.2s ease-in-out infinite;
  content: "";
}

.brand-name,
.brand-subtitle {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-subtitle {
  margin-top: 4px;
  color: var(--gold-bright);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  color: rgba(255, 246, 223, 0.72);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  padding: 10px 0;
}

.nav-links a:hover {
  color: var(--gold-bright);
}

.header-action,
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-action {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(255, 229, 154, 0.38);
  background: linear-gradient(135deg, rgba(255, 229, 154, 0.18), rgba(199, 153, 62, 0.34));
  color: #fff6df;
  box-shadow: 0 12px 28px rgba(199, 153, 62, 0.18);
}

.button {
  padding: 0 22px;
}

.button:hover,
.header-action:hover {
  transform: translateY(-2px);
}

.button.primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold), var(--gold-dark));
  color: #13201f;
  box-shadow: 0 18px 42px rgba(199, 153, 62, 0.32);
}

.button.primary::after {
  position: absolute;
  inset: -120% -40%;
  background: linear-gradient(90deg, transparent 34%, rgba(255, 255, 255, 0.52), transparent 66%);
  transform: translateX(-80%) rotate(18deg);
  animation: buttonShimmer 4.6s ease-in-out infinite;
  pointer-events: none;
  content: "";
}

.button.primary > *,
.button.primary {
  z-index: 0;
}

.button.ghost {
  border: 1px solid rgba(255, 229, 154, 0.38);
  background: rgba(255, 229, 154, 0.07);
  color: #fff6df;
}

.button.full {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--deep);
  color: #fff8e8;
}

.hero-canvas,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-canvas {
  z-index: -3;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(1, 5, 7, 0.92) 0%, rgba(3, 17, 20, 0.78) 48%, rgba(1, 5, 7, 0.62) 100%),
    radial-gradient(circle at 72% 18%, rgba(255, 229, 154, 0.3), transparent 30%),
    radial-gradient(circle at 34% 74%, rgba(15, 89, 97, 0.48), transparent 36%);
}

html[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgba(1, 5, 7, 0.92) 0%, rgba(3, 17, 20, 0.78) 48%, rgba(1, 5, 7, 0.62) 100%),
    radial-gradient(circle at 28% 18%, rgba(255, 229, 154, 0.3), transparent 30%),
    radial-gradient(circle at 66% 74%, rgba(15, 89, 97, 0.48), transparent 36%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: 84svh;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 94px) 0 clamp(42px, 6vw, 84px);
}

.hero-inner > * {
  min-width: 0;
}

.hero-copy {
  min-width: 0;
  max-width: 660px;
  animation: heroFloat 8s ease-in-out infinite;
}

.avatar-showcase {
  position: relative;
  display: grid;
  float: right;
  width: clamp(190px, 24vw, 300px);
  aspect-ratio: 1;
  place-items: center;
  margin: 4px 0 20px 26px;
  perspective: 900px;
  transform-style: preserve-3d;
  isolation: isolate;
}

html[dir="rtl"] .avatar-showcase {
  float: left;
  margin: 4px 26px 20px 0;
}

.avatar-showcase::before {
  position: absolute;
  inset: 12%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 154, 0.36), transparent 64%);
  filter: blur(18px);
  animation: avatarAura 4.8s ease-in-out infinite;
  content: "";
}

.avatar-showcase::after {
  position: absolute;
  inset: 4%;
  z-index: 2;
  border-radius: 50%;
  background: linear-gradient(120deg, transparent 26%, rgba(255, 255, 255, 0.22), transparent 48%);
  mix-blend-mode: screen;
  animation: avatarSweep 5.8s ease-in-out infinite;
  content: "";
}

.company-avatar {
  position: relative;
  z-index: 1;
  width: 84%;
  height: 84%;
  border: 1px solid rgba(255, 229, 154, 0.62);
  border-radius: 50%;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 10px rgba(255, 229, 154, 0.07),
    0 0 54px rgba(255, 229, 154, 0.24);
  object-fit: cover;
  transform:
    rotateX(calc(var(--avatar-y, 0) * -0.7deg))
    rotateY(calc(var(--avatar-x, 0) * 0.7deg))
    translateZ(24px);
  animation: avatarFloat 6.5s ease-in-out infinite;
}

.avatar-orbit {
  position: absolute;
  inset: 6%;
  border: 1px solid rgba(255, 229, 154, 0.45);
  border-radius: 50%;
  animation: orbitSpin 16s linear infinite;
}

.avatar-orbit::before,
.avatar-orbit::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 18px rgba(255, 229, 154, 0.84);
  content: "";
}

.avatar-orbit::before {
  top: 13%;
  left: 11%;
}

.avatar-orbit::after {
  right: 18%;
  bottom: 8%;
}

.orbit-two {
  inset: 0;
  border-style: dashed;
  opacity: 0.65;
  transform: rotateX(68deg) rotateZ(26deg);
  animation-duration: 22s;
  animation-direction: reverse;
}

.avatar-spark {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0 50%, 34% 34%);
  filter: drop-shadow(0 0 16px rgba(255, 229, 154, 0.9));
  animation: sparkBlink 2.6s ease-in-out infinite;
}

.spark-a {
  top: 26%;
  right: 14%;
}

.spark-b {
  left: 14%;
  bottom: 26%;
  width: 12px;
  height: 12px;
  animation-delay: -1.1s;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: #fffdf7;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(3.4rem, 8vw, 7.4rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  display: block;
}

html[dir="rtl"] .hero h1 {
  text-align: right;
}

.hero-lead {
  width: 100%;
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 248, 232, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 36px 0 0;
}

.hero-stats div {
  position: relative;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.hero-stats div::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(255, 229, 154, 0.14), transparent 64%);
  transform: translateX(-120%);
  transition: transform 700ms ease;
  content: "";
}

.hero-stats div:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 229, 154, 0.4);
  background: rgba(255, 229, 154, 0.1);
}

.hero-stats div:hover::before {
  transform: translateX(120%);
}

.hero-stats dt {
  color: var(--gold-bright);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1;
}

.hero-stats dd {
  margin: 9px 0 0;
  color: rgba(255, 248, 232, 0.76);
  font-size: 0.9rem;
  line-height: 1.35;
}

.calculator-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(255, 229, 154, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 229, 154, 0.1), transparent 32%),
    rgba(5, 24, 28, 0.92);
  box-shadow: var(--shadow);
  color: var(--ink);
  animation: panelGlow 6s ease-in-out infinite;
  backdrop-filter: blur(16px);
}

.panel-heading h2,
.section-heading h2,
.section-copy h2,
.telegram-copy h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.calculator-panel .section-kicker,
.section .section-kicker,
.telegram-section .section-kicker {
  color: var(--gold-bright);
}

.loan-form {
  display: grid;
  gap: 22px;
  margin-top: 28px;
}

.field {
  display: grid;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 246, 223, 0.08);
  color: var(--ink);
  overflow: hidden;
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  background: transparent;
  color: var(--ink);
  direction: ltr;
  text-align: end;
  font-weight: 800;
}

.input-wrap span {
  padding: 0 16px;
  color: var(--gold-bright);
  font-size: 0.85rem;
  font-weight: 800;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--green);
}

.purpose-control {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.purpose-control label {
  min-width: 0;
}

.purpose-control input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.purpose-control span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 246, 223, 0.08);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.purpose-control input:checked + span {
  border-color: rgba(255, 229, 154, 0.64);
  background: rgba(255, 229, 154, 0.12);
  color: var(--gold-bright);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.result-grid > div {
  min-height: 92px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 229, 154, 0.1);
}

.result-grid .result-main {
  grid-column: 1 / -1;
  min-height: 112px;
  background:
    linear-gradient(135deg, rgba(255, 229, 154, 0.16), rgba(15, 89, 97, 0.4)),
    var(--deep);
  color: #fff8e8;
}

.result-grid span {
  display: block;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  opacity: 0.72;
}

.result-grid strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.3rem, 4vw, 2.15rem);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.result-grid strong.is-updated {
  animation: numberGlow 420ms ease;
}

.fine-print {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 36px));
  margin: 24px auto 0;
  background: rgba(255, 229, 154, 0.16);
}

.trust-item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 132px;
  padding: clamp(20px, 3vw, 28px);
  background:
    linear-gradient(145deg, rgba(255, 229, 154, 0.08), transparent 46%),
    rgba(5, 24, 28, 0.72);
  overflow: hidden;
}

.trust-item::after {
  position: absolute;
  inset: auto -20% -70% 18%;
  height: 130px;
  background: radial-gradient(circle, rgba(255, 229, 154, 0.2), transparent 62%);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
  content: "";
}

.trust-item:hover::after {
  opacity: 1;
  transform: translateY(-18px);
}

.trust-item:nth-child(2) {
  transition-delay: 100ms;
}

.trust-item:nth-child(3) {
  transition-delay: 200ms;
}

.trust-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dark));
  color: #fff8e8;
  font-size: 0.82rem;
  font-weight: 800;
}

.trust-item h2,
.telegram-action h3,
.steps-list h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.25;
}

.trust-item p,
.steps-list p,
.section-copy p,
.culture-copy p,
.telegram-copy p,
.telegram-action p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.section,
.telegram-section,
.culture-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 118px) 0;
}

.split-section,
.telegram-section,
.culture-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
}

.culture-section {
  padding-bottom: clamp(28px, 5vw, 64px);
}

.ornament-stage {
  position: relative;
  min-height: 460px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 229, 154, 0.28), transparent 28%),
    linear-gradient(150deg, #010507, #08272d 58%, #1c0f08);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ornament-stage::before,
.ornament-stage::after {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(240, 211, 138, 0.24);
  border-radius: 8px;
  content: "";
}

.ornament-stage::after {
  inset: auto 34px 34px;
  height: 110px;
  border-top-left-radius: 80px;
  border-top-right-radius: 80px;
  border-bottom: 0;
  animation: archBreath 5.5s ease-in-out infinite;
}

.lantern,
.mosaic-star,
.arch-silhouette,
.minaret {
  position: absolute;
  display: block;
}

.lantern {
  width: 46px;
  height: 72px;
  border: 2px solid rgba(240, 211, 138, 0.78);
  border-radius: 22px 22px 16px 16px;
  background:
    radial-gradient(circle at 50% 55%, rgba(240, 211, 138, 0.82), rgba(240, 211, 138, 0.14) 36%, transparent 68%);
  box-shadow: 0 0 28px rgba(240, 211, 138, 0.34);
  transform-origin: top center;
  animation: lanternSway 4.7s ease-in-out infinite;
}

.lantern::before {
  position: absolute;
  left: 50%;
  top: -58px;
  width: 1px;
  height: 58px;
  background: rgba(240, 211, 138, 0.42);
  content: "";
}

.lantern::after {
  position: absolute;
  left: 50%;
  top: -8px;
  width: 18px;
  height: 12px;
  border: 2px solid rgba(240, 211, 138, 0.78);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  transform: translateX(-50%);
  content: "";
}

.lantern-one {
  top: 82px;
  left: 22%;
}

.lantern-two {
  top: 128px;
  right: 18%;
  width: 38px;
  height: 62px;
  animation-delay: -1.8s;
}

.mosaic-star {
  width: 112px;
  height: 112px;
  border: 1px solid rgba(240, 211, 138, 0.34);
  transform: rotate(45deg);
  animation: mosaicTurn 18s linear infinite;
}

.mosaic-star::before,
.mosaic-star::after {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 248, 232, 0.16);
  content: "";
}

.mosaic-star::after {
  inset: 34px;
  background: rgba(240, 211, 138, 0.09);
}

.star-one {
  left: 44px;
  bottom: 52px;
}

.star-two {
  right: 62px;
  top: 48px;
  width: 76px;
  height: 76px;
  animation-direction: reverse;
}

.arch-silhouette {
  left: 50%;
  bottom: -8px;
  width: 210px;
  height: 260px;
  border: 3px solid rgba(240, 211, 138, 0.42);
  border-bottom: 0;
  border-radius: 110px 110px 0 0;
  transform: translateX(-50%);
  box-shadow: inset 0 0 40px rgba(5, 28, 30, 0.55);
}

.arch-silhouette::before {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 118px;
  height: 174px;
  border: 2px solid rgba(240, 211, 138, 0.34);
  border-bottom: 0;
  border-radius: 80px 80px 0 0;
  transform: translateX(-50%);
  content: "";
}

.minaret {
  bottom: 32px;
  width: 34px;
  height: 186px;
  background: linear-gradient(180deg, rgba(240, 211, 138, 0.78), rgba(185, 77, 53, 0.52));
  clip-path: polygon(50% 0, 68% 14%, 68% 100%, 32% 100%, 32% 14%);
  opacity: 0.5;
  animation: minaretGlow 5s ease-in-out infinite;
}

.minaret-one {
  left: 28%;
}

.minaret-two {
  right: 27%;
  height: 148px;
  animation-delay: -2s;
}

.culture-copy {
  align-self: center;
}

html[dir="rtl"] .culture-section .culture-copy {
  order: 1;
}

html[dir="rtl"] .culture-section .ornament-stage {
  order: 2;
}

.culture-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.08;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.values-grid article {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 229, 154, 0.1), transparent 44%),
    var(--surface);
}

.values-grid h3 {
  margin: 0;
  font-size: 0.98rem;
}

.values-grid p {
  font-size: 0.9rem;
}

.section-copy {
  position: sticky;
  top: 104px;
}

.steps-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps-list li {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  min-height: 132px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 229, 154, 0.08), transparent 44%),
    var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.steps-list li:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 229, 154, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.steps-list li:nth-child(2),
.review-card:nth-child(2) {
  transition-delay: 100ms;
}

.steps-list li:nth-child(3),
.review-card:nth-child(3) {
  transition-delay: 200ms;
}

.steps-list li > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 229, 154, 0.14);
  color: var(--gold-bright);
  font-weight: 800;
}

.section-heading {
  display: grid;
  gap: 0;
  max-width: 760px;
  margin-bottom: 32px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  position: relative;
  display: grid;
  min-height: 294px;
  align-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 229, 154, 0.12), transparent 46%),
    var(--surface);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.review-card::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 32%, rgba(255, 229, 154, 0.1), transparent 68%);
  transform: translateX(-110%);
  transition: transform 700ms ease;
  content: "";
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 229, 154, 0.42);
  box-shadow: 0 26px 76px rgba(0, 0, 0, 0.34);
}

.review-card:hover::before {
  transform: translateX(110%);
}

.stars {
  color: var(--gold-bright);
  font-size: 1rem;
  letter-spacing: 0;
}

.review-card p {
  margin: 18px 0 26px;
  color: rgba(255, 246, 223, 0.9);
  line-height: 1.65;
}

.review-card footer {
  display: grid;
  gap: 4px;
}

.review-card strong {
  font-size: 1rem;
}

.review-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.telegram-section {
  padding-top: 0;
}

.telegram-copy {
  padding: clamp(26px, 4vw, 38px);
  border-left: 5px solid var(--gold);
  background:
    linear-gradient(145deg, rgba(255, 229, 154, 0.12), transparent 48%),
    rgba(5, 24, 28, 0.76);
}

html[dir="rtl"] .telegram-copy {
  border-left: 0;
  border-right: 5px solid var(--gold);
}

.telegram-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.telegram-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 246, 223, 0.9);
  line-height: 1.55;
}

html[dir="rtl"] .telegram-list li {
  padding-right: 28px;
  padding-left: 0;
}

.telegram-list li::before {
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

html[dir="rtl"] .telegram-list li::before {
  right: 0;
  left: auto;
}

.telegram-action {
  padding: clamp(24px, 4vw, 36px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 28% 0%, rgba(255, 229, 154, 0.18), transparent 44%),
    linear-gradient(160deg, rgba(1, 5, 7, 0.95), rgba(7, 30, 35, 0.95)),
    var(--deep);
  color: #fff8e8;
  box-shadow: var(--shadow);
}

.telegram-action p {
  color: rgba(255, 248, 232, 0.76);
}

.telegram-badge {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--deep);
  font-weight: 900;
}

.telegram-action .button {
  margin-top: 24px;
}

.safety-note {
  font-size: 0.82rem;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(255, 229, 154, 0.16);
  background: rgba(1, 8, 10, 0.86);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a:last-child {
  color: var(--gold-bright);
  font-weight: 800;
}

.brand.compact .brand-mark {
  width: 38px;
  height: 38px;
  font-size: 1.25rem;
}

.floating-telegram {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 229, 154, 0.58);
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 246, 223, 0.95), rgba(255, 229, 154, 0.74) 28%, rgba(199, 153, 62, 0.88) 56%, rgba(6, 27, 33, 0.96) 100%);
  color: #fff6df;
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.34),
    0 0 28px rgba(255, 229, 154, 0.32);
  font-weight: 900;
  animation: telegramPulse 2.8s ease-in-out infinite;
}

html[dir="rtl"] .floating-telegram {
  right: auto;
  left: 18px;
}

@keyframes markShine {
  0%,
  42% {
    transform: translateX(-130%) rotate(18deg);
  }
  58%,
  100% {
    transform: translateX(130%) rotate(18deg);
  }
}

@keyframes gridDrift {
  to {
    background-position: 84px 84px, 84px 84px;
  }
}

@keyframes buttonShimmer {
  0%,
  46% {
    transform: translateX(-90%) rotate(18deg);
  }
  62%,
  100% {
    transform: translateX(90%) rotate(18deg);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes avatarFloat {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

@keyframes avatarAura {
  0%,
  100% {
    opacity: 0.48;
    transform: scale(0.94);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.05);
  }
}

@keyframes avatarSweep {
  0%,
  38% {
    transform: translateX(-32%) rotate(8deg);
    opacity: 0;
  }
  52% {
    opacity: 0.8;
  }
  72%,
  100% {
    transform: translateX(32%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes orbitSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sparkBlink {
  0%,
  100% {
    opacity: 0.32;
    transform: scale(0.82) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.18) rotate(45deg);
  }
}

@keyframes panelGlow {
  0%,
  100% {
    box-shadow: var(--shadow);
  }
  50% {
    box-shadow: 0 28px 86px rgba(202, 164, 92, 0.26);
  }
}

@keyframes numberGlow {
  0% {
    color: var(--gold-bright);
    text-shadow: 0 0 18px rgba(255, 229, 154, 0.58);
    transform: translateY(-2px);
  }
  100% {
    color: inherit;
    text-shadow: none;
    transform: translateY(0);
  }
}

@keyframes lanternSway {
  0%,
  100% {
    transform: rotate(-3deg);
    filter: brightness(1);
  }
  50% {
    transform: rotate(4deg);
    filter: brightness(1.18);
  }
}

@keyframes mosaicTurn {
  to {
    transform: rotate(405deg);
  }
}

@keyframes archBreath {
  0%,
  100% {
    opacity: 0.62;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-8px);
  }
}

@keyframes minaretGlow {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.72;
  }
}

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .hero-inner,
  .split-section,
  .telegram-section,
  .culture-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: 0;
  }

  .calculator-panel {
    max-width: 680px;
  }

  .avatar-showcase {
    float: none;
    width: min(360px, 78vw);
    margin: 26px auto 24px;
  }

  html[dir="rtl"] .avatar-showcase {
    float: none;
    margin: 26px auto 24px;
  }

  .trust-strip,
  .reviews-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .ornament-stage {
    order: 2;
    min-height: 380px;
  }

  .culture-copy {
    order: 1;
  }

  .section-copy {
    position: static;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-inline: 14px;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-subtitle {
    font-size: 0.68rem;
  }

  .site-header .brand-text {
    display: none;
  }

  .site-header .brand {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-width: 2px;
    box-shadow:
      inset 0 0 0 2px rgba(255, 229, 154, 0.34),
      0 0 28px rgba(255, 229, 154, 0.36);
  }

  .header-action {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .hero-inner,
  .section,
  .telegram-section,
  .culture-section,
  .trust-strip {
    width: min(100% - 28px, 1180px);
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 13.5vw, 3.25rem);
    line-height: 0.98;
    overflow-wrap: normal;
    white-space: normal;
  }

  .hero-copy,
  html[dir="rtl"] .hero h1 {
    text-align: center;
  }

  .hero-lead {
    max-width: 31ch;
    margin-inline: auto;
    overflow-wrap: break-word;
  }

  .avatar-showcase {
    width: min(300px, 82vw);
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats,
  .result-grid,
  .purpose-control {
    grid-template-columns: 1fr;
  }

  .result-grid .result-main {
    grid-column: auto;
  }

  .trust-item,
  .steps-list li {
    grid-template-columns: 1fr;
  }

  .review-card {
    min-height: 250px;
  }

  .ornament-stage {
    min-height: 330px;
  }

  .arch-silhouette {
    width: 168px;
    height: 210px;
  }

  .minaret-one {
    left: 18%;
  }

  .minaret-two {
    right: 18%;
  }

  .floating-telegram {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  html[dir="rtl"] .floating-telegram {
    right: auto;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-copy,
  .calculator-panel,
  .floating-telegram,
  .company-avatar,
  .avatar-showcase::before,
  .avatar-showcase::after,
  .avatar-orbit,
  .avatar-spark {
    animation: none !important;
  }
}
