:root {
  --navy: #0a2a5e;
  --navy2: #11509b;
  --teal: #0e9bb5;
  --cyan: #2bc4dd;
  --gold: #d9a441;
  --gold-d: #b9861f;
  --gold-l: #f3d688;
  --ink: #132441;
  --muted: #5c6b84;
  --line: #dbe5f0;
  --sh-1: 0 2px 6px rgba(10, 42, 94, 0.07), 0 10px 26px rgba(10, 42, 94, 0.12);
  --sh-2: 0 8px 20px rgba(10, 42, 94, 0.14), 0 28px 64px rgba(10, 42, 94, 0.18);
  --sh-3: 0 40px 90px rgba(4, 20, 48, 0.5);
  --tr: 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Vazirmatn", "Vazir", Tahoma, sans-serif;
  color: var(--ink);
  line-height: 1.9;
  overflow-x: hidden;
  background: #eef3fa;
}
/* ══ پس‌زمینه لایه‌ای برند: نور + نقش ستاره هشت‌پر ══ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(
      1100px 640px at 92% -12%,
      rgba(14, 155, 181, 0.16),
      transparent 62%
    ),
    radial-gradient(
      950px 620px at -12% 112%,
      rgba(217, 164, 65, 0.16),
      transparent 62%
    ),
    radial-gradient(
      700px 500px at 50% 55%,
      rgba(17, 80, 155, 0.07),
      transparent 70%
    ),
    linear-gradient(180deg, #e8f0fa 0%, #f7fbfe 45%, #e7f0f9 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 L60 40 L98 50 L60 60 L50 98 L40 60 L2 50 L40 40 Z' fill='none' stroke='%230A2A5E' stroke-opacity='.055' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 130px 130px;
}
.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(95px);
  z-index: -1;
  opacity: 0.32;
  pointer-events: none;
  animation: float 16s ease-in-out infinite alternate;
}
.orb1 {
  width: 440px;
  height: 440px;
  background: var(--cyan);
  top: -140px;
  left: -140px;
}
.orb2 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  bottom: -120px;
  right: -120px;
  animation-delay: -8s;
}
@keyframes float {
  to {
    transform: translate(50px, 36px) scale(1.1);
  }
}
img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}
section {
  padding: 95px 0;
  position: relative;
}

/* ══ هدر ══ */
header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  background: rgba(10, 42, 94, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(4, 20, 48, 0.35);
  transition: var(--tr);
}
header.scrolled {
  box-shadow: 0 10px 34px rgba(4, 20, 48, 0.5);
}
.nav {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  padding: 12px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
}
.logo-txt strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold);
}
.logo-txt small {
  display: block;
  color: #cfe3f5;
  font-size: 0.7rem;
  margin-top: -5px;
}
.logo-txt small::before,
.logo-txt small::after {
  content: "—";
  color: var(--cyan);
  margin: 0 4px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  color: #e8f1fb;
  padding: 9px 14px;
  border-radius: 10px;
  font-size: 0.93rem;
  transition: var(--tr);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
  background: rgba(217, 164, 65, 0.12);
}
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 5px 16px rgba(217, 164, 65, 0.4);
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
}
.burger span {
  width: 25px;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
}

/* ══ هیرو ══ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  padding: 150px 0 90px;
  background:
    radial-gradient(
      900px 420px at 88% 8%,
      rgba(217, 164, 65, 0.2),
      transparent 60%
    ),
    radial-gradient(
      760px 520px at 8% 92%,
      rgba(43, 196, 221, 0.2),
      transparent 60%
    ),
    linear-gradient(120deg, #071c40 0%, #0a2a5e 45%, #0d5c86 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  border: 1.5px solid var(--gold);
  color: var(--gold-l);
  background: rgba(217, 164, 65, 0.13);
  padding: 7px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  margin-bottom: 22px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.hero h1 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 18px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.hero h1 span {
  color: var(--gold);
}
.hero p {
  font-size: 1.1rem;
  color: #d5e5f5;
  margin-bottom: 32px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: var(--tr);
  font-family: inherit;
  font-size: 1rem;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff;
  box-shadow: 0 12px 30px rgba(217, 164, 65, 0.45);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(217, 164, 65, 0.55);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: #fff;
  color: var(--navy);
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 56px;
}
.hstat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 24px 8px;
  text-align: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}
.hstat b {
  display: block;
  font-size: 3.3rem;
  font-weight: 900;
  color: var(--gold-l);
  line-height: 1.1;
  text-shadow: 0 5px 16px rgba(0, 0, 0, 0.45);
}
.hstat span {
  font-size: 0.88rem;
  color: #d5e5f5;
}
/* قاب عکس هیرو با سایه عمیق */
.hero-visual {
  position: relative;
}
.hero-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--sh-3);
  transform: rotate(-2deg);
  transition: var(--tr);
}
.hero-frame:hover {
  transform: rotate(0) scale(1.02);
}
.hero-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}
.hero-tag {
  position: absolute;
  bottom: -22px;
  right: -14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff;
  padding: 14px 26px;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  font-size: 0.95rem;
}
.hero-tag2 {
  position: absolute;
  top: -18px;
  left: -10px;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  color: #fff;
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.82rem;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4);
}

/* ══ عنوان بخش‌ها ══ */
.sec-head {
  text-align: center;
  margin-bottom: 54px;
}
.sec-head h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  text-shadow: 0 2px 8px rgba(10, 42, 94, 0.12);
}
.sec-head h2::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  border-radius: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  box-shadow: 0 4px 12px rgba(14, 155, 181, 0.35);
}
.sec-head p {
  color: var(--muted);
  max-width: 720px;
  margin: 14px auto 0;
}
.on-dark .sec-head h2 {
  color: #fff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.4);
}
.on-dark .sec-head p {
  color: #c8dcef;
}

/* ══ درباره ما + چارت ══ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-img {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--sh-2);
  border: 5px solid #fff;
  transform: rotate(1.2deg);
  transition: var(--tr);
}
.about-img:hover {
  transform: rotate(0);
}
.about-img img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}
.about-txt h3 {
  color: var(--navy);
  font-size: 1.55rem;
  margin-bottom: 14px;
}
.about-txt p {
  color: var(--muted);
  text-align: justify;
  margin-bottom: 14px;
}
.about-txt b {
  color: var(--navy);
}
.org-box {
  margin-top: 60px;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--sh-2);
  padding: 48px 30px;
  border-top: 6px solid var(--gold);
  overflow-x: auto;
}
.org-box h3 {
  text-align: center;
  color: var(--navy);
  margin-bottom: 28px;
  font-size: 1.35rem;
}
.tree ul {
  display: flex;
  justify-content: center;
  padding-top: 26px;
  position: relative;
}
.tree li {
  position: relative;
  padding: 26px 7px 0;
  text-align: center;
}
.tree li::before,
.tree li::after {
  content: "";
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 3px solid var(--teal);
  width: 50%;
  height: 26px;
}
.tree li::after {
  right: auto;
  left: 50%;
  border-left: 3px solid var(--teal);
}
.tree li:only-child::before,
.tree li:only-child::after {
  display: none;
}
.tree li:only-child {
  padding-top: 0;
}
.tree li:first-child::before,
.tree li:last-child::after {
  border: 0 none;
}
.tree li:last-child::before {
  border-right: 3px solid var(--teal);
  border-radius: 0 10px 0 0;
}
.tree li:first-child::after {
  border-radius: 10px 0 0 0;
}
.tree ul ul::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 3px solid var(--teal);
  width: 0;
  height: 26px;
}
.tree li span {
  display: inline-block;
  min-width: 132px;
  background: linear-gradient(180deg, #fff, #f0f6fc);
  border: 2px solid var(--navy2);
  color: var(--navy);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.84rem;
  font-weight: 700;
  box-shadow: var(--sh-1);
  transition: var(--tr);
}
.tree li span:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}
.tree > ul > li > span {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  border-color: var(--gold-d);
  color: #fff;
  font-size: 1rem;
  padding: 13px 30px;
  box-shadow: 0 10px 24px rgba(217, 164, 65, 0.4);
}
.tree > ul > li > ul > li > span {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 42, 94, 0.35);
}
.org-units {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 36px;
}
.org-units li {
  background: rgba(14, 155, 181, 0.1);
  border: 1.5px dashed var(--teal);
  color: #0b7285;
  border-radius: 50px;
  padding: 6px 18px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* ══ خدمات (تیره) ══ */
#services {
  background:
    radial-gradient(
      820px 420px at 90% 0%,
      rgba(43, 196, 221, 0.16),
      transparent 60%
    ),
    radial-gradient(
      600px 400px at 5% 100%,
      rgba(217, 164, 65, 0.14),
      transparent 60%
    ),
    linear-gradient(150deg, #071c40 0%, #0a2a5e 50%, #0d4a80 100%);
}
.svc-cat {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--gold-l);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 48px 0 24px;
}
.svc-cat i {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(217, 164, 65, 0.45);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.svc {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 34px 26px;
  backdrop-filter: blur(6px);
  transition: var(--tr);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.svc:hover {
  transform: translateY(-9px);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
}
.svc svg {
  width: 62px;
  height: 62px;
  stroke: var(--gold-l);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 18px;
  transition: var(--tr);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}
.svc:hover svg {
  stroke: var(--cyan);
  transform: scale(1.12);
}
.svc h4 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 4px;
}
.svc h4 small {
  display: block;
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 400;
  margin-bottom: 8px;
}
.svc p {
  color: #c8dcef;
  font-size: 0.88rem;
}
.edge {
  margin-top: 60px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(217, 164, 65, 0.4);
  border-radius: 24px;
  padding: 46px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}
.edge h3 {
  color: var(--gold-l);
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.edge p {
  color: #d5e5f5;
  text-align: justify;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.edge li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  color: #eaf3fb;
  font-size: 0.92rem;
}
.edge li::before {
  content: "✔";
  color: var(--gold);
  margin-left: 10px;
  font-weight: 800;
}
.edge img {
  border-radius: 18px;
  height: 330px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--sh-3);
  border: 4px solid rgba(255, 255, 255, 0.22);
  transform: rotate(1.5deg);
  transition: var(--tr);
}
.edge img:hover {
  transform: rotate(0);
}

/* ══ استراتژی ══ */
.strat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.strat {
  background: #fff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--sh-2);
  border-top: 5px solid var(--gold);
  transition: var(--tr);
}
.strat:nth-child(even) {
  border-top-color: var(--teal);
}
.strat:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 70px rgba(10, 42, 94, 0.24);
}
.strat-hd {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.strat-hd svg {
  width: 60px;
  height: 60px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  background: rgba(14, 155, 181, 0.1);
  border-radius: 50%;
  padding: 11px;
  box-shadow: 0 8px 20px rgba(14, 155, 181, 0.25);
}
.strat:nth-child(odd) .strat-hd svg {
  stroke: var(--gold-d);
  background: rgba(217, 164, 65, 0.12);
  box-shadow: 0 8px 20px rgba(217, 164, 65, 0.28);
}
.strat h4 {
  color: var(--navy);
  font-size: 1.25rem;
}
.strat p,
.strat li {
  color: var(--muted);
  font-size: 0.94rem;
}
.strat blockquote {
  border-right: 4px solid var(--gold);
  padding-right: 16px;
  color: var(--navy2);
}
.strat ol {
  padding-right: 18px;
}
.strat ol li {
  margin-bottom: 8px;
}
.strat ol li b {
  color: var(--navy);
}

/* ══ مدل‌ها / مطالعه موردی ══ */
.tbl-wrap {
  overflow-x: auto;
  border-radius: 20px;
  box-shadow: var(--sh-2);
}
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 620px;
}
th {
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff;
  padding: 17px;
}
td {
  padding: 17px;
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}
td b {
  color: var(--navy);
}
.sla-case {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 26px;
  margin-top: 32px;
}
.sla {
  background: #fff;
  border-radius: 22px;
  padding: 34px;
  box-shadow: var(--sh-2);
  border-right: 6px solid var(--teal);
}
.sla h4 {
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 1.15rem;
}
.sla li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.sla li::before {
  content: "⏱";
  margin-left: 8px;
}
.case {
  background:
    radial-gradient(
      520px 280px at 92% -12%,
      rgba(217, 164, 65, 0.28),
      transparent 62%
    ),
    linear-gradient(140deg, #071c40 0%, #123f7c 100%);
  border-radius: 24px;
  padding: 38px;
  color: #fff;
  box-shadow: var(--sh-2);
  border: 1px solid rgba(217, 164, 65, 0.4);
}
.case h4 {
  color: var(--gold-l);
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.case p {
  color: #d5e5f5;
  font-size: 0.95rem;
  margin-bottom: 22px;
}
.case-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  text-align: center;
}
.c-stat {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 20px 6px;
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.c-stat b {
  display: block;
  font-size: 2.7rem;
  font-weight: 900;
  color: var(--gold-l);
  line-height: 1.15;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
}
.c-stat span {
  font-size: 0.78rem;
  color: #d5e5f5;
}
.faq {
  margin-top: 54px;
}
.faq h3 {
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 19px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
  text-align: right;
}
.faq-q i {
  font-style: normal;
  color: var(--gold-d);
  font-size: 1.4rem;
  transition: var(--tr);
}
.faq-item.open .faq-q i {
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s;
}
.faq-a p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ══ اخبار ══ */
.news-updated {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}
.news-updated span {
  background: #fff;
  border: 1.5px dashed var(--teal);
  color: #0b7285;
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--sh-1);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 26px;
}
.news-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-2);
  transition: var(--tr);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-9px);
  box-shadow: 0 32px 70px rgba(10, 42, 94, 0.26);
}
.news-img {
  height: 195px;
  overflow: hidden;
  position: relative;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.news-card:hover .news-img img {
  transform: scale(1.09);
}
.news-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}
.news-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.news-src {
  color: var(--teal);
  font-weight: 700;
}
.news-card h4 {
  color: var(--navy);
  font-size: 1.04rem;
  line-height: 1.7;
  margin-bottom: 10px;
}
.news-card > p {
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}
.news-more {
  margin-top: 14px;
  background: none;
  border: 0;
  color: var(--gold-d);
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.85rem;
  text-align: right;
}
.news-more:hover {
  color: var(--teal);
}
.news-full {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: justify;
}
.news-card.open .news-full {
  max-height: 300px;
  padding-top: 10px;
}

/* ══ گالری (تیره) ══ */
#gallery {
  background:
    radial-gradient(
      720px 380px at 10% 0%,
      rgba(217, 164, 65, 0.16),
      transparent 60%
    ),
    radial-gradient(
      600px 400px at 95% 100%,
      rgba(43, 196, 221, 0.14),
      transparent 60%
    ),
    linear-gradient(150deg, #071c40, #0d4a80 115%);
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.gal {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 280px;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.gal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gal:hover img {
  transform: scale(1.15);
}
.gal-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: linear-gradient(
    to top,
    rgba(7, 28, 64, 0.96),
    rgba(7, 28, 64, 0.45) 60%,
    transparent
  );
  padding: 54px 20px 16px;
}
.gal-cap h4 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.gal-cap p {
  color: var(--gold-l);
  font-size: 0.83rem;
  font-weight: 700;
}
.gal:hover .gal-cap {
  background: linear-gradient(
    to top,
    rgba(7, 28, 64, 0.98),
    rgba(14, 155, 181, 0.4) 70%,
    transparent
  );
}

/* ══ تماس ══ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.c-panel {
  background:
    radial-gradient(
      420px 220px at 90% 0%,
      rgba(217, 164, 65, 0.22),
      transparent 62%
    ),
    linear-gradient(150deg, var(--navy), var(--navy2));
  border-radius: 24px;
  padding: 40px;
  color: #fff;
  box-shadow: var(--sh-2);
}
.c-panel h3 {
  color: var(--gold-l);
  margin-bottom: 22px;
  font-size: 1.3rem;
}
.c-panel li {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.c-ico {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(217, 164, 65, 0.16);
  border: 1px solid rgba(217, 164, 65, 0.5);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}
.c-panel b {
  display: block;
  color: var(--gold-l);
  font-size: 0.92rem;
}
.c-panel span {
  color: #d5e5f5;
  font-size: 0.9rem;
}
form.cf {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--sh-2);
  border-top: 6px solid var(--teal);
}
.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.f-g {
  margin-bottom: 16px;
}
.f-g label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.f-g label em {
  color: var(--gold-d);
  font-style: normal;
}
.f-g input,
.f-g select,
.f-g textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.6px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #f8fbfe;
  transition: var(--tr);
  color: var(--ink);
}
.f-g input:focus,
.f-g select:focus,
.f-g textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(14, 155, 181, 0.14);
}
.f-g textarea {
  min-height: 130px;
  resize: vertical;
}
.form-msg {
  display: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-top: 14px;
}
.form-msg.ok {
  display: block;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid #10b981;
  color: #067a55;
}
.form-msg.err {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #b91c1c;
}

/* ══ فوتر ══ */
footer {
  background: #061a3d;
  color: #a9c0da;
  padding: 60px 0 0;
  box-shadow: 0 -20px 50px rgba(4, 20, 48, 0.35);
}
.f-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 36px;
  padding-bottom: 40px;
}
.f-grid h4 {
  color: var(--gold);
  margin-bottom: 16px;
}
.f-grid p,
.f-grid a {
  font-size: 0.88rem;
  display: block;
  padding: 3px 0;
}
.f-grid a:hover {
  color: var(--gold);
}
.f-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  text-align: center;
  font-size: 0.82rem;
  color: #8aa5c4;
}
.f-bot b {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: all 0.8s ease;
}
.reveal.vis {
  opacity: 1;
  transform: none;
}
#topBtn {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #fff;
  font-size: 1.15rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--tr);
  z-index: 900;
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.5);
}
#topBtn.show {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .edge,
  .strat-grid,
  .sla-case,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    margin-top: 30px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hstat b {
    font-size: 2.6rem;
  }
  .nav-links {
    position: fixed;
    top: 78px;
    inset-inline: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    gap: 4px;
    transform: translateY(-140%);
    transition: var(--tr);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open {
    transform: none;
  }
  .burger {
    display: flex;
  }
  .f-row {
    grid-template-columns: 1fr;
  }
  .case-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
