/* =========================================================================
   شهراب انرژی | Homepage Stylesheet (Full-Width Edition)
   ========================================================================= */

:root {
  /* -- رنگ‌های اصلی از لوگو -- */
  --green-dark: #1a5c3a;
  --green-medium: #2d8a4e;
  --green-light: #4caf7a;
  --orange-gold: #f59e3c;
  --orange-light: #f7b84d;
  --orange-deep: #e07c2e;

  --emerald-950: #0d2818;
  --emerald-800: #1a5c3a;
  --emerald-700: #2d8a4e;
  --teal-400: #4caf7a;
  --teal-300: #7acc9a;
  --teal-500: #3a9a62;
  --gold-400: #f59e3c;
  --gold-300: #f7b84d;
  --gold-500: #e07c2e;
  --cyan-500: #3ab0a8;
  --cyan-600: #2d8f87;
  --paper-50: #f8fbf9;
  --mist-100: #eaf3ed;
  --mist-200: #d4e4db;
  --ink-900: #16211d;
  --slate-600: #4a6b5a;
  --star-gold: #f59e3c;

  --font-display: "Cairo", "Vazirmatn", Tahoma, sans-serif;
  --font-body: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;

  --gutter: clamp(1.25rem, 3vw, 3rem);
  --section-y: clamp(3.5rem, 8vw, 7rem);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --shadow-soft: 0 20px 45px -20px rgba(26, 92, 58, 0.35);
  --shadow-card: 0 12px 28px -16px rgba(26, 92, 58, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------------------------------------- */
/* Reset & Base                                                         */
/* -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper-50);
  color: var(--ink-900);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; color: var(--ink-900); }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; border-radius: 4px; }

/* ---------- Container جدید با پهنای کامل ---------- */
.container {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3%, 4%);
}

/* برای المان‌هایی که باید محدود بمانند (مثل هدر و فوتر) */
.container--narrow {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3%, 4%);
}

/* ---------- تایپوگرافی و المان‌های مشترک ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em;
  color: var(--green-medium); margin-bottom: 0.85rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green-medium); display: inline-block; }
.eyebrow.on-dark { color: var(--gold-400); }
.eyebrow.on-dark::before { background: var(--gold-400); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head h2 { font-size: clamp(1.4rem, 2.7vw, 2.35rem); font-weight: 800; line-height: 1.35; }
.section-head p { margin-top: 0.9rem; color: var(--slate-600); font-size: 1.02rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.on-dark h2 { color: var(--paper-50); }
.section-head.on-dark p { color: var(--mist-200); }

.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.9rem 1.7rem; border-radius: 12px;
  font-weight: 700; font-size: 0.98rem; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { 
  background: var(--gold-400); 
  color: var(--emerald-950); 
  box-shadow: 0 14px 30px -12px rgba(245, 158, 60, 0.55); 
}
.btn-primary:hover { background: var(--gold-300); }
.btn-outline { background: transparent; border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline:hover { background: var(--mist-100); }
.btn-outline.on-dark { border-color: rgba(251, 251, 247, 0.35); color: var(--paper-50); }
.btn-outline.on-dark:hover { background: rgba(251, 251, 247, 0.1); }
.btn-ghost { background: transparent; color: var(--ink-900); border-color: var(--mist-200); }
.btn-ghost:hover { border-color: var(--green-medium); color: var(--green-medium); }

/* -------------------------------------------------------------------- */
/* Header                                                               */
/* -------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 251, 249, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist-200);
  padding-block: 1rem;
  transition: box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header .container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3%, 4%);
}
.site-header.is-scrolled { box-shadow: 0 10px 24px -20px rgba(26, 92, 58, 0.5); padding-block: 0.65rem; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: 0.65rem; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--green-dark); }
.brand__mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand__name b { color: var(--gold-400); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 0.3rem; }
.main-nav a {
  color: var(--ink-900); font-size: 0.95rem; font-weight: 600;
  padding: 0.55rem 0.9rem; border-radius: 10px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.main-nav a:hover, .main-nav a:focus-visible { background: var(--mist-100); color: var(--green-medium); }
.main-nav a.is-active { color: var(--paper-50); background: var(--green-medium); }

.header-actions { display: flex; align-items: center; gap: 0.6rem; }
.icon-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--green-dark); font-size: 0.92rem; font-weight: 700;
  padding: 0.55rem 0.9rem; border-radius: 10px; border: 1.5px solid var(--green-dark);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.icon-link:hover { background: var(--green-dark); color: var(--paper-50); }
.icon-link svg { width: 18px; height: 18px; }

.nav-toggle { display: none; background: none; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; border: 1.5px solid var(--mist-200); }
.nav-toggle svg { width: 22px; height: 22px; color: var(--green-dark); }

/* -------------------------------------------------------------------- */
/* Hero (Full-Width)                                                    */
/* -------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(76, 175, 122, 0.15), transparent 60%),
    var(--paper-50);
  padding-block: clamp(2.5rem, 7vw, 5rem);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3%, 4%);
}
.hero__content h1 {
  font-size: clamp(1rem, 3.7vw, 4rem);
  font-weight: 800;
  line-height: 1.32;
  color: var(--green-dark);
}
.hero__content h1 em { font-style: normal; color: var(--gold-400); }
.hero__content p { margin-top: 1.3rem; font-size: 1.05rem; color: var(--slate-600); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.1rem; }

.hero__trust { display: flex; align-items: center; gap: 0.9rem; margin-top: 2.3rem; }
.hero__trust .avatars { display: flex; }
.hero__trust .avatars img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--paper-50); object-fit: cover; margin-inline-start: -10px; }
.hero__trust span { font-size: 0.85rem; color: var(--slate-600); }
.hero__trust strong { color: var(--green-dark); }

.hero__media { position: relative; width: 100%; max-width: 100%; }
.hero__frame {
  clip-path: polygon(28% 0, 72% 0, 100% 28%, 100% 72%, 72% 100%, 28% 100%, 0 72%, 0 28%);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: min(100%, 520px);
  max-width: 520px;
  margin-inline: auto;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; bottom: 6%; right: -6%;
  background: var(--emerald-950); color: var(--paper-50);
  border-radius: var(--radius-md); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-soft);
  display: flex; align-items: center; gap: 0.75rem;
}
.hero__badge svg { width: 30px; height: 30px; color: var(--gold-400); flex-shrink: 0; }
.hero__badge strong { display: block; font-size: 1.15rem; font-family: var(--font-display); }
.hero__badge span { font-size: 0.78rem; color: var(--mist-200); }

/* -------------------------------------------------------------------- */
/* سایر بخش‌ها (همگی Full-Width)                                        */
/* -------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--mist-100); }

.section .container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3%, 4%);
}

/* Partners Strip */
.partners-strip { padding-block: 1.8rem; border-block: 1px solid var(--mist-200); background: var(--paper-50); }
.partners-strip .container { 
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; 
  gap: 1.5rem 2.5rem; 
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3%, 4%);
}
.partners-strip__label { font-size: 0.85rem; color: var(--slate-600); font-weight: 700; white-space: nowrap; }
.partners { display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 2.5rem; }
.partners img { height: 30px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 0.25s var(--ease), filter 0.25s var(--ease); }
.partners img:hover { opacity: 1; filter: grayscale(0); }

/* Impact Band */
.impact-band { background: var(--emerald-950); position: relative; overflow: hidden; }
.impact-band__hex {
  position: absolute; inset: 0; opacity: 0.08;
  background-image: radial-gradient(circle at 10% 20%, var(--green-light) 0, transparent 3%),
                     radial-gradient(circle at 90% 80%, var(--gold-400) 0, transparent 3%);
}
.impact-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(248, 251, 249, 0.1);
  max-width: 1440px;
  margin-inline: auto;
}
.impact-item { background: var(--emerald-950); padding: 2.4rem 1.4rem; text-align: center; }
.impact-item strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; color: var(--gold-400); }
.impact-item span { display: block; margin-top: 0.4rem; font-size: 0.88rem; color: var(--mist-200); }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.service-card {
  background: var(--paper-50); border: 1px solid var(--mist-200);
  border-radius: var(--radius-md); padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--green-light); box-shadow: 0 24px 40px -20px rgba(76, 175, 122, 0.3); }
.hex-icon {
  width: 56px; height: 56px;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
  background: linear-gradient(150deg, var(--green-light), var(--gold-400));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.hex-icon svg { width: 26px; height: 26px; color: var(--emerald-950); }
.service-card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.55rem; }
.service-card p { color: var(--slate-600); font-size: 0.95rem; }

/* Why Grid */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why-item { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.why-item .ring-icon {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1.5px solid var(--green-medium);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-medium);
}
.why-item .ring-icon svg { width: 24px; height: 24px; }
.why-item h3 { font-size: 0.92rem; font-weight: 700; }
.why-item p { font-size: 0.9rem; color: var(--slate-600); }

/* Stepper */
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.stepper::before {
  content: ""; position: absolute; top: 27px; right: 10%; left: 10%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--mist-200) 0 8px, transparent 8px 16px);
}
.stepper__item { text-align: center; padding-inline: 0.6rem; position: relative; }
.stepper__icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--paper-50); border: 2px solid var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem; position: relative; z-index: 1;
  color: var(--emerald-800);
}
.stepper__icon svg { width: 24px; height: 24px; }
.stepper__item h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; }
.stepper__item p { font-size: 0.85rem; color: var(--slate-600); }

/* Projects Grid */
.projects-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.6rem; 
}
.project-card { 
  position: relative; 
  border-radius: var(--radius-md); 
  overflow: hidden; 
  box-shadow: var(--shadow-card);
  aspect-ratio: 1 / 1;
}
.project-card img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  transition: transform 0.6s var(--ease); 
}
.project-card:hover img { transform: scale(1.08); }
.project-card__overlay { 
  position: absolute; 
  inset: 0; 
  background: linear-gradient(0deg, rgba(13, 40, 24, 0.92) 0%, rgba(13, 40, 24, 0.1) 55%, transparent 100%); 
  display: flex; 
  align-items: flex-end; 
  padding: 1.2rem; 
}
.project-card__meta h3 { 
  color: var(--paper-50); 
  font-size: 0.92rem; 
  font-weight: 700; 
}
.project-card__meta span { 
  color: var(--gold-400); 
  font-size: 0.82rem; 
  font-weight: 700; 
}

/* Recommend */
.recommend { background: var(--emerald-950); position: relative; overflow: hidden; }
.recommend__top {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.nps-badge { display: flex; align-items: center; gap: 1.2rem; }
.nps-badge__ring {
  width: 92px; height: 92px; border-radius: 50%;
  background: conic-gradient(var(--gold-400) 0 96%, rgba(248, 251, 249, 0.15) 96% 100%);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.nps-badge__ring span {
  width: 74px; height: 74px; border-radius: 50%; background: var(--emerald-950);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--gold-400);
}
.nps-badge__text strong { display: block; color: var(--paper-50); font-size: 1rem; }
.nps-badge__text p { color: var(--mist-200); font-size: 0.88rem; margin-top: 0.3rem; max-width: 320px; }

.recommend-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr);
  gap: 1.3rem; overflow-x: auto; padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
}
.recommend-scroller::-webkit-scrollbar { height: 6px; }
.recommend-scroller::-webkit-scrollbar-thumb { background: var(--emerald-700); border-radius: 999px; }

.recommend-card {
  scroll-snap-align: start;
  background: var(--emerald-800);
  border: 1px solid var(--emerald-700);
  border-radius: var(--radius-md);
  padding: 1.7rem;
  position: relative;
}
.recommend-card p.quote { color: var(--paper-50); font-size: 0.96rem; margin-top: 1rem; line-height: 1.85; }
.recommend-card__person { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.4rem; }
.recommend-card__person img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.recommend-card__person strong { display: block; font-size: 0.9rem; color: var(--paper-50); }
.recommend-card__person span { font-size: 0.78rem; color: var(--mist-200); }
.recommend-card__tag {
  display: inline-block; margin-top: 0.9rem; font-size: 0.76rem; font-weight: 700;
  color: var(--green-light); background: rgba(76, 175, 122, 0.12);
  padding: 0.3rem 0.65rem; border-radius: 999px;
}

/* Certificates */
.certificates-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
}
.certificate-item {
  background: var(--paper-50);
  border: 1px solid var(--mist-200);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  aspect-ratio: 20.5 / 14.5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.certificate-item:hover {
  transform: translateY(-6px);
  border-color: var(--green-light);
  box-shadow: 0 24px 40px -20px rgba(76, 175, 122, 0.3);
}
.certificate-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: calc(var(--radius-sm) - 2px);
}
.certificate-item--stat {
  flex-direction: column;
  gap: 0.5rem;
  background: linear-gradient(160deg, var(--green-light, #4caf7a) 0%, var(--green-dark, #2f8a5b) 100%);
  color: #fff;
  text-align: center;
  padding: 1rem;
}
.certificate-item--stat svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  margin-bottom: 0.2rem;
}
.certificate-item--stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}
.certificate-item--stat span {
  font-size: 0.82rem;
  opacity: 0.92;
}
.certificates-footer {
  text-align: center;
  margin-top: 1.8rem;
}
.certificates-footer p {
  font-size: 0.9rem;
  color: var(--slate-600);
}
.certificates-footer svg {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: middle;
  margin-inline-end: 6px;
}

/* About */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.about-copy p { color: var(--slate-600); margin-bottom: 1rem; text-align: justify; }
.about-list { margin-top: 1.4rem; display: grid; gap: 0.75rem; }
.about-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.96rem; }
.about-list svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--green-medium); margin-top: 2px; }

/* FAQ */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 0.9rem; }
.faq-item { background: var(--paper-50); border: 1px solid var(--mist-200); border-radius: var(--radius-md); overflow: hidden; }
.faq-item__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: none; padding: 1.2rem 1.5rem; font-family: var(--font-display); font-weight: 700; font-size: 0.92rem; color: var(--ink-900); text-align: right; }
.faq-item__q svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s var(--ease); color: var(--green-medium); }
.faq-item.is-open .faq-item__q svg { transform: rotate(45deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item__a p { padding: 0 1.5rem 1.3rem; color: var(--slate-600); font-size: 0.95rem; }
.faq-more { text-align: center; margin-top: 2rem; }

/* -------------------------------------------------------------------- */
/* CTA Band (Full-Width & White Title)                                 */
/* -------------------------------------------------------------------- */
.cta-band {
  position: relative; 
  background: var(--emerald-950); 
  color: var(--paper-50);
  border-radius: var(--radius-lg); 
  padding: clamp(2.5rem, 6vw, 4rem);
  overflow: hidden; 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  gap: 2rem; 
  flex-wrap: wrap;
  
  /* افزایش عرض باکس در دسکتاپ */
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
  border-radius: 0; /* حذف گردی برای تمام‌عرض شدن */
}
.cta-band::before { 
  content: ""; 
  position: absolute; 
  inset: 0; 
  background: radial-gradient(80% 140% at 100% 0%, rgba(76, 175, 122, 0.35), transparent 60%); 
}
.cta-band > * { position: relative; z-index: 1; }

/* تغییر رنگ عنوان به سفید خالص */
.cta-band h2 { 
  color: #ffffff !important; 
  font-size: clamp(1.25rem, 2.6vw, 1.9rem); 
  max-width: 580px; 
}
.cta-band p { color: var(--mist-200); margin-top: 0.6rem; }
.cta-band__actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* -------------------------------------------------------------------- */
/* Footer                                                               */
/* -------------------------------------------------------------------- */
.site-footer { background: var(--emerald-950); color: var(--mist-200); padding-top: clamp(3rem, 6vw, 4.5rem); }
.site-footer .container {
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3%, 4%);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(248, 251, 249, 0.12); }
.footer-brand p { margin-top: 1rem; font-size: 0.9rem; line-height: 1.9; max-width: 320px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(248, 251, 249, 0.2); display: flex; align-items: center; justify-content: center; transition: background 0.2s var(--ease), border-color 0.2s var(--ease); }
.footer-social a:hover { background: var(--gold-400); border-color: var(--gold-400); }
.footer-social a:hover svg { color: var(--emerald-950); }
.footer-social svg { width: 16px; height: 16px; color: var(--paper-50); }
.footer-col h4 { font-size: 0.88rem; color: var(--paper-50); margin-bottom: 1.1rem; }
.footer-col ul { display: grid; gap: 0.65rem; }
.footer-col a { font-size: 0.9rem; transition: color 0.2s var(--ease); }
.footer-col a:hover { color: var(--gold-400); }
.footer-newsletter form { display: flex; margin-top: 1rem; border: 1px solid rgba(248, 251, 249, 0.25); border-radius: 12px; padding: 0.3rem; }
.footer-newsletter input { flex: 1; background: none; border: none; color: var(--paper-50); padding: 0.5rem 0.9rem; font-family: var(--font-body); font-size: 0.88rem; }
.footer-newsletter input::placeholder { color: var(--mist-200); opacity: 0.6; }
.footer-newsletter input:focus { outline: none; }
.footer-newsletter button { background: var(--gold-400); color: var(--emerald-950); border: none; border-radius: 9px; padding: 0.55rem 1.2rem; font-weight: 700; font-size: 0.85rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.75rem; padding-block: 1.4rem; font-size: 0.82rem; color: var(--mist-200); opacity: 0.75; }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--gold-400); }

/* ================================================================ */
/* ریسپانسیو کامل - اصلاحات موبایل و تبلت                         */
/* ================================================================ */

/* ---------- اسلایدر هرو ---------- */
@media (max-width: 768px) {
  .hero__frame {
    aspect-ratio: 4 / 3;
    max-width: 100%;
    clip-path: none;
    border-radius: var(--radius-md);
  }
  
  .hero-slider .slide {
    object-fit: cover;
  }
  
  .slider-arrows button {
    width: 32px;
    height: 32px;
    font-size: 16px;
    background: rgba(0,0,0,0.5);
  }
  
  .slider-nav {
    bottom: 12px;
  }
  
  .slider-nav button {
    width: 10px;
    height: 10px;
  }
}

@media (max-width: 480px) {
  .hero__frame {
    aspect-ratio: 4 / 3;
    max-width: 100%;
    clip-path: none;
    border-radius: var(--radius-sm);
  }
  
  .hero-slider .slide {
    object-fit: cover;
  }
}

/* ---------- هدر ---------- */
@media (max-width: 640px) {
  .site-header .container {
    padding-inline: 0.75rem;
  }
  
  .brand__name {
    font-size: 0.85rem !important;
  }
  
  .brand__mark {
    width: 32px;
    height: 32px;
  }
  
  .header-actions .icon-link {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }
  
  .header-actions .icon-link span {
    display: none;
  }
  
  .header-actions .icon-link svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- هرو ---------- */
@media (max-width: 768px) {
  .hero {
    padding-block: 1.5rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero__media {
    order: -1;
    max-width: 100%;
    margin-inline: auto;
  }
  
  .hero__content h1 {
    font-size: 1.5rem !important;
  }
  
  .hero__content p {
    font-size: 0.9rem;
    margin-top: 0.8rem;
    max-width: 100%;
  }
  
  .hero__cta {
    margin-top: 1.2rem;
    gap: 0.6rem;
  }
  
  .hero__cta .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .hero__trust {
    margin-top: 1.2rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .hero__trust .avatars img {
    width: 30px;
    height: 30px;
  }
  
  .hero__trust span {
    font-size: 0.75rem;
  }
}

/* ---------- حذف بنر در موبایل ---------- */
@media (max-width: 768px) {
  .hero__badge {
    display: none !important;
  }
}

/* ---------- بخش‌های عمومی ---------- */
@media (max-width: 768px) {
  .section {
    padding-block: 2.5rem;
  }
  
  .section-head {
    margin-bottom: 1.5rem;
  }
  
  .section-head h2 {
    font-size: 1.2rem !important;
  }
  
  .section-head p {
    font-size: 0.8rem !important;
    margin-top: 0.5rem;
  }
  
  .eyebrow {
    font-size: 0.65rem !important;
    margin-bottom: 0.5rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 8px;
  }
  
  .btn svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- منوی موبایل ---------- */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    inset: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: var(--emerald-950);
    padding: 6rem 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    z-index: 999;
    width: 100%;
    height: 100vh;
    height: 100dvh;
  }
  
  .main-nav.is-open {
    transform: translateX(0);
    display: flex !important;
  }
  
  .main-nav a {
    color: var(--paper-50);
    padding: 1rem 0.5rem;
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(248, 251, 249, 0.08);
    border-radius: 0;
    text-align: right;
    width: 100%;
  }
  
  .main-nav a.is-active {
    background: none;
    color: var(--gold-400);
  }
  
  .main-nav a:hover {
    background: rgba(248, 251, 249, 0.05);
  }
  
  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1000;
  }
  
  .nav-toggle.is-active svg {
    transform: rotate(90deg);
    transition: transform 0.3s var(--ease);
  }
}

/* ---------- ضربه‌گیرها ---------- */
@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .impact-item {
    padding: 1.5rem 0.8rem;
  }
  
  .impact-item strong {
    font-size: 1.4rem !important;
  }
  
  .impact-item span {
    font-size: 0.7rem;
  }
}

/* ---------- خدمات ---------- */
@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  
  .service-card {
    padding: 1rem;
    border-radius: var(--radius-sm);
  }
  
  .service-card h3 {
    font-size: 0.7rem !important;
  }
  
  .service-card p {
    font-size: 0.7rem;
  }
  
  .hex-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0.6rem;
  }
  
  .hex-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- چرا ما ---------- */
@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .why-item {
    gap: 0.5rem;
    align-items: center;
    text-align: center;
  }
  
  .why-item .ring-icon {
    width: 40px;
    height: 40px;
  }
  
  .why-item .ring-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .why-item h3 {
    font-size: 0.7rem !important;
  }
  
  .why-item p {
    font-size: 0.7rem;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- فرآیند ---------- */
@media (max-width: 640px) {
  .stepper {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .stepper__item {
    padding-inline: 0.3rem;
  }
  
  .stepper__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0.6rem;
  }
  
  .stepper__icon svg {
    width: 20px;
    height: 20px;
  }
  
  .stepper__item h3 {
    font-size: 0.7rem !important;
  }
  
  .stepper__item p {
    font-size: 0.7rem;
  }
  
  .stepper::before {
    display: none;
  }
}

@media (min-width: 641px) and (max-width: 1024px) {
  .stepper {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }
  .stepper::before { display: none; }
}

/* ---------- پروژه‌ها ---------- */
@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
  }
  
  .project-card {
    aspect-ratio: 1 / 1;
  }
  
  .project-card__overlay {
    padding: 0.5rem;
  }
  
  .project-card__meta h3 {
    font-size: 0.65rem !important;
  }
  
  .project-card__meta span {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .project-card {
    aspect-ratio: 1 / 1;
  }
}

/* ---------- توصیه‌ها ---------- */
@media (max-width: 768px) {
  .recommend__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .nps-badge {
    gap: 0.8rem;
  }
  
  .nps-badge__ring {
    width: 70px;
    height: 70px;
  }
  
  .nps-badge__ring span {
    width: 56px;
    height: 56px;
    font-size: 0.8rem;
  }
  
  .nps-badge__text strong {
    font-size: 0.75rem !important;
  }
  
  .nps-badge__text p {
    font-size: 0.75rem;
  }
  
  .recommend-scroller {
    grid-auto-columns: minmax(260px, 1fr);
    gap: 0.8rem;
  }
  
  .recommend-card {
    padding: 1.2rem;
  }
  
  .recommend-card p.quote {
    font-size: 0.85rem;
  }
  
  .recommend-card__person img {
    width: 36px;
    height: 36px;
  }
  
  .recommend-card__person strong {
    font-size: 0.8rem;
  }
  
  .recommend-card__person span {
    font-size: 0.7rem;
  }
}

/* ---------- گواهی‌ها ---------- */
@media (max-width: 900px) {
  .certificates-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .certificates-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }
  
  .certificate-item {
    padding: 0.8rem;
    aspect-ratio: 16/11;
  }
  
  .certificate-item--stat {
    padding: 0.8rem;
  }
  
  .certificate-item--stat svg {
    width: 24px;
    height: 24px;
  }
  
  .certificate-item--stat strong {
    font-size: 1rem !important;
  }
  
  .certificate-item--stat span {
    font-size: 0.7rem;
  }
}

/* ---------- درباره ما ---------- */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-media {
    max-width: 100%;
  }
  
  .about-badge {
    position: relative;
    bottom: auto;
    inset-inline-start: auto;
    margin-top: -0.5rem;
    max-width: 100%;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
  }
  
  .about-badge strong {
    font-size: 0.9rem;
  }
  
  .about-badge span {
    font-size: 0.7rem;
  }
  
  .about-copy p {
    font-size: 0.85rem;
  }
  
  .about-list li {
    font-size: 0.85rem;
    gap: 0.5rem;
  }
  
  .about-list svg {
    width: 16px;
    height: 16px;
  }
}

/* ---------- سوالات متداول ---------- */
@media (max-width: 640px) {
  .faq-item__q {
    padding: 0.8rem 1rem;
    font-size: 0.75rem !important;
  }
  
  .faq-item__q svg {
    width: 16px;
    height: 16px;
  }
  
  .faq-item__a p {
    padding: 0 1rem 0.8rem;
    font-size: 0.8rem;
  }
}

/* ---------- CTA ---------- */
@media (max-width: 768px) {
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }
  
  .cta-band h2 {
    font-size: 1rem !important;
  }
  
  .cta-band p {
    font-size: 0.8rem;
  }
  
  .cta-band__actions {
    gap: 0.6rem;
    width: 100%;
  }
  
  .cta-band__actions .btn {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
}

/* ---------- فوتر ---------- */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }
  
  .footer-brand p {
    font-size: 0.8rem;
  }
  
  .footer-col h4 {
    font-size: 0.75rem !important;
    margin-bottom: 0.6rem;
  }
  
  .footer-col a {
    font-size: 0.8rem;
  }
  
  .footer-newsletter form {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .footer-newsletter input {
    flex: 1 1 100%;
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }
  
  .footer-newsletter button {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding-block: 1rem;
    font-size: 0.7rem;
    gap: 0.3rem;
  }
}

/* ---------- نوار همکاران ---------- */
@media (max-width: 640px) {
  .partners-strip {
    padding-block: 1rem;
  }
  
  .partners-strip .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .partners-strip__label {
    font-size: 0.7rem;
  }
  
  .partners {
    gap: 1rem 1.5rem;
  }
  
  .partners img {
    height: 24px;
  }
}