/* =========================================================
   تک‌تین کابل | Taktin Cable
   پالت: سبز تیره · طلایی · سفید · مکمل‌های گرم
   ========================================================= */
:root {
  --green-950: #06261c;
  --green-900: #0b3d2e;
  --green-800: #0f4f3b;
  --green-700: #146b4f;
  --green-600: #1a7a4c;
  --green-500: #22a06b;
  --green-400: #3ecf8e;
  --gold-600: #b8860b;
  --gold-500: #d4af37;
  --gold-400: #e4c65a;
  --gold-300: #f0e6c8;
  --gold-200: #f7f1de;
  --white: #ffffff;
  --off-white: #f7f8f6;
  --cream: #fbf8f0;
  --ink: #10231c;
  --ink-soft: #3d5248;
  --muted: #6b7c74;
  --line: rgba(212, 175, 55, 0.22);
  --card: rgba(255, 255, 255, 0.92);
  --shadow: 0 18px 50px rgba(6, 38, 28, 0.12);
  --shadow-lg: 0 28px 80px rgba(6, 38, 28, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --container: 1180px;
  --header-h: 88px;
  --font: 'Vazirmatn', Tahoma, sans-serif;
  --transition: 0.28s cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(212,175,55,.12), transparent 50%),
    radial-gradient(900px 500px at -10% 20%, rgba(26,122,76,.10), transparent 45%),
    linear-gradient(180deg, #fbfdfb 0%, var(--off-white) 40%, #f3f7f4 100%);
  min-height: 100vh;
  line-height: 1.8;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition), opacity var(--transition); }
button, input, select, textarea { font-family: inherit; }
ul { list-style: none; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }

/* ---------- Animated cable / light background ---------- */
.cable-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.cable-line {
  position: absolute; height: 2px; width: 140%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,.35), rgba(62,207,142,.25), transparent);
  filter: blur(.2px);
  animation: cableFlow 14s linear infinite;
  opacity: .55;
}
.cable-line-1 { top: 18%; left: -20%; transform: rotate(-8deg); animation-duration: 16s; }
.cable-line-2 { top: 48%; left: -10%; transform: rotate(4deg); animation-duration: 12s; animation-delay: -4s; }
.cable-line-3 { top: 78%; left: -25%; transform: rotate(-3deg); animation-duration: 18s; animation-delay: -8s; }
.light-orb {
  position: absolute; border-radius: 50%;
  filter: blur(40px); opacity: .35; animation: orbFloat 10s ease-in-out infinite;
}
.light-orb-1 {
  width: 280px; height: 280px; top: 10%; right: 8%;
  background: radial-gradient(circle, rgba(212,175,55,.55), transparent 70%);
}
.light-orb-2 {
  width: 340px; height: 340px; bottom: 8%; left: 5%;
  background: radial-gradient(circle, rgba(34,160,107,.45), transparent 70%);
  animation-delay: -5s;
}
@keyframes cableFlow {
  0% { transform: translateX(-8%) rotate(var(--r, -8deg)); }
  100% { transform: translateX(8%) rotate(var(--r, -8deg)); }
}
@keyframes orbFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.05); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(11,61,46,.08);
  box-shadow: 0 8px 30px rgba(6,38,28,.05);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,.94);
  box-shadow: 0 12px 40px rgba(6,38,28,.1);
}
.header-top {
  background: linear-gradient(90deg, var(--green-950), var(--green-800) 50%, var(--green-900));
  color: var(--gold-300);
  font-size: .82rem;
}
.header-top-inner {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 1rem; flex-wrap: wrap;
}
.header-contact { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.header-contact a:hover { color: var(--white); }
.header-brand-en { opacity: .85; letter-spacing: .04em; }
.header-main-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.logo { display: flex; align-items: center; gap: .75rem; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(11,61,46,.08), rgba(212,175,55,.12));
  border: 1px solid rgba(212,175,55,.28);
  box-shadow: 0 8px 20px rgba(11,61,46,.08);
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
}
.logo-footer .logo-mark {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.08);
  border-color: rgba(212,175,55,.35);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong {
  font-size: 1.25rem; color: var(--green-900);
  background: linear-gradient(90deg, var(--green-900), var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-text small { color: var(--muted); font-size: .78rem; }
.main-nav { display: flex; align-items: center; gap: .15rem; }
.main-nav a {
  padding: .55rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  color: var(--ink-soft); position: relative;
}
.main-nav a:hover { color: var(--green-800); background: rgba(26,122,76,.06); }
.main-nav a.active {
  color: var(--green-900); background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(26,122,76,.1));
  box-shadow: inset 0 0 0 1px rgba(212,175,55,.35);
}
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--green-900); cursor: pointer; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--gold-500);
  transition: var(--transition); border-radius: 2px;
}
.nav-toggle span:nth-child(1){ top: 15px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 27px; }
.nav-toggle.open span:nth-child(1){ top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ top: 21px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 600; font-size: .95rem; transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55rem 1rem; font-size: .85rem; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400) 45%, #c9a227);
  color: var(--green-950); box-shadow: 0 10px 28px rgba(212,175,55,.35);
}
.btn-gold:hover { box-shadow: 0 14px 34px rgba(212,175,55,.45); }
.btn-green {
  background: linear-gradient(135deg, var(--green-700), var(--green-600));
  color: #fff; box-shadow: 0 10px 28px rgba(11,61,46,.25);
}
.btn-outline {
  background: transparent; color: var(--green-900);
  box-shadow: inset 0 0 0 1.5px rgba(11,61,46,.25);
}
.btn-outline:hover { background: rgba(11,61,46,.05); }
.btn-outline-gold {
  background: transparent; color: var(--gold-500);
  box-shadow: inset 0 0 0 1.5px rgba(212,175,55,.55);
}
.btn-outline-light {
  background: rgba(255,255,255,.08); color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-600);
  box-shadow: 0 0 0 0 rgba(26,122,76,.6); animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26,122,76,.55); }
  70% { box-shadow: 0 0 0 10px rgba(26,122,76,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,122,76,0); }
}

/* ---------- Main ---------- */
.site-main { position: relative; z-index: 1; min-height: 60vh; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 4.5rem 0 3.5rem; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  background: linear-gradient(135deg, rgba(212,175,55,.18), rgba(26,122,76,.1));
  color: var(--green-800); border: 1px solid rgba(212,175,55,.35); margin-bottom: 1.2rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.35; margin-bottom: 1rem;
  color: var(--green-950);
}
.hero h1 span {
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500), var(--green-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lead { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.75rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem;
}
.stat-card {
  background: var(--card); border: 1px solid rgba(11,61,46,.08);
  border-radius: var(--radius-sm); padding: .9rem .7rem; text-align: center;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.stat-card strong {
  display: block; font-size: 1.35rem; color: var(--green-800);
  background: linear-gradient(90deg, var(--green-800), var(--gold-600));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card span { font-size: .78rem; color: var(--muted); }
.hero-visual { position: relative; min-height: 380px; }
.hero-stage {
  position: relative; height: 100%; min-height: 380px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(212,175,55,.25), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(34,160,107,.28), transparent 42%),
    linear-gradient(160deg, var(--green-950), var(--green-800) 55%, #0a2f24);
  box-shadow: var(--shadow-lg); overflow: hidden;
  border: 1px solid rgba(212,175,55,.25);
}
.hero-stage::before {
  content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,38,28,.15) 0%, rgba(6,38,28,.05) 40%, rgba(6,38,28,.55) 100%),
    repeating-linear-gradient(115deg, transparent 0 18px, rgba(255,255,255,.03) 18px 19px);
}
/* اسلایدر عکس کارت هیرو */
.hero-photo-slide {
  position: absolute; inset: 0; z-index: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s ease, transform 3s ease;
}
.hero-photo-slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-stage .hero-float-card { z-index: 4; }
.hero-card-dots {
  display: flex; gap: .4rem; margin-top: .85rem; flex-wrap: wrap;
}
.hero-card-dot {
  width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0;
  cursor: pointer; background: rgba(255,255,255,.35); transition: .25s ease;
}
.hero-card-dot.is-active {
  width: 22px; background: linear-gradient(90deg, var(--gold-500), var(--green-400));
}
.hero-admin-hint {
  margin-top: .65rem !important;
  font-size: .75rem !important;
  opacity: .75 !important;
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: .55rem;
}

/* صحنه کابل افشان مسی واقعی */
.hero-copper-scene {
  background: linear-gradient(155deg, #071912 0%, #0b3d2e 45%, #123528 100%) !important;
  overflow: hidden;
}
.hero-copper-scene .copper-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(212,175,55,.22), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(184,115,51,.18), transparent 40%);
}
.copper-cables {
  position: absolute; inset: 0; z-index: 1;
}
.flex-cable {
  position: absolute;
  height: 28px;
  border-radius: 999px;
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.28),
    inset 0 -3px 6px rgba(0,0,0,.35),
    0 8px 18px rgba(0,0,0,.25);
  overflow: hidden;
  animation: cableDrift 7s ease-in-out infinite;
}
.flex-cable::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 10px,
    rgba(255,255,255,.08) 10px 12px
  );
  opacity: .55;
}
.flex-cable .core {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(
      90deg,
      #b87333 0 3px,
      #d7924c 3px 5px,
      #8a4f1d 5px 7px,
      #e0a35d 7px 9px
    );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.35),
    0 0 10px rgba(184,115,51,.45);
  animation: coreShine 2.8s linear infinite;
}
.flex-cable.red {
  top: 22%; right: -8%; width: 88%; transform: rotate(-14deg);
  background: linear-gradient(180deg, #ff5a4e, #c62828 45%, #8e1b1b);
  animation-delay: 0s;
}
.flex-cable.black {
  top: 42%; left: -10%; width: 92%; transform: rotate(9deg);
  background: linear-gradient(180deg, #3a3a3a, #151515 50%, #000);
  animation-delay: .4s;
}
.flex-cable.blue {
  top: 60%; right: -6%; width: 84%; transform: rotate(-7deg);
  background: linear-gradient(180deg, #5b8def, #1e4fd6 48%, #123a9a);
  animation-delay: .8s;
}
.flex-cable.yellow {
  top: 76%; left: -8%; width: 80%; transform: rotate(12deg);
  background: linear-gradient(180deg, #ffe36b, #d4af37 48%, #9a7b12);
  animation-delay: 1.1s;
}
.copper-cutaway {
  position: absolute;
  left: 18px; top: 18px;
  width: 92px; height: 92px;
  border-radius: 50%;
  z-index: 2;
  background: radial-gradient(circle at 35% 30%, #2a2a2a, #111 70%);
  border: 3px solid rgba(212,175,55,.55);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.cut-ring {
  position: absolute; inset: 10px;
  border-radius: 50%;
  border: 8px solid #1f1f1f;
  box-shadow: inset 0 0 0 2px #333;
}
.cut-strands {
  position: relative; width: 42px; height: 42px;
}
.cut-strands i {
  position: absolute; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f0c27a, #b87333 55%, #7a4214);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4);
  animation: strandPulse 2.4s ease-in-out infinite;
}
.cut-strands i:nth-child(1){ top: 16px; left: 16px; }
.cut-strands i:nth-child(2){ top: 6px; left: 16px; animation-delay:.1s; }
.cut-strands i:nth-child(3){ top: 26px; left: 16px; animation-delay:.2s; }
.cut-strands i:nth-child(4){ top: 16px; left: 6px; animation-delay:.15s; }
.cut-strands i:nth-child(5){ top: 16px; left: 26px; animation-delay:.25s; }
.cut-strands i:nth-child(6){ top: 8px; left: 8px; animation-delay:.3s; }
.cut-strands i:nth-child(7){ top: 24px; left: 24px; animation-delay:.35s; }
.cut-label {
  position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: .72rem; font-weight: 700;
  color: #f0e6c8; background: rgba(0,0,0,.35);
  padding: .15rem .45rem; border-radius: 999px;
}
.current-flow {
  position: absolute; z-index: 3;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff7c2;
  box-shadow: 0 0 12px 4px rgba(212,175,55,.8), 0 0 28px rgba(255,200,80,.5);
  animation: flowRun 3.2s linear infinite;
}
@keyframes cableDrift {
  0%,100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}
@keyframes coreShine {
  0% { background-position: 0 0; }
  100% { background-position: 40px 0; }
}
@keyframes strandPulse {
  0%,100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.08); filter: brightness(1.2); }
}
@keyframes flowRun {
  0% { top: 20%; right: 8%; opacity: 0; }
  10% { opacity: 1; }
  50% { top: 48%; right: 45%; }
  90% { opacity: 1; }
  100% { top: 78%; right: 82%; opacity: 0; }
}
.cable-animation { position: absolute; inset: 0; }
.cable-path {
  position: absolute; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, #1a1a1a, #444 20%, #d4af37 50%, #444 80%, #1a1a1a);
  box-shadow: 0 0 20px rgba(212,175,55,.35), inset 0 1px 0 rgba(255,255,255,.25);
  animation: cablePulse 3.5s ease-in-out infinite;
}
.cable-path.c1 { width: 78%; top: 28%; right: -5%; transform: rotate(-18deg); animation-delay: 0s; }
.cable-path.c2 { width: 70%; top: 48%; left: -8%; transform: rotate(12deg); animation-delay: .6s; background: linear-gradient(90deg,#111,#2a2a2a 20%,#3ecf8e 50%,#2a2a2a 80%,#111); }
.cable-path.c3 { width: 62%; top: 68%; right: 0; transform: rotate(-8deg); animation-delay: 1.2s; }
.spark {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 18px 6px rgba(212,175,55,.8), 0 0 40px rgba(62,207,142,.5);
  animation: sparkMove 4s linear infinite;
}
.spark.s1 { top: 27%; animation-delay: 0s; }
.spark.s2 { top: 47%; animation-delay: 1.3s; }
.spark.s3 { top: 67%; animation-delay: 2.2s; }
@keyframes cablePulse {
  0%,100% { filter: brightness(1); box-shadow: 0 0 16px rgba(212,175,55,.25); }
  50% { filter: brightness(1.25); box-shadow: 0 0 28px rgba(212,175,55,.55); }
}
@keyframes sparkMove {
  0% { right: 5%; opacity: 0; transform: scale(.6); }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { right: 85%; opacity: 0; transform: scale(1.2); }
}
.hero-float-card {
  position: absolute; bottom: 1.25rem; left: 1.25rem; right: 1.25rem;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(12px); border-radius: 16px; padding: 1rem 1.1rem; color: #fff;
}
.hero-float-card strong { color: var(--gold-400); }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; position: relative; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 1rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.section-kicker {
  display: inline-block; color: var(--gold-600); font-weight: 700; font-size: .85rem;
  margin-bottom: .35rem; letter-spacing: .04em;
}
.section-head h2, .section-title {
  font-size: clamp(1.5rem, 3vw, 2rem); color: var(--green-950); line-height: 1.35;
}
.section-head p, .section-desc { color: var(--muted); max-width: 36rem; }
.section-alt {
  background: linear-gradient(180deg, rgba(11,61,46,.03), rgba(212,175,55,.05));
}

/* ---------- Cards / grids ---------- */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.feature-card, .product-card, .news-card, .team-card, .agency-card, .office-card, .cert-card, .project-card {
  background: var(--card); border: 1px solid rgba(11,61,46,.08);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover, .product-card:hover, .news-card:hover, .team-card:hover,
.agency-card:hover, .office-card:hover, .cert-card:hover, .project-card:hover {
  transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.feature-card { padding: 1.5rem; }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(26,122,76,.15));
  color: var(--green-800); font-size: 1.4rem; margin-bottom: 1rem;
  border: 1px solid rgba(212,175,55,.3);
}
.feature-card h3 { margin-bottom: .5rem; color: var(--green-900); font-size: 1.1rem; }
.feature-card p { color: var(--ink-soft); font-size: .95rem; }
.feature-card .link-more {
  display: inline-flex; margin-top: 1rem; color: var(--gold-600); font-weight: 600; font-size: .9rem;
}

/* Product card */
.product-card .thumb {
  aspect-ratio: 4/3; background:
    linear-gradient(145deg, #0b3d2e, #146b4f 60%, #0f4f3b);
  position: relative; overflow: hidden;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .thumb .cat-badge {
  position: absolute; top: .75rem; right: .75rem;
  background: rgba(0,0,0,.45); color: var(--gold-300); backdrop-filter: blur(8px);
  padding: .3rem .7rem; border-radius: 999px; font-size: .75rem; border: 1px solid rgba(212,175,55,.3);
}
.product-card .body { padding: 1.15rem 1.2rem 1.3rem; }
.product-card h3 { font-size: 1.05rem; color: var(--green-950); margin-bottom: .4rem; }
.product-card .usage { color: var(--muted); font-size: .88rem; min-height: 2.8em; margin-bottom: .85rem; }
.product-card .meta {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.price-tag {
  font-weight: 800; color: var(--green-700); font-size: 1rem;
  background: linear-gradient(90deg, rgba(212,175,55,.12), rgba(26,122,76,.08));
  padding: .35rem .7rem; border-radius: 999px;
}

/* News card — عکس بالا، تیتر و خلاصه همیشه زیر عکس */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
}
.news-card > a.thumb,
.news-card > .thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  background: var(--green-900);
  overflow: hidden;
  flex-shrink: 0;
}
.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.news-card:hover .thumb img { transform: scale(1.05); }
.news-card .body {
  display: block !important;
  position: relative;
  z-index: 2;
  padding: 1.15rem 1.2rem 1.3rem;
  background: var(--card);
  color: var(--ink);
  flex: 1 1 auto;
}
.news-meta {
  display: flex;
  gap: .75rem;
  color: var(--muted);
  font-size: .8rem;
  margin-bottom: .55rem;
  flex-wrap: wrap;
}
.news-card h3 {
  display: block !important;
  font-size: 1.05rem;
  margin: 0 0 .5rem;
  color: var(--green-950) !important;
  line-height: 1.55;
  font-weight: 700;
}
.news-card h3 a {
  color: inherit !important;
  text-decoration: none;
}
.news-card h3 a:hover { color: var(--green-700) !important; }
.news-card .body > p,
.news-card .news-summary {
  display: block !important;
  color: var(--ink-soft) !important;
  font-size: .92rem;
  line-height: 1.75;
  margin: 0;
  opacity: 1 !important;
  visibility: visible !important;
}
.news-card .news-more {
  display: inline-flex !important;
  margin-top: .85rem;
  color: var(--gold-600);
  font-weight: 600;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: 3rem 0 2rem;
  background:
    radial-gradient(800px 300px at 90% 0%, rgba(212,175,55,.16), transparent 50%),
    linear-gradient(180deg, rgba(11,61,46,.06), transparent);
  border-bottom: 1px solid rgba(11,61,46,.06);
}
.page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--green-950); margin-bottom: .5rem; }
.page-hero p { color: var(--muted); max-width: 40rem; }
.breadcrumb { display: flex; gap: .5rem; flex-wrap: wrap; font-size: .85rem; color: var(--muted); margin-bottom: .85rem; }
.breadcrumb a { color: var(--green-700); }
.breadcrumb span { opacity: .5; }

/* ---------- Filters / search ---------- */
.toolbar {
  display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
  margin-bottom: 1.75rem; background: var(--card); border: 1px solid rgba(11,61,46,.08);
  padding: 1rem; border-radius: var(--radius); box-shadow: var(--shadow);
}
.search-box {
  flex: 1; min-width: 220px; display: flex; gap: .5rem; align-items: center;
  background: var(--off-white); border: 1px solid rgba(11,61,46,.1);
  border-radius: 999px; padding: .35rem .35rem .35rem 1rem;
}
.search-box input {
  flex: 1; border: 0; background: transparent; outline: none; padding: .55rem 0; font-size: .95rem;
}
.cat-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.cat-pill {
  padding: .45rem .9rem; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: rgba(11,61,46,.05); color: var(--ink-soft); border: 1px solid transparent;
}
.cat-pill:hover, .cat-pill.active {
  background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(26,122,76,.12));
  color: var(--green-900); border-color: rgba(212,175,55,.35);
}

/* ---------- Forms ---------- */
.form-card {
  background: var(--card); border: 1px solid rgba(11,61,46,.08);
  border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow);
}
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; margin-bottom: .4rem; font-weight: 600; color: var(--green-900); font-size: .92rem; }
.form-control {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid rgba(11,61,46,.12); background: #fff; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition); font-size: .95rem;
}
.form-control:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(212,175,55,.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }
.alert {
  padding: 1rem 1.15rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-size: .95rem;
}
.alert-success { background: rgba(34,160,107,.12); color: #0b5c3a; border: 1px solid rgba(34,160,107,.25); }
.alert-error { background: rgba(180,40,40,.1); color: #8a1f1f; border: 1px solid rgba(180,40,40,.2); }
.alert-info { background: rgba(212,175,55,.12); color: #6b5608; border: 1px solid rgba(212,175,55,.3); }
.alert-warning { background: rgba(230,150,40,.12); color: #8a5a00; border: 1px solid rgba(230,150,40,.25); }

/* Authenticity */
.auth-wrap {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem; align-items: start;
}
.auth-result { display: none; margin-top: 1rem; }
.auth-result.show { display: block; animation: fadeUp .4s ease; }
.auth-icon {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.8rem; margin-bottom: .75rem;
}
.auth-icon.ok { background: rgba(34,160,107,.15); }
.auth-icon.bad { background: rgba(180,40,40,.12); }
.lottery-box {
  background: linear-gradient(160deg, var(--green-950), var(--green-800));
  color: #fff; border-radius: var(--radius); padding: 1.75rem; position: relative; overflow: hidden;
  border: 1px solid rgba(212,175,55,.3);
}
.lottery-box::before {
  content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.35), transparent 70%);
  top: -40px; left: -30px;
}
.lottery-box h3 { color: var(--gold-400); margin-bottom: .75rem; position: relative; }
.lottery-box p { position: relative; opacity: .92; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: center; }
.about-content h2 { margin-bottom: 1rem; color: var(--green-950); }
.about-content p { color: var(--ink-soft); margin-bottom: 1rem; white-space: pre-line; }
.about-visual {
  border-radius: 28px; min-height: 320px; overflow: hidden; position: relative;
  background: linear-gradient(145deg, var(--green-950), var(--green-700));
  border: 1px solid rgba(212,175,55,.25); box-shadow: var(--shadow-lg);
}
.about-visual .glow-ring {
  position: absolute; inset: 12%; border-radius: 50%;
  border: 2px dashed rgba(212,175,55,.35); animation: spin 24s linear infinite;
}
.about-visual .center-light {
  position: absolute; inset: 30%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.55), rgba(212,175,55,.3), transparent 70%);
  animation: orbFloat 5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.team-grid, .agency-grid, .office-grid, .cert-grid, .project-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.team-card { text-align: center; padding: 1.5rem 1.2rem; }
.team-photo {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(145deg, var(--green-800), var(--gold-500));
  display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 700;
  overflow: hidden; border: 3px solid rgba(212,175,55,.45);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { color: var(--green-950); font-size: 1.05rem; }
.team-card .pos { color: var(--gold-600); font-weight: 600; font-size: .9rem; margin: .25rem 0 .5rem; }
.team-card .bio { color: var(--muted); font-size: .88rem; margin-bottom: .75rem; }
.team-card .mobile-link {
  display: inline-flex; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(26,122,76,.08); color: var(--green-800); font-weight: 600; font-size: .88rem;
}

.agency-card, .office-card, .project-card, .cert-card { padding: 1.25rem; }
.agency-card h3, .office-card h3, .project-card h3, .cert-card h3 { color: var(--green-950); margin-bottom: .4rem; }
.meta-line { color: var(--ink-soft); font-size: .9rem; margin-bottom: .3rem; }
.badge {
  display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 600;
  background: rgba(212,175,55,.15); color: var(--gold-600);
}

/* News detail */
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 1.5rem; align-items: start; }
.article-body {
  background: var(--card); border-radius: var(--radius); padding: 1.75rem;
  border: 1px solid rgba(11,61,46,.08); box-shadow: var(--shadow);
}
.article-body .cover {
  border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1.25rem;
  aspect-ratio: 16/9; background: var(--green-900);
}
.article-body .cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body .content { color: var(--ink-soft); font-size: 1.02rem; }
.article-body .content p { margin-bottom: 1rem; }
.article-body .content img { border-radius: 12px; margin: 1rem 0; }
.side-card {
  background: var(--card); border-radius: var(--radius); padding: 1.25rem;
  border: 1px solid rgba(11,61,46,.08); box-shadow: var(--shadow); margin-bottom: 1rem;
}
.side-card h3 { font-size: 1rem; margin-bottom: .85rem; color: var(--green-900); }
.side-list a {
  display: block; padding: .65rem 0; border-bottom: 1px solid rgba(11,61,46,.06);
  color: var(--ink-soft); font-size: .92rem;
}
.side-list a:hover { color: var(--green-700); }
.video-wrap {
  position: relative; padding-top: 56.25%; border-radius: var(--radius-sm); overflow: hidden;
  background: #000; margin: 1rem 0;
}
.video-wrap iframe, .video-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Portal redirect */
.portal-box {
  max-width: 640px; margin: 2rem auto; text-align: center;
  background: var(--card); border-radius: var(--radius); padding: 2.5rem 1.75rem;
  border: 1px solid rgba(11,61,46,.08); box-shadow: var(--shadow-lg);
}
.portal-box .icon-portal {
  width: 84px; height: 84px; margin: 0 auto 1.25rem; border-radius: 24px;
  display: grid; place-items: center; font-size: 2rem;
  background: linear-gradient(135deg, var(--green-900), var(--green-600));
  color: var(--gold-400); box-shadow: 0 16px 40px rgba(11,61,46,.25);
}
.countdown { font-size: 2rem; font-weight: 800; color: var(--gold-600); margin: 1rem 0; }

/* Empty / pagination */
.empty-state {
  text-align: center; padding: 3rem 1rem; color: var(--muted);
  background: var(--card); border-radius: var(--radius); border: 1px dashed rgba(11,61,46,.15);
}
.pagination { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 10px; background: var(--card); border: 1px solid rgba(11,61,46,.1);
  font-weight: 600; font-size: .9rem;
}
.pagination a:hover, .pagination .active {
  background: var(--green-800); color: #fff; border-color: var(--green-800);
}

/* CTA band */
.cta-band {
  margin: 1rem 0 0; border-radius: 28px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--green-950), var(--green-800) 50%, #0d4a36);
  color: #fff; padding: 2.5rem; border: 1px solid rgba(212,175,55,.28);
}
.cta-band::after {
  content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  right: -60px; top: -80px;
  background: radial-gradient(circle, rgba(212,175,55,.28), transparent 70%);
}
.cta-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: .4rem; }
.cta-band p { opacity: .9; max-width: 34rem; }

/* Footer */
.site-footer {
  position: relative; z-index: 1; margin-top: 4rem;
  background: linear-gradient(180deg, #083226, var(--green-950));
  color: rgba(255,255,255,.88); padding: 3.5rem 0 1.5rem; overflow: hidden;
}
.footer-glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.18), transparent 70%);
  top: -120px; left: -80px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 2rem; position: relative;
}
.footer-brand p { color: rgba(255,255,255,.72); margin-top: .75rem; font-size: .92rem; }
.logo-footer .logo-text strong { background: none; color: var(--gold-400); -webkit-text-fill-color: initial; }
.logo-footer .logo-text small { color: rgba(255,255,255,.65); }
.footer-links h4, .footer-contact h4 {
  color: var(--gold-400); margin-bottom: 1rem; font-size: 1rem;
}
.footer-links a {
  display: block; color: rgba(255,255,255,.75); padding: .28rem 0; font-size: .92rem;
}
.footer-links a:hover { color: var(--gold-300); }
.footer-contact p { margin-bottom: .45rem; font-size: .92rem; color: rgba(255,255,255,.78); }
.footer-contact a:hover { color: var(--gold-300); }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.55); position: relative;
}
.footer-domain { color: var(--gold-500); letter-spacing: .04em; }

.back-to-top {
  position: fixed; bottom: 1.25rem; left: 1.25rem; z-index: 50;
  width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--green-950); font-size: 1.1rem; font-weight: 700;
  box-shadow: 0 10px 28px rgba(212,175,55,.4); opacity: 0; pointer-events: none;
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .auth-wrap, .article-layout { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .cards-grid, .team-grid, .agency-grid, .office-grid, .cert-grid, .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { min-height: 320px; }
}
@media (max-width: 768px) {
  :root { --header-h: 72px; }
  .header-top { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + 8px) 1rem auto 1rem;
    background: rgba(255,255,255,.97); border: 1px solid rgba(11,61,46,.08);
    border-radius: 18px; box-shadow: var(--shadow-lg); padding: .75rem;
    display: none; flex-direction: column; gap: .25rem; z-index: 1001;
  }
  .main-nav.open { display: flex; animation: fadeUp .25s ease; }
  .main-nav a { padding: .85rem 1rem; }
  .header-cta { display: none; }
  .cards-grid, .team-grid, .agency-grid, .office-grid, .cert-grid, .project-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { padding: 2.5rem 0 2rem; }
  .section { padding: 3rem 0; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
}
@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .toolbar { padding: .75rem; }
  .form-card { padding: 1.2rem; }
  .stat-card strong { font-size: 1.15rem; }
}
