/* ═══════════════════════════════════════════════════════════
   ایران پرس فیکس — استایل اصلی سایت
   ═══════════════════════════════════════════════════════════ */

/* ── فونت وزیرمتن (میزبانی محلی) ── */
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

/* ── متغیرها ── */
:root {
  --navy-950: #0a0e2b;
  --navy-900: #0d1130;
  --navy-800: #141a4a;
  --navy-700: #1b2153;
  --navy-600: #262d6b;

  --orange-600: #d43f12;
  --orange-500: #f2501f;
  --orange-400: #ff6a3c;
  --orange-100: #ffe0d4;
  --orange-50: #fef1ec;

  --wa-green: #1fab55;
  --wa-green-dark: #178a44;

  --ink: #23263a;
  --muted: #5e6376;
  --line: #e6e8f0;
  --bg: #f6f7fb;
  --card: #ffffff;

  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(13, 17, 48, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 17, 48, 0.1);
  --shadow-lg: 0 24px 60px rgba(13, 17, 48, 0.14);
  --shadow-orange: 0 10px 26px rgba(242, 80, 31, 0.32);

  --header-h: 74px;
}

/* ── پایه ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--card);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.5;
  color: var(--navy-800);
  font-weight: 800;
  text-wrap: balance;
}

p {
  margin: 0;
}

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

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.container {
  width: min(100% - 2.5rem, 1160px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 100;
  background: var(--navy-800);
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 12px 12px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

/* ── دکمه‌ها ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.6;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.02rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500) 55%, var(--orange-600));
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(242, 80, 31, 0.42);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: #fff;
  box-shadow: 0 10px 26px rgba(31, 171, 85, 0.32);
}
.btn-whatsapp:hover {
  background: var(--wa-green-dark);
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-flex;
  width: 1.2em;
  height: 1.2em;
  flex: none;
}
.btn-icon svg {
  width: 100%;
  height: 100%;
}

/* ── هدر ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-logo {
  background: #ffffff;
  border-radius: 10px;
  padding: 3px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.45;
}
.brand-text strong {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--navy-800);
}
.brand-text small {
  font-size: 0.72rem;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-inline-start: auto;
}
.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 0.3rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.main-nav a:hover {
  color: var(--orange-500);
}
.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── هیرو ── */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-950) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: 4.5rem 8.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 20%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 80, 31, 0.22), transparent 65%);
  top: -180px;
  inset-inline-start: -140px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange-400);
  background: rgba(242, 80, 31, 0.12);
  border: 1px solid rgba(242, 80, 31, 0.3);
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4.2vw, 2.9rem);
  line-height: 1.55;
  margin-bottom: 1.1rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange-400);
  background: linear-gradient(transparent 68%, rgba(242, 80, 31, 0.28) 0);
  padding-inline: 0.15rem;
  border-radius: 4px;
}
.hero-line2 {
  display: block;
  font-size: 0.78em;
  font-weight: 700;
  color: #c6cbee;
}

.hero-sub {
  font-size: 1.05rem;
  color: #b9bfe4;
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #d3d7f2;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.13);
  padding: 0.32rem 0.9rem;
  border-radius: 999px;
}
.chip-ic {
  display: inline-flex;
  width: 1em;
  height: 1em;
  color: var(--orange-400);
}
.chip-ic svg {
  width: 100%;
  height: 100%;
}

.hero-media {
  position: relative;
}

/* ── اسلایدشوی هیرو ── */
.hero-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-900);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slider .slide.active {
  opacity: 1;
}
.hero-slider .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(13, 17, 48, 0.5);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.slider-arrow:hover {
  background: var(--orange-500);
}
.slider-arrow svg {
  width: 22px;
  height: 22px;
}
.slider-prev {
  inset-inline-start: 0.9rem;
}
.slider-prev svg {
  transform: rotate(-90deg);
}
.slider-next {
  inset-inline-end: 0.9rem;
}
.slider-next svg {
  transform: rotate(90deg);
}

.slider-dots {
  position: absolute;
  bottom: 0.9rem;
  inset-inline: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
}
.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.slider-dot.active {
  width: 26px;
  background: var(--orange-500);
}
.hero-badge {
  position: absolute;
  bottom: -22px;
  inset-inline-start: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  color: #fff;
  padding: 0.85rem 1.5rem;
  border-radius: 18px;
  box-shadow: var(--shadow-orange);
}
.hero-badge strong {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
}
.hero-badge span {
  font-size: 0.8rem;
  opacity: 0.95;
}

/* ── نوار آمار ── */
.stats {
  position: relative;
  z-index: 2;
  margin-top: -72px;
}
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.9rem 1rem;
}
.stat {
  text-align: center;
  padding-inline: 1rem;
}
.stat:not(:first-child) {
  border-inline-start: 1px solid var(--line);
}
.stat-value {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--navy-800);
  line-height: 1.4;
}
.stat-value i {
  font-style: normal;
  color: var(--orange-500);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── بخش‌ها ── */
.section {
  padding-block: 5.25rem;
}
.section-alt {
  background: var(--bg);
}

.section-head {
  max-width: 660px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.2rem;
}
.section-head-start {
  margin-inline: 0;
  text-align: start;
  margin-bottom: 1.8rem;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 0.7rem;
}
.kicker::before,
.section-head:not(.section-head-start) .kicker::after {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange-500);
  opacity: 0.55;
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  margin-bottom: 0.8rem;
}

/* ── چرخش کلمات در تیتر ── */
.rotator {
  display: inline-grid;
  vertical-align: top;
  text-align: center;
  color: var(--orange-500);
}
.rotator > span {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.rotator > span.active {
  opacity: 1;
  transform: none;
}
.section-sub {
  color: var(--muted);
  font-size: 1rem;
}

/* ── خدمات ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-100);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--orange-50);
  color: var(--orange-500);
  margin-bottom: 1.2rem;
}
.service-icon svg {
  width: 30px;
  height: 30px;
}

.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}
.service-card p {
  font-size: 0.93rem;
  color: var(--muted);
}

/* ── چرا ما ── */
.why-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

/* اسلایدشوی بخش «چرا ما» — نسخه روشن اسلایدر هیرو */
.why-slider {
  border: 1px solid var(--line);
  background: var(--bg);
  box-shadow: var(--shadow-md);
}

.why-list {
  display: grid;
  gap: 0.95rem;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.98rem;
  font-weight: 500;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1.1rem;
}
.why-check {
  display: inline-flex;
  width: 1.45em;
  height: 1.45em;
  flex: none;
  color: var(--orange-500);
  margin-top: 0.2em;
}
.why-check svg {
  width: 100%;
  height: 100%;
}

/* ── مراحل کار ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.process-step::after {
  content: "";
  position: absolute;
  top: 44px;
  inset-inline-end: -1.5rem;
  width: 1.5rem;
  border-top: 2px dashed #c8cde4;
}
.process-step:last-child::after {
  display: none;
}

.step-num {
  width: 52px;
  height: 52px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: var(--shadow-orange);
  margin-bottom: 1.1rem;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}
.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* ── صنایع ── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.2rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.industry-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange-100);
  box-shadow: var(--shadow-md);
}

.industry-icon {
  width: 60px;
  height: 60px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  margin-bottom: 1rem;
}
.industry-icon svg {
  width: 30px;
  height: 30px;
}

.industry-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
}

/* ── نمونه‌کارها (لندینگ) ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-100);
}

.portfolio-thumb {
  position: relative;
}
.portfolio-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.portfolio-badge {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  background: rgba(13, 17, 48, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.22rem 0.85rem;
  border-radius: 999px;
}

.portfolio-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.6rem;
}
.portfolio-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.portfolio-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.portfolio-more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange-500);
}
.portfolio-card:hover .portfolio-more {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ── صفحه نمونه‌کار ── */
.post-hero {
  text-align: center;
}
.post-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange-400);
  background: rgba(242, 80, 31, 0.14);
  border: 1px solid rgba(242, 80, 31, 0.32);
  padding: 0.28rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.8rem;
  margin-top: 1.1rem;
}
.post-meta li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #c6cbee;
}
.post-meta .btn-icon {
  color: var(--orange-400);
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.post-tags li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #d3d7f2;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.18rem 0.8rem;
  border-radius: 999px;
}

.post-container {
  max-width: 840px;
}

.post-cover {
  margin: 0 0 2rem;
}
.post-cover img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.post-intro {
  font-size: 1.08rem;
  line-height: 2.1;
  color: var(--ink);
  margin-bottom: 2rem;
}

.post-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2.8rem;
}
.post-fact {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
}
.post-fact-label {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.post-fact-value {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-800);
}

.post-section {
  margin-bottom: 2.6rem;
}
.post-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
  padding-inline-start: 0.9rem;
  border-inline-start: 4px solid var(--orange-500);
  border-radius: 2px;
}
.post-section > p {
  color: var(--ink);
  margin-bottom: 1.2rem;
}
.post-images {
  display: grid;
  gap: 1rem;
}
.post-images.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.post-images img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.post-result {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  margin-bottom: 2rem;
}
.post-result-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  flex: none;
  color: var(--orange-500);
  margin-top: 0.2rem;
}
.post-result-icon svg {
  width: 100%;
  height: 100%;
}
.post-result h2 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}
.post-result p {
  color: var(--ink);
}

.post-cta {
  text-align: center;
  background: var(--bg);
  border: 1px dashed #c8cde4;
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  margin-top: 2.6rem;
}
.post-cta p {
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.post-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.btn-outline {
  background: transparent;
  border-color: var(--navy-800);
  color: var(--navy-800);
}
.btn-outline:hover {
  background: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
}

/* ── سوالات متداول ── */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem 1.4rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item[open] {
  border-color: var(--orange-100);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy-800);
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  display: inline-flex;
  width: 1.3em;
  height: 1.3em;
  flex: none;
  color: var(--orange-500);
  transition: transform 0.25s ease;
}
.faq-chevron svg {
  width: 100%;
  height: 100%;
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-item > p {
  padding-top: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── تیم ما ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin-inline: auto;
}

.team-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--orange-100);
}

.team-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
}

.team-body {
  padding: 1.3rem 1.4rem 1.6rem;
}
.team-body h3 {
  font-size: 1.08rem;
  margin-bottom: 0.2rem;
}
.team-role {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--orange-500);
  margin-bottom: 0.45rem;
}
.team-desc {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ── بخش تماس ── */
.cta-section {
  padding-top: 0;
}

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-700), var(--navy-900) 80%);
  border-radius: var(--radius-lg);
  padding: 3.8rem 2.5rem;
  text-align: center;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 42px 42px;
}
.cta-glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 80, 31, 0.25), transparent 65%);
  top: -220px;
  inset-inline-end: -120px;
  pointer-events: none;
}

.cta-band > :not(.cta-glow) {
  position: relative;
  z-index: 1;
}

.cta-zap {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(242, 80, 31, 0.16);
  border: 1px solid rgba(242, 80, 31, 0.4);
  color: var(--orange-400);
  margin-bottom: 1.2rem;
}
.cta-zap svg {
  width: 28px;
  height: 28px;
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 0.7rem;
}
.cta-band > p {
  color: #b9bfe4;
  max-width: 34rem;
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.cta-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.2rem;
}
.cta-info li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #c6cbee;
}
.cta-info .btn-icon {
  color: var(--orange-400);
}

/* ── فوتر ── */
.site-footer {
  background: var(--navy-950);
  color: #a7ace0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: 3.8rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.footer-brand .brand-mark {
  width: 40px;
  height: 40px;
}
.footer-brand strong {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}
.footer-about p {
  line-height: 2;
}

.footer-col h3 {
  color: #fff;
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
.footer-col ul {
  display: grid;
  gap: 0.55rem;
}
.footer-col a:hover {
  color: var(--orange-400);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.footer-ic {
  display: inline-flex;
  width: 1.25em;
  height: 1.25em;
  flex: none;
  color: var(--orange-400);
  margin-top: 0.28em;
}
.footer-ic svg {
  width: 100%;
  height: 100%;
}
.footer-ic-wa {
  color: var(--wa-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 1.2rem;
  text-align: center;
  font-size: 0.84rem;
}
.footer-legal {
  opacity: 0.7;
}

/* ── نوار تماس موبایل ── */
.mobile-cta {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 -6px 24px rgba(13, 17, 48, 0.18);
}
.mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem;
  padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
}
.mobile-cta-call {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600));
}
.mobile-cta-wa {
  background: var(--wa-green);
}

/* ── صفحه بلاگ ── */
.page-hero {
  background: linear-gradient(165deg, var(--navy-700), var(--navy-950));
  color: #fff;
  text-align: center;
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero > .container {
  position: relative;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.7rem;
}
.page-hero p {
  color: #b9bfe4;
  max-width: 36rem;
  margin-inline: auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.blog-thumb {
  position: relative;
}
.blog-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.blog-badge {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
}

.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.4rem 1.5rem 1.7rem;
}
.blog-body h2 {
  font-size: 1.08rem;
  margin-bottom: 0.5rem;
}
.blog-body p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.blog-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.blog-date .btn-icon {
  color: var(--orange-500);
}
.blog-more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange-500);
}
.blog-card:hover .blog-more {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ── متن مقاله ── */
.article-content {
  font-size: 1.02rem;
  line-height: 2.1;
}
.article-content h2,
.article-content h3 {
  margin: 2.4rem 0 0.9rem;
  padding-inline-start: 0.9rem;
  border-inline-start: 4px solid var(--orange-500);
  border-radius: 2px;
}
.article-content h2 {
  font-size: 1.35rem;
}
.article-content h3 {
  font-size: 1.15rem;
}
.article-content h4 {
  font-size: 1.05rem;
  margin: 1.8rem 0 0.7rem;
}
.article-content p {
  margin-bottom: 1.1rem;
}
.article-content ul,
.article-content ol {
  margin: 0 0 1.4rem;
  padding-inline-start: 1.6rem;
}
.article-content ul {
  list-style: disc;
}
.article-content ol {
  list-style: persian;
}
.article-content li {
  margin-bottom: 0.5rem;
}
.article-content li::marker {
  color: var(--orange-500);
}
.article-content figure {
  margin: 2rem 0;
  text-align: center;
}
.article-content img,
.article-content video {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.article-content video {
  width: 100%;
}
.article-content figcaption {
  font-size: 0.83rem;
  color: var(--muted);
  margin-top: 0.6rem;
}
.article-content a {
  color: var(--orange-600);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.article-content blockquote {
  margin: 1.6rem 0;
  padding: 1rem 1.3rem;
  background: var(--bg);
  border-inline-start: 4px solid var(--orange-500);
  border-radius: 12px;
}
.article-content blockquote p {
  margin: 0;
}
.article-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.2rem 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  font-size: 0.92rem;
}
.article-content th,
.article-content td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.9rem;
  text-align: start;
}
.article-content th {
  background: var(--navy-800);
  color: #fff;
  font-weight: 700;
}
.article-content tr:nth-child(even) td {
  background: var(--bg);
}

/* ── مطالب مرتبط ── */
.related {
  margin-top: 3rem;
}
.related h2 {
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}
.related-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.related-card span {
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.7;
}

.blog-cta {
  text-align: center;
  background: var(--bg);
  border: 1px dashed #c8cde4;
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
}
.blog-cta p {
  color: var(--muted);
  max-width: 34rem;
}

/* ── صفحه ۴۰۴ ── */
.not-found {
  text-align: center;
}
.not-found-code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--orange-500);
}
.not-found h1 {
  margin-bottom: 0.6rem;
}
.not-found .section-sub {
  margin-bottom: 2rem;
}

/* ── انیمیشن ظاهرشدن ── */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-slider .slide {
    transition: none;
  }
  .btn,
  .service-card,
  .process-step,
  .industry-card,
  .blog-card {
    transition: none;
  }
}

/* ── واکنش‌گرایی ── */
@media (max-width: 1024px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0.9rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-nav a {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 600;
  }
  .main-nav a:hover {
    background: var(--bg);
  }
  .main-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
  .header-actions {
    margin-inline-start: auto;
  }

  .hero-inner,
  .why-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero {
    padding-block: 3.5rem 7.5rem;
  }
  .hero-media {
    max-width: 560px;
  }
  .why-media {
    order: 2;
    max-width: 560px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
  .process-step::after {
    display: none;
  }
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .post-facts {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 640px) {
  body {
    padding-bottom: 62px; /* جا برای نوار تماس ثابت */
  }

  .btn-call bdi {
    display: none; /* در هدر موبایل فقط آیکون و متن کوتاه */
  }
  .btn-call {
    padding: 0.7rem 0.95rem;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.4rem;
    padding: 1.5rem 0.6rem;
  }
  .stat:nth-child(3) {
    border-inline-start: none;
  }
  .stat-value {
    font-size: 1.7rem;
  }

  .section {
    padding-block: 3.8rem;
  }

  .services-grid,
  .process-grid,
  .industries-grid,
  .blog-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    max-width: 420px;
    margin-inline: auto;
    width: 100%;
  }
  .post-images.cols-2 {
    grid-template-columns: 1fr;
  }
  .post-facts {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    inset-inline-start: 0.9rem;
    bottom: -18px;
    padding: 0.65rem 1.2rem;
  }

  .cta-band {
    padding: 2.8rem 1.4rem;
  }
  .cta-buttons .btn {
    width: 100%;
  }

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

  .mobile-cta {
    display: grid;
  }
}
