.banner-wrap,
.banner-wrap * {
  box-sizing: border-box;
}

.banner-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 0 40px;
  font-family: Tahoma, "IRANSans", "Vazirmatn", sans-serif;
  direction: rtl;
}

.banner-hero {
  --banner-height: 86vh;
  --banner-gold: #d8b48c;
  --banner-ink: #2b2118;
  position: relative;
  display: block;
  width: 100%;
  min-height: 560px;
  height: var(--banner-height, 86vh);
  overflow: hidden;
  background: #1c1611;
  color: var(--banner-title, #fff);
}

.banner-stage,
.banner-bgs,
.banner-bg,
.banner-shade {
  position: absolute;
  inset: 0;
}

.banner-bg {
  background-color: #1c1611;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  filter: blur(var(--banner-image-blur, 0px));
  transition: opacity 1.8s ease, filter 0.3s ease;
}

.banner-bg.is-active {
  opacity: 1;
}

.banner-bg.is-zoom {
  animation: bannerKen 7s ease-out forwards;
}

.banner-shade {
  background: var(--banner-overlay, #0c0907);
  opacity: var(--banner-overlay-opacity, 0.55);
  mask-image: linear-gradient(90deg, transparent 0%, #000 72%);
}

.banner-wrap--left .banner-shade {
  mask-image: linear-gradient(270deg, transparent 0%, #000 72%);
}

.banner-bars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.banner-bar {
  position: absolute;
  border-radius: 999px;
  background-image: var(--bar-image);
  background-size: var(--stage-w) var(--stage-h);
  background-position: calc(var(--x) * -1) calc(var(--y) * -1);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: left 2s cubic-bezier(0.4, 0, 0.2, 1), top 2s cubic-bezier(0.4, 0, 0.2, 1), width 2s cubic-bezier(0.4, 0, 0.2, 1), height 2s cubic-bezier(0.4, 0, 0.2, 1), background-image 1.4s ease, background-position 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-orb {
  position: absolute;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: scale(0.86);
  transition: left 2s ease, top 2s ease, width 2s ease, height 2s ease, opacity 0.8s ease, transform 0.9s ease, background-image 0.8s ease;
}

.banner-orb.is-on {
  opacity: 1;
  transform: scale(1);
}

.banner-copy {
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  z-index: 3;
  width: min(var(--banner-copy-width, 680px), 88%);
  padding: 90px 6% 56px 24px;
  text-align: right;
}

.banner-wrap--left .banner-copy {
  right: auto;
  left: 0;
  padding: 90px 24px 56px 6%;
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: var(--banner-eyebrow-size, 14px);
  font-weight: 700;
  color: var(--banner-gold);
}

.banner-eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: currentColor;
}

.banner-title {
  margin: 0 0 16px;
  font-size: clamp(22px, 4vw, var(--banner-title-size, 42px));
  line-height: 1.45;
  font-weight: 800;
  color: var(--banner-title, #fff);
}

.banner-text {
  margin: 0 0 28px;
  max-width: 540px;
  font-size: var(--banner-text-size, 16px);
  line-height: 1.9;
  color: var(--banner-text, #f3efe9);
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 14px;
}

.banner-btn--solid {
  background: var(--banner-btn1-bg, var(--banner-gold));
  color: var(--banner-btn1-text, #2b2118) !important;
}

.banner-btn--ghost {
  border: 1px solid var(--banner-btn2-border, #fff);
  color: var(--banner-btn2-text, #fff) !important;
  background: var(--banner-btn2-bg, transparent);
}

.banner-dots {
  position: absolute;
  left: 28px;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.banner-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.banner-dot.is-active {
  width: 24px;
  background: #fff;
}

.banner-bottom {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% - 48px);
  max-width: 1180px;
  margin-top: var(--banner-mind-offset, 40px);
  margin-right: auto;
  margin-bottom: 36px;
  margin-left: auto;
  padding: 0;
}

.banner-mind-parent {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  text-align: center;
}

.banner-mind-parent span {
  font-size: var(--banner-features-heading-size, 22px);
  line-height: 1.45;
  font-weight: 800;
  color: var(--banner-features-heading, #1b4332);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.banner-features {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
  min-height: 220px;
  margin: 0;
  background: transparent;
  color: var(--banner-features-title, #2b2118);
}

.banner-feature {
  display: flex;
  flex: 0 0 var(--banner-child-size, 180px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--banner-child-size, 180px);
  height: var(--banner-child-size, 180px);
  max-width: none;
  margin: 0;
  padding: 16px 14px;
  text-align: center;
  background: var(--banner-features-bg, #fff);
  border-radius: var(--banner-feature-radius, 50%);
  box-shadow: 0 14px 32px rgba(26, 20, 16, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-feature:hover,
.banner-feature:focus {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(26, 20, 16, 0.2);
  outline: none;
}

.banner-features.is-arc .banner-feature {
  position: absolute;
  margin: 0;
  transform: translateX(-50%);
}

.banner-features.is-arc .banner-feature:hover,
.banner-features.is-arc .banner-feature:focus {
  transform: translateX(-50%) translateY(-4px);
}

.banner-feature::before {
  content: "★";
  display: block;
  margin-bottom: 8px;
  color: var(--banner-star, #e0d3c0);
  font-size: 16px;
}

.banner-feature.has-icon::before,
.banner-wrap--no-stars .banner-feature::before {
  display: none;
}

.banner-feature__icon {
  display: block;
  width: calc(var(--banner-child-size, 180px) * 0.18);
  height: calc(var(--banner-child-size, 180px) * 0.18);
  margin: 0 auto 8px;
  object-fit: contain;
}

.banner-feature strong {
  display: block;
  margin-bottom: 6px;
  font-size: var(--banner-feature-title-size, 16px);
  color: var(--banner-features-title, #2b2118);
}

.banner-feature span {
  display: block;
  font-size: var(--banner-feature-text-size, 13px);
  color: var(--banner-features-text, #6b5c4d);
  line-height: 1.7;
}

.banner-wrap--layout-grid .banner-features,
.banner-wrap--layout-grid .banner-features.is-arc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(var(--banner-child-size, 180px), 1fr));
  justify-items: center;
  min-height: 0;
  height: auto !important;
}

.banner-wrap--layout-grid .banner-features .banner-feature,
.banner-wrap--layout-row .banner-features .banner-feature {
  position: relative;
  left: auto !important;
  top: auto !important;
  transform: none;
}

.banner-wrap--no-cards .banner-feature {
  background: transparent;
  box-shadow: none;
}

.banner-wrap--no-cards .banner-feature:hover,
.banner-wrap--no-cards .banner-feature:focus {
  box-shadow: none;
}

.banner-wrap--no-shapes .banner-bars,
.banner-wrap--no-shapes .banner-orb,
.banner-wrap--no-dots .banner-dots {
  display: none !important;
}

@keyframes bannerKen {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (max-width: 980px) {
  .banner-hero {
    height: auto;
    min-height: 520px;
  }

  .banner-copy,
  .banner-wrap--left .banner-copy {
    position: relative;
    right: auto;
    left: auto;
    width: 100%;
    padding: 56px 20px 108px;
    text-align: right;
  }

  .banner-orb--sm,
  .banner-bar:nth-child(n+5) {
    display: none;
  }

  .banner-dots {
    left: 50%;
    transform: translateX(-50%);
  }

  .banner-bottom {
    width: calc(100% - 24px);
  }

  .banner-mind-parent {
    margin-bottom: 16px;
  }

  .banner-features {
    gap: 16px;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .banner-copy,
  .banner-wrap--left .banner-copy {
    padding-bottom: 112px;
  }

  .banner-mind-parent {
    width: auto;
    height: auto;
    margin-bottom: 16px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .banner-mind-parent span {
    font-size: min(var(--banner-features-heading-size, 22px), 14px);
  }

  .banner-title {
    font-size: 24px;
  }

  .banner-text {
    font-size: 14px;
  }

  .banner-actions {
    flex-direction: column;
  }

  .banner-btn {
    width: 100%;
  }

  .banner-orb--lg {
    width: 28vw !important;
    height: 28vw !important;
    top: auto !important;
    bottom: 14%;
    left: 12px !important;
  }

  .banner-features,
  .banner-features.is-arc {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    min-height: 0;
    height: auto !important;
  }

  .banner-features.is-arc .banner-feature {
    position: relative;
    left: auto !important;
    top: auto !important;
    transform: none;
  }

  .banner-features.is-arc .banner-feature:hover,
  .banner-features.is-arc .banner-feature:focus {
    transform: translateY(-4px);
  }

  .banner-feature {
    width: min(var(--banner-child-size, 180px), 42vw);
    height: min(var(--banner-child-size, 180px), 42vw);
    flex-basis: min(var(--banner-child-size, 180px), 42vw);
    padding: 10px;
  }

  .banner-feature strong {
    font-size: 13px;
  }

  .banner-feature span {
    font-size: 11px;
    line-height: 1.5;
  }
}
