/* ========================================
   OVRENAE — Main CSS
   Hero تیره سینمایی + بقیه سایت روشن
   نسخه نهایی با اصلاحات حرفه‌ای
   سبک لوکس معماری (Minotti, Molteni, Poliform)
======================================== */

:root {
  /* ===== طلایی شامپاینی (دقیقاً مطابق لوگو) ===== */
  --accent: #B89B5E;
  --accent-glow: #D4B87A;
  --accent-dark: #8F7743;
  --accent-soft: #C9AD73;
  
  /* ===== پس‌زمینه (روشن برای بقیه سایت) ===== */
  --bg: #FFFFFF;
  --surface: #FAFAFA;
  --surface-light: #F5F5F5;
  --surface-white: #FFFFFF;
  
  /* ===== متن ===== */
  --text: #1A1A1A;
  --muted: #6B6B6B;
  --muted-soft: #8E8E8E;
  --text-light: #666666;
  
  /* ===== خطوط و سایه‌ها ===== */
  --line: rgba(0, 0, 0, 0.06);
  --line-strong: rgba(0, 0, 0, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 18px 45px rgba(0, 0, 0, 0.10);
  --shadow-soft: 0 20px 50px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 12px 40px rgba(184, 155, 94, 0.35);
  
  /* ===== فاصله‌ها ===== */
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 42px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 120px;
  --space-6xl: 180px;
  
  /* ===== انیمیشن‌ها ===== */
  --ease: cubic-bezier(0.2, 0.9, 0.4, 1.1);
  --ease-cinematic: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ========================================
   RESET & BASE
======================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* ===== کاهش انیمیشن ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ========================================
   تایپوگرافی
======================================== */

h1, h2, h3, h4 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  color: var(--text);
}

h3 {
  font-size: clamp(22px, 1.5vw, 28px);
  line-height: 1.3;
  color: var(--text);
}

h4 {
  font-size: 16px;
  line-height: 1.4;
  color: var(--text);
}

p {
  color: var(--muted);
  font-size: 16px;
}

.muted {
  color: var(--muted);
}

.muted-soft {
  color: var(--muted-soft);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== فوکوس ===== */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent);
  color: #1A1A1A;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 1001;
}

.skip-link:focus {
  top: 0;
}

/* ========================================
   NAVIGATION
======================================== */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(20px, 4vw, 80px);
  min-height: 70px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
  transition: all 0.4s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.logo-image {
  height: clamp(36px, 5vw, 48px);
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-soft);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: #1A1A1A !important;
  padding: 8px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin: 5px 0;
  transition: 0.3s ease;
}

/* ========================================
   LANGUAGE SWITCHER
======================================== */

.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(0, 0, 0, 0.04);
  padding: 3px 6px;
  border-radius: 30px;
  border: 1px solid var(--line);
  margin-left: 8px;
}

.lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted-soft);
  padding: 4px 10px;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-family: 'Inter', sans-serif;
}

.lang-switcher button:hover {
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
}

.lang-switcher button.active {
  background: var(--accent);
  color: #1A1A1A;
}

/* ========================================
   CONTAINER
======================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 48px);
}

/* ========================================
   HERO — نسخه سینمایی لوکس (بدون Glass Card)
======================================== */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #1A1A1A;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.05) brightness(0.92);
}

/* ===== Overlay نرم گرادینت (سینمایی و لوکس) ===== */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.45) 0%,
    rgba(20, 20, 20, 0.18) 40%,
    rgba(20, 20, 20, 0.05) 70%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ===== محتوای Hero (مستقیماً روی عکس) ===== */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 6vw;
  background: none;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
  margin: 0;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 6px;
  color: #D8BF8A;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.hero-line {
  width: 70px;
  height: 2px;
  background: var(--accent);
  margin-bottom: var(--space-lg);
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: #FFFFFF;
}

.hero h1 span {
  color: #D4B87A;
}

.hero-subhead {
  font-size: 20px;
  font-weight: 500;
  color: #D8BF8A;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.hero p {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: var(--space-xl);
  font-size: 17px;
  line-height: 1.7;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 36px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: all 0.35s var(--ease);
  display: inline-block;
  cursor: pointer;
  border-radius: 12px;
}

.btn-primary {
  background: var(--accent);
  color: #1A1A1A;
  border: none;
}

.btn-primary:hover {
  background: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.9);
}

/* ===== Features ===== */
.hero-features-wrapper {
  position: relative;
  z-index: 3;
  transform: translateY(-40px);
  margin-top: 0;
  padding-bottom: var(--space-xl);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.feature-box {
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.feature-box:last-child {
  border-right: none;
}

.feature-icon {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}

.feature-box h4 {
  color: var(--accent);
  margin-bottom: 4px;
  font-size: 15px;
}

.feature-box p {
  font-size: 12px;
  color: var(--muted-soft);
}

/* ========================================
   SECTIONS
======================================== */

.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

.section-quote {
  padding-bottom: 0;
}

.section-alt {
  background: var(--surface-light);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: var(--space-md);
  color: var(--text);
}

.section-subtitle {
  font-size: 11px;
  letter-spacing: 6px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.section-divider {
  width: 70px;
  height: 2px;
  background: var(--accent);
  margin: var(--space-md) 0 var(--space-xl);
}

/* ========================================
   TWO-TONE LIGHT PALETTE
======================================== */

#categories.section,
#how-it-works.section {
  background: #FFFFFF !important;
}

#applications.section,
#why.section {
  background: #F8F8F8 !important;
}

#quick-quote.section {
  background: #FFFFFF !important;
}

#categories .section-title,
#applications .section-title,
#how-it-works .section-title,
#why .section-title {
  color: #1A1A1A;
}

#categories .section-subtitle,
#applications .section-subtitle,
#how-it-works .section-subtitle,
#why .section-subtitle {
  color: #B89B5E;
}

#categories .section-divider,
#applications .section-divider,
#how-it-works .section-divider,
#why .section-divider {
  background: #B89B5E;
}

/* ========================================
   CATEGORIES
======================================== */

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

.category-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  border-radius: 12px;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.6s var(--ease-cinematic), box-shadow 0.6s ease;
  background: var(--surface-white);
}

.category-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-hover);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-cinematic);
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.02));
  transition: background 0.4s ease;
}

.category-card:hover .category-overlay {
  background: linear-gradient(to top, rgba(184, 155, 94, 0.20), rgba(0, 0, 0, 0.05));
}

.category-overlay h3 {
  color: #FFFFFF;
  font-size: 22px;
  margin-bottom: 6px;
  font-weight: 600;
}

.category-overlay p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   PROJECTS / APPLICATIONS
======================================== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.project-item {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  border-radius: 12px;
  aspect-ratio: 4/5;
  background: var(--surface-white);
  transition: transform 0.5s var(--ease), box-shadow 0.5s ease;
  box-shadow: var(--shadow);
}

.project-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.project-item:hover img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  padding: var(--space-xl);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent);
  transition: bottom 0.4s ease;
}

.project-item:hover .project-overlay {
  bottom: 0;
}

.project-overlay h4 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 6px;
}

.project-overlay p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  margin-bottom: 10px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  font-size: 10px;
  color: var(--accent);
  background: rgba(184, 155, 94, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(184, 155, 94, 0.15);
}

/* ========================================
   HOW IT WORKS
======================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-xl);
}

.step {
  text-align: center;
  padding: var(--space-xl);
  background: var(--surface-white);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow);
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-hover);
}

.step-number {
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #1A1A1A;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  margin: 0 auto var(--space-md);
}

.step-icon {
  font-size: 32px;
  margin-bottom: var(--space-md);
  display: block;
}

.step h3 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--muted-soft);
}

/* ========================================
   WHY
======================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-lg);
}

.why-point {
  padding: var(--space-lg);
  background: var(--surface-white);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.why-point h3 {
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 6px;
}

.why-point p {
  font-size: 12px;
  color: var(--muted-soft);
}

.why-positioning {
  text-align: center;
  max-width: 700px;
  margin: var(--space-2xl) auto 0;
  padding: var(--space-lg) var(--space-xl);
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.why-positioning p {
  font-size: 16px;
  color: var(--accent);
  font-weight: 500;
}

/* ========================================
   QUOTE FORM
======================================== */

.quote-section {
  background: var(--surface-white);
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-title {
  font-size: clamp(24px, 2.5vw, 34px);
  color: var(--text);
}

.quick-form {
  max-width: 600px;
  margin: var(--space-xl) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}

.form-group label .required {
  color: #e74c3c;
  margin-left: 4px;
}

.quick-form input,
.quick-form textarea,
.quick-form select {
  background: var(--surface-light);
  border: 1px solid var(--line);
  padding: 14px 18px;
  color: var(--text);
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.quick-form input:focus,
.quick-form textarea:focus,
.quick-form select:focus {
  outline: none;
  border-color: var(--accent);
}

.quick-form button {
  background: var(--accent);
  color: #1A1A1A;
  border: none;
  padding: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 12px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.quick-form button:hover {
  background: var(--accent-glow);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.form-message {
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-size: 16px;
  display: none;
}

.form-message.success {
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid #27ae60;
  color: #27ae60;
  display: block;
}

.form-message.error {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  color: #e74c3c;
  display: block;
}

/* ========================================
   FOOTER
======================================== */

footer {
  background: var(--surface-white);
  border-top: 1px solid var(--line);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-col h4 {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 3px;
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  color: var(--muted-soft);
  text-decoration: none;
  margin-bottom: 8px;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-col span.address {
  display: block;
  color: var(--muted-soft);
  font-size: 13px;
  margin-bottom: 8px;
}

.contact-channels {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.contact-channels a {
  background: rgba(184, 155, 94, 0.08);
  padding: 6px 12px;
  border-radius: 12px;
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted-soft);
}

/* ========================================
   REVEAL ANIMATION
======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-cinematic);
}

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

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 1100px) {
  .hero-features {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .feature-box {
    padding: 32px 24px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  
  .feature-box:nth-child(3) {
    border-bottom: none;
  }
  
  .feature-box:nth-child(4) {
    border-bottom: none;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }
}

@media (max-width: 768px) {
  
  /* ===== HERO ===== */
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }
  
  .hero-content {
    max-width: 100%;
    padding: 0 5vw;
  }
  
  /* Overlay تیره‌تر برای موبایل */
  .hero-bg-overlay {
    background: linear-gradient(
      90deg,
      rgba(20, 20, 20, 0.60) 0%,
      rgba(20, 20, 20, 0.30) 50%,
      rgba(20, 20, 20, 0.10) 100%
    );
  }
  
  /* ===== تایپوگرافی بهینه موبایل ===== */
  h1 {
    font-size: 28px;
    line-height: 1.15;
  }
  
  .hero-subhead {
    font-size: 15px;
  }
  
  .hero p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .section-title,
  h2 {
    font-size: 24px;
  }
  
  p {
    font-size: 14px;
  }
  
  .hero-features-wrapper {
    transform: translateY(0);
    padding-bottom: 0;
  }
  
  /* ===== FEATURES — ۲ ستون کارتی ===== */
  .hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
  }
  
  .feature-box {
    display: block;
    text-align: center;
    padding: 16px 12px;
    background: var(--surface-white);
    border: 1px solid var(--line);
    border-radius: 12px;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: var(--shadow);
  }
  
  .feature-box:last-child {
    border-bottom: 1px solid var(--line) !important;
  }
  
  .feature-icon {
    font-size: 28px;
    margin-bottom: 4px;
    display: block;
    width: auto;
    text-align: center;
  }
  
  .feature-box h4 {
    font-size: 13px;
    margin-bottom: 2px;
  }
  
  .feature-box p {
    font-size: 10px;
    margin: 0;
  }
  
  /* ===== SECTIONS ===== */
  .section {
    padding: 40px 0;
  }
  
  /* ===== CATEGORIES — ۲ ستون ===== */
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .category-card {
    aspect-ratio: 1/1;
  }
  
  .category-overlay {
    padding: 16px;
  }
  
  .category-overlay h3 {
    font-size: 14px;
    margin-bottom: 2px;
  }
  
  .category-overlay p {
    display: none;
  }
  
  /* ===== APPLICATIONS — ۱ ستون ===== */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .project-item {
    aspect-ratio: 16/10;
  }
  
  .project-overlay {
    bottom: 0 !important;
    padding: 20px !important;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent) !important;
  }
  
  .project-overlay p {
    font-size: 12px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px !important;
  }
  
  .project-overlay h4 {
    font-size: 16px !important;
    margin-bottom: 2px !important;
  }
  
  .project-tags {
    display: none !important;
  }
  
  /* ===== STEPS & WHY ===== */
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .quote-section {
    padding: var(--space-xl) var(--space-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  
  /* ===== NAV — موبایل ===== */
  .hamburger {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100svh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xl);
    transition: right 0.4s var(--ease);
    z-index: 1000;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-links a {
    font-size: 18px;
    color: var(--text);
  }
  
  .nav-links .lang-switcher {
    margin-top: 16px;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 30px;
    border: 1px solid var(--line);
    display: flex;
    gap: 4px;
  }
  
  .nav-links .lang-switcher button {
    font-size: 14px;
    padding: 6px 14px;
    background: transparent;
    border: none;
    color: var(--muted-soft);
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif;
  }
  
  .nav-links .lang-switcher button:hover {
    color: var(--text);
    background: rgba(0, 0, 0, 0.04);
  }
  
  .nav-links .lang-switcher button.active {
    background: var(--accent);
    color: #1A1A1A;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* ========================================
   UTILITY
======================================== */

img,
video,
iframe,
svg,
canvas,
picture,
figure {
  max-width: 100%;
  height: auto;
}

.table-wrap {
  overflow-x: auto;
  max-width: 100%;
}

/* ========================================
   SELECTION
======================================== */

::selection {
  background: var(--accent);
  color: #1A1A1A;
}

::-moz-selection {
  background: var(--accent);
  color: #1A1A1A;
}

/* ========================================
   SCROLLBAR
======================================== */

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

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

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-glow);
}