*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #de6200;
  --orange-light: #ff8533;
  --orange-glow: rgba(222, 98, 0, 0.18);
  --dark-1: #111112;
  --dark-2: #1a1a1b;
  --dark-3: #272728;
  --dark-4: #313133;
  --dark-5: #414143;
  --white: #f5f5f5;
  --white-dim: rgba(245, 245, 245, 0.7);
  --white-faint: rgba(245, 245, 245, 0.12);
  --border: rgba(245, 245, 245, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--dark-1);
  color: var(--white);
  overflow-x: hidden;
  direction: rtl;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark-2);
}

::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 3px;
}

.font-lalezar {
  font-family: 'Lalezar', sans-serif;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
  padding: 4px 12px;
  border: 1px solid var(--orange);
  border-radius: var(--radius-pill);
}

.section-title {
  font-family: 'Lalezar', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--white);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  max-width: 560px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(222, 98, 0, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

header {
  direction: ltr;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(17, 17, 18, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(17, 17, 18, 0.97);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo {
  height: 35px;
  width: auto;
  display: block;
}

footer .site-logo {
  height: 35px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lalezar', sans-serif;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}

.logo-text {
  font-family: 'Lalezar', sans-serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-text span {
  color: var(--orange);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--white-dim);
  font-size: 0.875rem;
  font-weight: 400;
  transition: var(--transition);
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
  transition: var(--transition);
}

nav a:hover {
  color: var(--white);
}

nav a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-1);
  padding-top: 72px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(222, 98, 0, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(222, 98, 0, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 98, 0, 0.14) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--orange-glow);
  border: 1px solid rgba(222, 98, 0, 0.3);
  border-radius: var(--radius-pill);
}

.hero-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.hero-heading {
  font-family: 'Lalezar', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-heading .accent {
  color: var(--orange);
}

.hero-body {
  font-size: 1.05rem;
  color: var(--white-dim);
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-num {
  font-family: 'Lalezar', sans-serif;
  font-size: 2rem;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--white-dim);
  margin-top: 4px;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cube-scene {
  width: 280px;
  height: 280px;
  perspective: 800px;
}

.cube {
  width: 160px;
  height: 160px;
  margin: 60px auto;
  position: relative;
  transform-style: preserve-3d;
  animation: rotateCube 12s linear infinite;
}

@keyframes rotateCube {
  from {
    transform: rotateX(25deg) rotateY(0deg);
  }

  to {
    transform: rotateX(25deg) rotateY(360deg);
  }
}

.cube-face {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 2px solid rgba(222, 98, 0, 0.5);
  background: rgba(222, 98, 0, 0.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 2px;
  padding: 6px;
}

.cube-face .dot {
  background: rgba(222, 98, 0, 0.25);
  border-radius: 2px;
  transition: var(--transition);
}

.cube-face.front {
  transform: translateZ(80px);
}

.cube-face.back {
  transform: rotateY(180deg) translateZ(80px);
}

.cube-face.right {
  transform: rotateY(90deg) translateZ(80px);
}

.cube-face.left {
  transform: rotateY(-90deg) translateZ(80px);
}

.cube-face.top {
  transform: rotateX(90deg) translateZ(80px);
}

.cube-face.bottom {
  transform: rotateX(-90deg) translateZ(80px);
}

.cube-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(222, 98, 0, 0.15);
  animation: ringPulse 3s ease-in-out infinite;
}

.cube-ring:nth-child(2) {
  inset: 20px;
  animation-delay: 0.5s;
}

.cube-ring:nth-child(3) {
  inset: 40px;
  animation-delay: 1s;
}

@keyframes ringPulse {

  0%,
  100% {
    opacity: 0.3;
  }

  50% {
    opacity: 0.8;
  }
}

.services-nav {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.services-nav-inner {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-nav-card {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 24px;
  transition: var(--transition);
  color: var(--white-dim);
  font-size: 0.9rem;
  font-weight: 700;
}

.service-nav-card:hover {
  border-color: var(--orange);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.service-nav-card .svc-icon {
  font-size: 1.4rem;
}

.badge-soon {
  font-size: 0.65rem;
  background: var(--dark-5);
  color: var(--orange);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(222, 98, 0, 0.3);
}

.how-it-works {
  padding: 100px 0;
  background: var(--dark-2);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-head .section-sub {
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px;
  right: 12.5%;
  width: 75%;
  height: 1px;
  background: linear-gradient(to left, transparent, var(--orange), transparent);
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  text-align: center;
  transition: var(--transition);
  margin: 0 8px;
}

.step-card:hover {
  border-color: var(--orange);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px var(--orange-glow);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: 'Lalezar', sans-serif;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 2;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.step-title {
  font-family: 'Lalezar', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--white);
}

.step-desc {
  font-size: 0.82rem;
  color: var(--white-dim);
  line-height: 1.7;
}

.featured-services {
  padding: 100px 0;
  background: var(--dark-1);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange-glow) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  border-color: rgba(222, 98, 0, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px var(--orange-glow);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--orange-glow);
  border: 1px solid rgba(222, 98, 0, 0.3);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: 'Lalezar', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--white);
}

.service-card p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.service-card-link:hover {
  gap: 10px;
}

.service-card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--orange-glow);
  color: var(--orange);
  border: 1px solid rgba(222, 98, 0, 0.3);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.materials {
  padding: 100px 0;
  background: var(--dark-2);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.material-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.material-card:hover {
  border-color: rgba(222, 98, 0, 0.4);
  transform: translateY(-4px);
}

.material-icon-wrap {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--dark-4);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.material-info h4 {
  font-family: 'Lalezar', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--white);
}

.material-info p {
  font-size: 0.8rem;
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 10px;
}

.material-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.material-tag {
  font-size: 0.65rem;
  background: var(--dark-5);
  color: var(--white-dim);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
}


.testimonials {
  padding: 100px 0;
  background: var(--dark-1);
  overflow: hidden;
}

.testimonials-track-wrap {
  overflow: hidden;
  margin-top: 60px;
}

.testimonials-track {
  display: flex;
  gap: 20px;
  animation: scrollTestimonials 30s linear infinite;
  width: max-content;
}

.testimonials-track:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}

.t-stars {
  color: var(--orange);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.t-quote {
  font-size: 0.875rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 20px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dark-5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lalezar', sans-serif;
  font-size: 1rem;
  color: var(--orange);
  flex-shrink: 0;
}

.t-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.t-role {
  font-size: 0.72rem;
  color: var(--white-dim);
}

.faq {
  padding: 100px 0;
  background: var(--dark-2);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.faq-item {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(222, 98, 0, 0.35);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.9rem;
  gap: 16px;
  user-select: none;
}

.faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: var(--transition);
  color: var(--orange);
}

.faq-item.open .faq-chevron {
  background: var(--orange);
  color: #fff;
  transform: rotate(180deg);
  border-color: var(--orange);
}

.faq-a {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.8;
}

.faq-item.open .faq-a {
  display: block;
}

.cta-banner {
  padding: 80px 0;
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(222, 98, 0, 0.1) 0%, transparent 50%),
    linear-gradient(315deg, rgba(222, 98, 0, 0.05) 0%, transparent 50%);
}

.cta-inner {
  position: relative;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: 'Lalezar', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 1rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact {
  padding: 100px 0;
  background: var(--dark-1);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Lalezar', sans-serif;
  font-size: 2rem;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item-text small {
  display: block;
  font-size: 0.72rem;
  color: var(--white-dim);
  margin-bottom: 2px;
}

.contact-item-text strong {
  font-size: 0.9rem;
}

footer {
  background: var(--dark-3);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin: 16px 0 24px;
  max-width: 280px;
}

.footer-trust-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-trust-logos img {
  width: 70px;
  height: 98px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--dark-4);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  color: var(--white-dim);
  transition: var(--transition);
}

.social-link:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: 'Lalezar', sans-serif;
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  text-decoration: none;
  color: var(--white-dim);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--white-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: var(--white-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--orange);
}

.scroll-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 44px;
  height: 44px;
  background: var(--orange);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 500;
  box-shadow: 0 4px 16px rgba(222, 98, 0, 0.4);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover {
  transform: translateY(-3px);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.stagger>* {
  transition-delay: calc(var(--i, 0) * 0.08s);
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-body {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 0 16px;
  }

  nav {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .materials-grid {
    grid-template-columns: 1fr;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .services-nav-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .service-nav-card {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }

  .contact-form {
    padding: 24px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .cube,
  .testimonials-track,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


.home-banner {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  margin-top: 76px;
  background: var(--dark-1);
}

.banner-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
  display: block;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(17, 17, 18, 0.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.banner-arrow:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.banner-arrow-prev {
  right: 24px;
}

.banner-arrow-next {
  left: 24px;
}

.banner-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(245, 245, 245, 0.25);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.banner-dot.is-active {
  background: var(--orange);
  width: 24px;
  border-radius: var(--radius-pill);
}

.home-intro {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}

.home-intro-text {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  color: var(--white-dim);
  font-size: 1.05rem;
  line-height: 2;
}

.home-intro-text strong {
  color: var(--white);
}

.home-squares {
  padding: 48px 0 8px;
}

.squares-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.square-card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: block;
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}

.square-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.square-card:hover img {
  transform: scale(1.05);
}

.square-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.square-card.is-soon {
  opacity: .6;
  pointer-events: none;
}

.square-card .badge-soon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: .68rem;
  background: var(--orange);
  color: #111;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}

.home-products {
  padding: 60px 0;
}

.home-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.home-product-card {
  display: block;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition);
}

.home-product-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
}

.home-product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--dark-3);
  overflow: hidden;
}

.home-product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== نشان تخفیف روی عکس - دقیقاً مثل صفحه‌ی shop ===== */
.home-product-badge-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--radius-md, 8px);
  font-size: .72rem;
  font-weight: 700;
  color: #fff;
  background: var(--clr-error, #e0433b);
}

.home-product-body {
  padding: 14px;
}

.home-product-title {
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-cost {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: .88rem;
  color: var(--orange-light);
  font-weight: 700;
}

/* ===== قیمت قبل از تخفیف - دقیقاً مثل صفحه‌ی shop ===== */
.home-product-cost-old {
  font-size: .74rem;
  font-weight: 500;
  color: var(--text-muted, #8a8a94);
  text-decoration: line-through;
}

.home-products-more {
  text-align: center;
  margin-top: 34px;
}

@media (max-width: 768px) {
  .home-banner {
    height: 220px;
    margin-top: 66px;
    width: auto;
    margin-right: 12px;
    margin-left: 12px;
    border-radius: 16px;
  }

  .banner-arrow {
    display: none;
  }

  .home-intro-text {
    font-size: .92rem;
    padding: 0 4px;
  }

  .squares-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .home-banner {
    height: 170px;
  }
}


.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.cart-icon-btn:hover {
  background: var(--dark-3);
}

.cart-icon-btn svg {
  width: 21px;
  height: 21px;
}

.cart-badge {
  position: absolute;
  top: -2px;
  left: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--orange);
  color: #111;
  font-size: .68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-avatar-link {
  text-decoration: none;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
}

.square-card .badge-new {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: .68rem;
  background: #22c55e;
  color: #06210f;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-weight: 800;
}


.fab-order {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 999;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: var(--orange);
  color: #111;
  text-decoration: none;
  font-weight: 800;
  font-size: .85rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 24px rgba(255, 133, 51, 0.35);
}

.fab-order svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .fab-order {
    display: flex;
  }
}