/* ==========================================================================
   ایده‌سازان — قالب رسمی هلدینگ
   ========================================================================== */

:root {
  /* رنگ‌های برند (لوگو) */
  --brand-blue: #066ed7;
  --brand-gold: #ffc10e;

  /* پالت سازمانی */
  --primary: #066ed7;
  --primary-dark: #0556ad;
  --primary-light: #3d8ee0;
  --accent: #ffc10e;
  --accent-hover: #e6ad0c;
  --navy: #0c1f3d;
  --navy-deep: #071428;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-dark: #0c1f3d;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 2px 8px rgba(12, 31, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(12, 31, 61, 0.1);
  --shadow-lg: 0 16px 48px rgba(12, 31, 61, 0.14);
  --radius: 12px;
  --radius-lg: 16px;
  --header-height: 70px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: "IRANSans", Tahoma, Arial, sans-serif;
  --font-bold: 700;
  --gradient-brand: linear-gradient(135deg, var(--navy-deep) 0%, #0a2d5c 45%, var(--primary) 100%);
  --gradient-gold: linear-gradient(90deg, var(--accent), #ffe566);
  --glass: rgba(255, 255, 255, 0.08);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* --- Utilities --- */
.section-padding {
  padding: 5rem 0;
}

.section-padding-sm {
  padding: 3.5rem 0;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.text-center .section-subtitle {
  margin-right: auto;
  margin-left: auto;
}

.text-brand {
  color: var(--brand-blue) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.bg-alt {
  background: var(--bg-alt);
}

.bg-navy {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 50%, #122a52 100%);
  color: #fff;
}

.bg-navy h2,
.bg-navy h3,
.bg-navy h4 {
  color: #fff;
}

.bg-navy .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* انیمیشن اسکرول */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Buttons --- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-brand-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-brand-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-brand-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-brand-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-brand-accent {
  background: var(--accent);
  color: var(--navy-deep);
  border-color: var(--accent);
}

.btn-brand-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--navy-deep);
  transform: translateY(-2px);
}

.btn-brand-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-brand-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn-brand-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1050;
  background: linear-gradient(180deg, #0b1524 0%, #0f1c30 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: box-shadow var(--transition);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(6, 110, 215, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 80% at 0% 100%, rgba(255, 193, 14, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

.site-header::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(6, 110, 215, 0.5) 25%, rgba(255, 193, 14, 0.7) 50%, rgba(6, 110, 215, 0.5) 75%, transparent);
  pointer-events: none;
}

.site-header.scrolled {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand nav actions";
  align-items: center;
  gap: 1rem 1.5rem;
  max-width: 1320px;
  height: var(--header-height);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

.header-brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  min-width: 0;
  padding-block: 0.35rem;
  padding-inline-start: 0.35rem;
  padding-inline-end: 1.35rem;
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
  justify-self: end;
}

.header-brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  line-height: 1.25;
  min-width: 0;
  text-align: start;
}

.header-brand__name {
  font-size: 1.12rem;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.header-brand__tagline {
  font-size: 0.64rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.52);
  max-width: 12.5rem;
  line-height: 1.4;
}

.header-brand__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.header-brand__icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.header-actions {
  grid-area: actions;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  justify-self: start;
}

.header-login {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.9rem;
  color: var(--navy-deep);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--accent);
  transition: background var(--transition), box-shadow var(--transition);
}

.header-login:hover {
  color: var(--navy-deep);
  background: #ffe566;
  box-shadow: 0 4px 14px rgba(255, 193, 14, 0.35);
}

.header-login i {
  font-size: 0.82rem;
}

.header-support {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.84rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.header-support:hover {
  color: #fff;
  border-color: rgba(255, 193, 14, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.header-support-icon {
  font-size: 0.8rem;
  color: var(--accent);
}

.header-support-sep {
  opacity: 0.35;
  font-weight: 300;
}

.header-support-phone {
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 992px) {
  .header-login,
  .header-support {
    display: inline-flex;
  }
}

@media (max-width: 991px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: auto;
    min-height: var(--header-height);
    padding-block: 0.65rem;
  }

  .header-brand {
    flex: 1 1 auto;
    min-width: 0;
    justify-self: auto;
    justify-content: flex-start;
    border-inline-end: none;
    padding: 0;
    gap: 0.65rem;
  }

  .header-brand__text {
    text-align: start;
  }

  .header-actions {
    flex-shrink: 0;
    justify-self: auto;
  }
}

@media (max-width: 575px) {
  .header-inner {
    padding-block: 0.7rem;
  }

  .header-brand__tagline {
    display: block;
    font-size: 0.58rem;
    max-width: 10rem;
    line-height: 1.35;
  }

  .header-brand__name {
    font-size: 1rem;
  }

  .header-brand__mark {
    width: 40px;
    height: 40px;
  }

  .header-brand__icon {
    width: 32px;
    height: 32px;
  }
}

/* دسکتاپ — منوی اصلی */
.main-nav {
  display: none;
}

@media (min-width: 992px) {
  .main-nav {
    grid-area: nav;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
    justify-self: center;
  }
}

.nav-item {
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  right: 0.75rem;
  left: 0.75rem;
  bottom: 0.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), #ffe566);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.nav-trigger .nav-chevron {
  font-size: 0.65rem;
  opacity: 0.7;
  transition: transform var(--transition);
}

.nav-link:hover,
.nav-item.is-open > .nav-trigger {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-item.is-open > .nav-trigger::after {
  transform: scaleX(1);
}

.nav-item.is-open > .nav-trigger .nav-chevron {
  transform: rotate(180deg);
}

.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* زیرمنو — درباره هلدینگ */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  min-width: 190px;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: rgba(12, 28, 52, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1060;
}

.nav-item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 0.55rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown a:hover,
.nav-dropdown a.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

/* مگامنو — بازوهای عملیاتی */
.nav-mega {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  width: min(340px, 90vw);
  padding: 0.5rem;
  background: rgba(12, 28, 52, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 1060;
}

.nav-item.is-open .nav-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-mega-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.7rem;
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: background var(--transition);
}

a.nav-mega-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-mega-logo {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-mega-logo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
}

.nav-mega-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.nav-mega-text strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.nav-mega-text small {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.nav-mega-item--future {
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  cursor: default;
}

.nav-mega-item--future .nav-mega-logo--placeholder {
  color: var(--accent);
}

.nav-mega-item--future .nav-mega-text strong {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 193, 14, 0.3);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* دراور موبایل */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 40, 0.6);
  z-index: 1055;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  height: 100dvh;
  background: var(--navy-deep);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(100%, 0, 0);
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0.35s;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.35);
  will-change: transform;
}

.mobile-menu.open {
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
  transition-delay: 0s;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mobile-menu-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
}

.mobile-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
}

.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 1rem;
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0.5rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  font-size: 0.7rem;
  opacity: 0.6;
  transition: transform var(--transition);
}

.mobile-nav-group.is-open .mobile-nav-toggle i {
  transform: rotate(180deg);
}

.mobile-nav-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-nav-group.is-open .mobile-nav-panel {
  max-height: 420px;
  padding-bottom: 0.35rem;
}

.mobile-nav-panel a:not(.mobile-mega-item) {
  display: block;
  padding: 0.55rem 0.75rem 0.55rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  border-radius: 6px;
}

.mobile-nav-panel a:not(.mobile-mega-item):hover,
.mobile-nav-panel a:not(.mobile-mega-item).active {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-panel--cards {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 0;
}

.mobile-nav-group.is-open .mobile-nav-panel--cards {
  padding-bottom: 0.5rem;
}

.mobile-mega-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  margin-right: 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: inherit;
  text-decoration: none;
}

.mobile-mega-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.mobile-mega-item small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.1rem;
}

.mobile-mega-item img {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.mobile-mega-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.55);
}

.mobile-nav-link {
  display: block;
  padding: 0.9rem 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--accent);
}

.mobile-nav-link--login {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0 0.25rem;
  padding: 0.75rem 1rem;
  color: var(--navy-deep);
  background: var(--accent);
  border-radius: 10px;
  border-bottom: none;
}

.mobile-nav-link--login:hover {
  color: var(--navy-deep);
  background: #ffe566;
}

.mobile-menu-foot {
  padding: 1rem 1.25rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.mobile-menu-foot .btn-brand {
  width: 100%;
  justify-content: center;
}

@media (min-width: 992px) and (max-width: 1100px) {
  .nav-link {
    padding: 0.4rem 0.5rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 992px) {
  .mobile-menu,
  .mobile-overlay {
    display: none;
  }
}

/* --- Hero (پریمیوم) --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2.5rem);
  padding-bottom: 5rem;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../img/back.png') center center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 20, 40, 0.72) 0%, rgba(10, 45, 92, 0.78) 50%, rgba(7, 20, 40, 0.85) 100%),
    var(--gradient-brand);
  opacity: 0.92;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: min(600px, 70vw);
  height: min(600px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 110, 215, 0.28) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 193, 14, 0.1) 0%, transparent 70%);
  top: 20%;
  right: 12%;
  z-index: 1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: 0;
  left: 0;
  height: 56px;
  background: linear-gradient(to top, var(--bg) 0%, var(--bg) 25%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 3vw, 2rem);
  min-height: calc(100vh - var(--header-height) - 7.5rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: right;
}

.hero-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: fit-content;
  max-width: 100%;
  margin-inline-start: 0;
  margin-inline-end: auto;
  margin-bottom: 2.25rem;
}

.hero-headline > h1,
.hero-headline > .hero-lead {
  grid-column: 1;
  width: 100%;
  min-width: 0;
  margin-inline: 0;
  padding-inline: 0;
}

.hero h1 {
  font-size: clamp(2rem, 4.8vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin-top: 0;
  margin-bottom: 1.25rem;
  line-height: 1.4;
  text-align: right;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.bg-alt .section-label,
.section-dark .section-label {
  color: var(--accent);
}

.bg-alt .section-label::before,
.section-dark .section-label::before {
  background: var(--gradient-gold);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--glass);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero h1 .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-line {
  display: inline;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.78);
  width: 100%;
  max-width: 100%;
  margin-bottom: 0;
  line-height: 2;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  direction: rtl;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0;
  justify-content: flex-start;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-graphic {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(6, 110, 215, 0.15));
}

/* --- Portal Cards (سامانه‌ها) --- */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.portal-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--gradient-gold);
  opacity: 0;
  transition: opacity var(--transition);
}

.portal-card:hover {
  border-color: rgba(6, 110, 215, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.portal-card:hover::before {
  opacity: 1;
}

.portal-card .icon-wrap {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: #fff;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 1.35rem;
  box-shadow: 0 8px 20px rgba(6, 110, 215, 0.25);
}

.portal-card .icon-wrap .fa {
  color: var(--accent);
}

.portal-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.portal-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

/* --- Feature / Arm Cards --- */
.arm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.arm-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  height: 100%;
}

.arm-card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.arm-card .icon-wrap {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--accent);
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.arm-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.arm-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.arm-card .link-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.arm-card .link-more:hover {
  gap: 0.55rem;
}

/* --- Intro Block --- */
.intro-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .intro-block {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.intro-content .section-title {
  margin-bottom: 1rem;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}

.stat-item .number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* --- CEO Message --- */
.section-ceo {
  position: relative;
  overflow: hidden;
}

.section-ceo .ceo-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #e9edf2;
  background-image: url('../img/back-admin.png');
  background-repeat: repeat;
  background-size: 480px auto;
  opacity: 0.45;
  pointer-events: none;
}

.section-ceo .container {
  position: relative;
  z-index: 1;
}

.ceo-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .ceo-section {
    grid-template-columns: auto 1fr;
    text-align: right;
    justify-items: start;
  }

  .ceo-section .ceo-photo-wrap {
    justify-self: center;
  }
}

.ceo-photo {
  border-radius: 50%;
  overflow: hidden;
  width: 220px;
  height: 220px;
  margin: 0 auto;
  background: linear-gradient(145deg, var(--navy) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 4rem;
  border: 5px solid #fff;
  box-shadow: 0 0 0 3px var(--primary), var(--shadow-lg);
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ceo-quote {
  font-size: 1.05rem;
  color: var(--text);
  border-right: 4px solid var(--accent);
  padding-right: 1.5rem;
  margin: 1.25rem 0;
  font-style: normal;
}

/* --- تاریخچه — گرید دو ستونه + مسیر مارپیچ --- */
.section-timeline {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.section-timeline .section-subtitle {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.timeline-grid {
  max-width: 920px;
  margin: 0 auto;
  padding: 0.25rem 0;
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr minmax(64px, 88px) 1fr;
  gap: 0.65rem 0.5rem;
  align-items: stretch;
}

/* ردیف تک‌کاشی — چپ یا راست */
.timeline-row--solo {
  grid-template-columns: 1fr;
}

.timeline-row--solo-left .timeline-node {
  grid-column: 1;
  max-width: calc(50% - 0.35rem);
  margin-left: 0;
  margin-right: auto;
}

.timeline-row--solo-right .timeline-node {
  grid-column: 1;
  max-width: calc(50% - 0.35rem);
  margin-right: 0;
  margin-left: auto;
}

/* ردیف ترکیبی: یک کاشی چپ + ستون تأمین/افق */
.timeline-row--split {
  align-items: stretch;
}

.timeline-row--split .timeline-node--solo-cell {
  align-self: center;
}

.timeline-row--split .timeline-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.timeline-bridge--h-to-stack {
  align-self: center;
}

.timeline-bridge--v-inline {
  height: 1.25rem;
  margin: 0.05rem auto;
  width: 24px;
  flex-shrink: 0;
}

.timeline-bridge--v-inline .timeline-segment--v {
  min-height: 6px;
}

/* پل افقی بین دو کاشی */
.timeline-bridge--h {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  gap: 0;
  min-height: 44px;
}

.timeline-bridge--h .timeline-segment {
  flex: 1;
  height: 2px;
  min-width: 12px;
  background: linear-gradient(
    to left,
    var(--primary) 0%,
    var(--accent) 100%
  );
  border-radius: 2px;
}

.timeline-segment--reverse {
  background: linear-gradient(
    to right,
    var(--primary) 0%,
    var(--accent) 100%
  );
}

.timeline-bridge--h .timeline-chevron {
  font-size: 0.7rem;
  color: var(--primary);
  margin: 0 -1px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(6, 110, 215, 0.2));
}

/* پل عمودی بین ردیف‌ها */
.timeline-bridge--v {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 24px;
  height: 2rem;
  margin-left: auto;
  margin-top: -0.15rem;
  margin-bottom: -0.15rem;
  position: relative;
  z-index: 2;
}

/* ستون راست گرید (مثلاً تأمین قطعات) */
.timeline-bridge--v-start {
  margin-right: calc(25% - 12px);
}

/* ستون چپ گرید (مثلاً پایان مسیر در ردیف) */
.timeline-bridge--v-end {
  margin-right: calc(75% - 12px);
}

.timeline-bridge--v .timeline-segment--v {
  flex: 1;
  width: 2px;
  min-height: 10px;
  background: linear-gradient(
    to bottom,
    var(--primary) 0%,
    var(--primary) 70%,
    rgba(6, 110, 215, 0.35) 100%
  );
  border-radius: 2px;
}

.timeline-bridge--v .timeline-chevron {
  font-size: 0.65rem;
  color: var(--primary);
  line-height: 1;
  margin: -2px 0;
}

.timeline-bridge--v .timeline-dot {
  margin-top: 1px;
}

.timeline-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 110, 215, 0.1);
  flex-shrink: 0;
  transition: var(--transition);
}

.timeline-node:hover + .timeline-bridge--h .timeline-dot:first-child,
.timeline-bridge--h:hover .timeline-dot,
.timeline-row:hover .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(6, 110, 215, 0.15);
}

.timeline-node {
  text-align: right;
  min-width: 0;
}

.timeline-node-body {
  background: #fff;
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(12, 31, 61, 0.04);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.timeline-node:hover .timeline-node-body {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(6, 110, 215, 0.1);
  border-color: rgba(6, 110, 215, 0.18);
}

.timeline-node--future .timeline-node-body {
  background: linear-gradient(135deg, #fff 0%, #fffef8 100%);
  border-color: rgba(255, 193, 14, 0.35);
}

.timeline-node-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.timeline-node-head i {
  font-size: 0.95rem;
  color: var(--primary);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 110, 215, 0.08);
  border-radius: 8px;
  flex-shrink: 0;
}

.timeline-node--future .timeline-node-head i {
  color: #c99200;
  background: rgba(255, 193, 14, 0.12);
}

.timeline-node-head h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.45;
}

.timeline-node-body p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

@media (max-width: 767px) {
  .timeline-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-bridge--h {
    flex-direction: row;
    min-height: 36px;
    padding: 0 1rem;
  }

  .timeline-bridge--h .timeline-segment {
    background: linear-gradient(to bottom, var(--primary), var(--accent));
    width: 2px;
    height: 20px;
    flex: none;
  }

  .timeline-bridge--h .timeline-chevron {
    transform: rotate(-90deg);
  }

  .timeline-bridge--v {
    margin-right: auto;
    margin-left: auto;
    height: 1.5rem;
  }

  .timeline-row--solo-left .timeline-node,
  .timeline-row--solo-right .timeline-node {
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .timeline-row--split {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .timeline-row--split .timeline-bridge--h-to-stack {
    display: none;
  }

  .timeline-row--split .timeline-stack,
  .timeline-row--split .timeline-node--solo-cell {
    max-width: 100%;
  }
}

/* Timeline عمودی (صفحات داخلی) */
.timeline-vertical {
  position: relative;
  padding-right: 2rem;
}

.timeline-vertical::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 27px;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--border));
}

.timeline-vertical .timeline-v-item {
  position: relative;
  padding-bottom: 2.5rem;
  padding-right: 3.5rem;
}

.timeline-vertical .timeline-v-item:last-child {
  padding-bottom: 0;
}

.timeline-vertical .timeline-dot {
  position: absolute;
  right: 0;
  top: 0;
  margin: 0;
}

.timeline-vertical .timeline-v-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.timeline-vertical .year {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  background: rgba(6, 110, 215, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50px;
  margin-bottom: 0.5rem;
}

/* --- نمودار سازمانی مدیران --- */
.section-leadership {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}

.org-chart {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.org-tier {
  position: relative;
  margin-bottom: 0.5rem;
}

.org-tier-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.org-nodes {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.org-nodes--row {
  position: relative;
}

.org-nodes.org-nodes--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 840px;
  margin-right: auto;
  margin-left: auto;
}

@media (max-width: 767px) {
  .org-nodes.org-nodes--3 {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: min(320px, 100%);
  }
}

.leader-node {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 2;
}

.leader-node:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 110, 215, 0.2);
}

.leader-node--ceo {
  padding: 1.75rem 2rem;
  border-color: rgba(6, 110, 215, 0.2);
  box-shadow: var(--shadow-md);
}

.leader-node--ceo .leader-avatar {
  width: 120px;
  height: 120px;
  font-size: 2.75rem;
}

.leader-avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--navy-deep) 0%, var(--primary) 100%);
  color: rgba(255, 255, 255, 0.45);
  font-size: 2.25rem;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--primary), 0 8px 20px rgba(6, 110, 215, 0.2);
}

.leader-node--subsidiary .leader-avatar {
  box-shadow: 0 0 0 3px var(--accent), 0 8px 20px rgba(255, 193, 14, 0.15);
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.leader-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.leader-role {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.leader-bio {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.65;
}

/* خطوط اتصال نمودار */
.org-connector--down {
  width: 2px;
  height: 36px;
  background: linear-gradient(to bottom, var(--primary), rgba(6, 110, 215, 0.3));
  margin: 0.5rem auto 0;
}

.org-connector--mid {
  height: 28px;
}

.org-connector--branch {
  position: relative;
  height: 48px;
  max-width: 720px;
  margin: 0 auto 0;
}

.org-connector--branch .org-line-v {
  position: absolute;
  top: 0;
  right: 50%;
  transform: translateX(50%);
  width: 2px;
  height: 24px;
  background: var(--primary);
}

.org-connector--branch .org-line-h {
  position: absolute;
  top: 24px;
  right: 16.66%;
  left: 16.66%;
  height: 2px;
  background: var(--primary);
}

.org-connector--branch .org-line-h--wide {
  right: 10%;
  left: 10%;
}

.org-stem {
  position: absolute;
  top: -28px;
  right: 50%;
  transform: translateX(50%);
  width: 2px;
  height: 28px;
  background: var(--primary);
  z-index: 1;
}

.org-nodes--row {
  padding-top: 28px;
}

@media (max-width: 767px) {
  .org-connector--branch .org-line-h,
  .org-stem {
    display: none;
  }

  .org-nodes--row {
    padding-top: 0;
  }

  .org-connector--branch {
    height: 24px;
  }

  .org-nodes--3 > .leader-node {
    width: 100%;
    max-width: 100%;
  }

  .leader-node--ceo {
    width: 100%;
    max-width: min(320px, 100%);
    padding: 1.5rem 1.25rem 1.35rem;
  }
}

/* legacy */
.leader-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.leader-card {
  display: none;
}

/* فیلتر مدیران */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.leader-card.hidden {
  display: none;
}

/* --- افتخارات و مجوزها --- */
.section-honors {
  position: relative;
  overflow: hidden;
}

.section-honors::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 10%, rgba(255, 193, 14, 0.06) 0%, transparent 45%);
  pointer-events: none;
}

.section-honors .container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
}

.honors-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .honors-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.honors-col {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem 1.2rem 1.35rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.honors-col:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.honors-col-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
}

.honors-col-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(6, 110, 215, 0.1);
  color: var(--primary);
  font-size: 1.15rem;
}

.honors-col-icon--gold {
  background: rgba(255, 193, 14, 0.15);
  color: #c99200;
}

.honors-col-icon--accent {
  background: rgba(6, 110, 215, 0.12);
  color: var(--primary-dark);
}

.honors-col-head h3 {
  font-size: 1rem;
  margin: 0;
  color: var(--navy);
}

.honors-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.honors-col-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.honors-col-list strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
}

.honors-col-list span {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.honors-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .honors-highlights {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .honor-highlight {
    padding: 1.35rem 1rem;
  }

  .honor-highlight-icon {
    width: 60px;
    height: 60px;
    font-size: 1.55rem;
  }

  .honor-highlight-icon .fa {
    font-size: 1.55rem;
  }
}

.honor-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.25rem 0.9rem;
  min-height: 100%;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(12, 31, 61, 0.04);
  text-align: center;
}

.honor-highlight > div {
  width: 100%;
}

.honor-highlight-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 0;
}

.honor-highlight-icon .fa {
  display: block;
  line-height: 1;
  font-size: 1.45rem;
}

.honor-highlight strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.honor-highlight span {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.45;
}

/* --- چشم‌انداز و مأموریت --- */
.section-vision {
  background: linear-gradient(180deg, #fff 0%, #f4f8fc 50%, #fff 100%);
  position: relative;
  overflow: hidden;
}

.section-vision::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 30%, rgba(6, 110, 215, 0.05) 0%, transparent 45%),
              radial-gradient(circle at 85% 70%, rgba(255, 193, 14, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.strategy-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .strategy-row {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

.strategy-panel {
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.strategy-panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.strategy-panel-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  color: #fff;
}

.strategy-panel--mission .strategy-panel-head {
  background: linear-gradient(135deg, #0c1f3d 0%, #066ed7 100%);
}

.strategy-panel--vision .strategy-panel-head {
  background: linear-gradient(135deg, #066ed7 0%, #0a4a8a 100%);
}

.strategy-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  font-size: 1.35rem;
  color: var(--accent);
}

.strategy-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.2rem;
}

.strategy-panel-head h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #fff;
  font-weight: 700;
}

.strategy-lead {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  padding: 1.35rem 1.5rem 0.75rem;
  margin: 0;
  font-weight: 500;
}

.strategy-points {
  list-style: none;
  padding: 0 1.5rem 1.5rem;
  margin: 0;
  flex-grow: 1;
}

.strategy-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.7;
}

.strategy-points li:last-child {
  border-bottom: none;
}

.strategy-points .fa {
  color: var(--primary);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* --- News --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.news-card .thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 2.5rem;
  overflow: hidden;
}

.news-card .thumb .news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card .body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.news-card .date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 0;
}

.news-read-more {
  margin-top: auto;
  padding-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  align-self: flex-start;
  padding: 0.55rem 0.65rem 0.55rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  background: linear-gradient(135deg, rgba(6, 110, 215, 0.09) 0%, rgba(6, 110, 215, 0.04) 100%);
  border: 1px solid rgba(6, 110, 215, 0.2);
  border-radius: 999px;
  transition: color var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.news-read-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.72rem;
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}

.news-read-more:hover,
.news-card:hover .news-read-more {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(6, 110, 215, 0.28);
  transform: translateY(-2px);
}

.news-read-more:hover .news-read-more-icon,
.news-card:hover .news-read-more-icon {
  background: #fff;
  color: var(--primary);
  transform: translateX(-3px);
}

.news-read-more:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card-link:hover {
  color: inherit;
}

.news-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.news-card-meta .date {
  margin-bottom: 0;
}

.news-tag {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(6, 110, 215, 0.08);
  border-radius: 999px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}

a.news-tag:hover {
  color: #fff;
  background: var(--primary);
}

.news-tags {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.news-card-link--thumb {
  display: block;
  color: inherit;
  text-decoration: none;
}

.news-card .body h3 a {
  color: inherit;
  text-decoration: none;
}

.news-card .body h3 a:hover {
  color: var(--primary);
}

.news-tag-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.news-tag-filter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

.news-tag-filter-clear {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
}

.news-tag-filter-clear:hover {
  color: var(--primary);
}

.news-empty-state {
  padding: 2rem 1rem;
}

.news-article-cover--photo {
  padding: 0;
  overflow: hidden;
  background: var(--border-light);
}

.news-article-cover--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero-lead {
  color: rgba(255, 255, 255, 0.75);
  max-width: 36rem;
}

.news-card h2,
.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.news-card .thumb--blue {
  background: linear-gradient(135deg, #066ed7 0%, #0a4a8a 100%);
}

.news-card .thumb--gold {
  background: linear-gradient(135deg, #0c1f3d 0%, #b8860b 100%);
}

.news-section-foot {
  text-align: center;
  margin-top: 2rem;
}

/* --- News article page --- */
.page-hero--compact {
  padding-bottom: 1.5rem;
}

.section-news-article {
  background: var(--bg);
}

.news-article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .news-article-layout {
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    max-width: 1100px;
  }
}

.news-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .news-article {
    padding: 2.25rem;
  }
}

.news-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.news-article-meta time {
  font-size: 0.85rem;
  color: var(--text-light);
}

.news-article-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.news-article-lead {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

.news-article-cover {
  margin: 1.75rem 0;
  aspect-ratio: 21/9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy) 0%, var(--primary) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 3.5rem;
}

.news-article-cover--blue {
  background: linear-gradient(135deg, #066ed7 0%, #0a4a8a 100%);
}

.news-article-cover--gold {
  background: linear-gradient(135deg, #0c1f3d 0%, #b8860b 100%);
}

.news-article-body p {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.news-article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.news-article-body ul,
.news-article-body ol {
  padding-right: 1.25rem;
  margin-bottom: 1rem;
}

.news-article-body blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-right: 3px solid var(--primary);
  background: rgba(6, 110, 215, 0.06);
  color: var(--text-muted);
}

.news-article-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

.news-back-link,
.news-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.news-contact-link {
  color: var(--text-muted);
}

.news-contact-link:hover {
  color: var(--primary);
}

.news-article-aside {
  align-self: start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.news-aside-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.news-aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.news-aside-list li + li {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
}

.news-aside-list a {
  display: block;
  color: inherit;
}

.news-aside-list a:hover strong {
  color: var(--primary);
}

.news-aside-list time {
  display: block;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.news-aside-list strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  transition: color var(--transition);
}

.news-aside-tags {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.news-aside-tags .news-aside-title {
  margin-bottom: 0.85rem;
}

.news-trending-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.news-trending-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(6, 110, 215, 0.08);
  border: 1px solid rgba(6, 110, 215, 0.18);
  border-radius: 999px;
  text-decoration: none;
  transition: color var(--transition), background var(--transition), border-color var(--transition), transform var(--transition);
}

.news-trending-tag:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

/* --- Partners --- */
#partners .section-header {
  text-align: center;
}

#partners .section-subtitle {
  margin-right: auto;
  margin-left: auto;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}

.partner-item {
  flex: 0 1 140px;
  width: 140px;
  max-width: calc(50% - 0.5rem);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}

@media (min-width: 576px) {
  .partner-item {
    max-width: 140px;
  }
}

@media (min-width: 992px) {
  .partner-grid {
    flex-wrap: nowrap;
  }

  .partner-item {
    flex: 1 1 0;
    width: auto;
    max-width: none;
  }
}

.partner-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 193, 14, 0.4);
}

.partner-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.partner-item span {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 193, 14, 0.08) 0%, transparent 60%);
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
  position: relative;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
}

/* --- Footer --- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, var(--navy-deep) 0%, #050d18 100%);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 0;
  overflow: hidden;
}

.footer-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, black 0%, transparent 85%);
  pointer-events: none;
}

.footer-main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.25rem;
  padding: 3.5rem 0 0.25rem;
}

.footer-brand,
.footer-ecosystem,
.footer-contact {
  grid-column: 1 / -1;
}

@media (max-width: 767px) {
  .site-footer .container {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
    max-width: 100%;
  }

  .footer-main {
    gap: 1.5rem 0.5rem;
    padding: 2.5rem 0 0.25rem;
  }

  .footer-subsidiary-name {
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .footer-subsidiary-field {
    white-space: nowrap;
    font-size: 0.72rem;
  }

  .footer-brand {
    width: 100%;
    min-width: 0;
    padding-inline: 0;
  }

  .footer-brand p {
    margin-inline: 0;
    padding-inline: 0;
  }

  .footer-brand-actions {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .footer-col-nav .footer-col-title {
    font-size: 0.88rem;
    margin-bottom: 1rem;
  }

  .footer-col-nav a {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .footer-col-nav .footer-subheading {
    margin-top: 0.85rem;
    margin-bottom: 0.5rem;
  }
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .footer-brand,
  .footer-ecosystem,
  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (min-width: 992px) {
  .footer-main {
    grid-template-columns: 1.35fr max-content 0.85fr 0.85fr 1fr;
    gap: 1.5rem 1.25rem;
  }

  .footer-brand,
  .footer-ecosystem,
  .footer-contact {
    grid-column: auto;
  }

  .footer-ecosystem {
    min-width: 0;
    justify-self: end;
    width: max-content;
    max-width: 100%;
  }

  .footer-ecosystem ul {
    width: max-content;
    max-width: 100%;
  }

  .footer-subsidiary-link {
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0.6rem;
    gap: 0.6rem;
  }

  .footer-subsidiary-name {
    font-size: 0.78rem;
    white-space: nowrap;
    line-height: 1.3;
  }

  .footer-subsidiary-field {
    font-size: 0.7rem;
    white-space: nowrap;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  color: inherit;
}

.footer-logo:hover {
  color: inherit;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-brand .logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
}

.footer-brand .logo-text span {
  color: var(--brand-blue);
}

.footer-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.85;
  width: 100%;
  max-width: 100%;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  direction: rtl;
}

@media (min-width: 992px) {
  .footer-brand p {
    max-width: 340px;
  }
}

.footer-brand-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.footer-brand .social-links {
  margin-top: 0;
}

.footer-col-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 2rem;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 1px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.55rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
  transition: color var(--transition);
}

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

.footer-subheading {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  margin: 1.25rem 0 0.65rem;
  text-transform: none;
}

.footer-partner-links li {
  margin-bottom: 0.45rem;
}

.footer-subsidiary-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), border-color var(--transition);
}

.footer-subsidiary-logo {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
}

.footer-subsidiary-logo--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 193, 14, 0.9);
  font-size: 1rem;
  padding: 0;
}

.footer-subsidiary-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.footer-subsidiary-link:not(:has(.footer-subsidiary-logo)) .footer-subsidiary-text {
  width: 100%;
}

a.footer-subsidiary-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 193, 14, 0.25);
  color: inherit;
}

.footer-subsidiary-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}

.footer-subsidiary-field {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-subsidiary-link--future {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
  background: transparent;
  cursor: default;
}

.footer-subsidiary-link--future .footer-subsidiary-name {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.footer-subsidiary-link--future .footer-subsidiary-name i {
  color: var(--accent);
  margin-left: 0.35rem;
  font-size: 0.8rem;
}

.footer-ecosystem ul {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-ecosystem li {
  margin-bottom: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
}

.footer-contact .icon {
  color: var(--accent);
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 1rem;
  text-align: center;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
}

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

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-legal-trigger {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 0.2rem;
  padding-bottom: 0.65rem;
  margin-top: -0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.footer-legal-toggle:hover,
.footer-main.is-open .footer-legal-toggle {
  background: rgba(255, 193, 14, 0.15);
  color: #fff;
}

.footer-legal-chevron {
  font-size: 0.85rem;
  transition: transform var(--transition);
}

.footer-main.is-open .footer-legal-chevron {
  transform: rotate(180deg);
}

.footer-legal-panel {
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: 0fr;
  margin-top: 0;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.footer-main.is-open {
  padding-bottom: 1rem;
}

.footer-main.is-open .footer-legal-panel {
  grid-template-rows: 1fr;
}

.footer-legal-panel-inner {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.35s ease, padding 0.35s ease;
}

.footer-main.is-open .footer-legal-panel-inner {
  padding-top: 0.5rem;
  padding-bottom: 0;
  opacity: 1;
  transform: translateY(0);
}

.footer-copyright {
  margin: 0;
  font-size: clamp(0.68rem, 2.2vw, 0.82rem);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.82rem;
  transition: color var(--transition);
  flex-shrink: 0;
}

.footer-credit i {
  color: var(--accent);
  font-size: 0.95rem;
  transition: transform var(--transition);
}

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

.footer-credit:hover i {
  transform: rotate(-12deg) scale(1.1);
}

/* سازگاری با کلاس‌های قدیمی */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.35rem 0 1.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* سازگاری با کلاس‌های قدیمی */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

/* --- Page Header (داخلی) --- */
.page-hero {
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero--contact,
.page-hero--news,
.page-hero--leadership {
  background: var(--navy-deep);
}

.contact-hero-lead {
  color: rgba(255, 255, 255, 0.75);
  max-width: 40rem;
}

.page-hero--contact .page-hero-bg,
.page-hero--news .page-hero-bg,
.page-hero--leadership .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.page-hero--contact .page-hero-bg {
  background-image: url('../img/contact.png');
}

.page-hero--news .page-hero-bg {
  background-image: url('../img/back.png');
}

.page-hero--leadership .page-hero-bg {
  background-image: url('../img/modir.png');
}

.page-hero--contact .page-hero-bg::after,
.page-hero--news .page-hero-bg::after,
.page-hero--leadership .page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(7, 20, 40, 0.78) 0%, rgba(10, 45, 92, 0.85) 55%, rgba(7, 20, 40, 0.9) 100%);
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1;
  pointer-events: none;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.page-hero .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
}

.page-hero .breadcrumb a:hover {
  color: var(--accent);
}

.page-hero .breadcrumb li + li::before {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

/* --- Forms --- */
.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.form-control,
.form-select {
  font-family: var(--font);
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 110, 215, 0.15);
}

.map-placeholder {
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- Value Cards (about) --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.value-card {
  padding: 1.75rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  text-align: center;
}

.value-card .icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* --- Arm Detail (specialized-arms page) --- */
.arm-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.arm-detail-card .arm-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.arm-detail-card .icon-wrap-lg {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--accent);
  border-radius: 16px;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.services-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

.manager-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* --- News categories --- */
.news-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* --- Back to top --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* --- Responsive tweaks --- */
@media (max-width: 767px) {
  .section-padding {
    padding: 3.5rem 0;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-container {
    min-height: auto;
    max-width: 100%;
    padding-inline: 0.45rem;
  }

  .hero-content,
  .hero-headline,
  .hero-headline > h1,
  .hero-headline > .hero-lead {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: 0;
  }

  .hero-headline {
    width: 100%;
    margin-inline-end: 0;
  }

  .hero h1 {
    font-size: clamp(2rem, 11.5vw, 2.9rem);
    line-height: 1.4;
    margin-bottom: 1rem;
    text-align: right;
  }

  .hero-title-line {
    display: block;
    width: 100%;
    text-align: right;
  }

  .hero-lead {
    line-height: 1.85;
    text-align: justify;
    text-align-last: right;
    text-justify: inter-word;
  }

  .hero-actions {
    gap: 0.65rem;
  }

  .hero-actions .btn-brand {
    width: auto;
    min-width: 0;
  }

  .hero-actions .btn-brand:first-child {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-actions .btn-brand:nth-child(2),
  .hero-actions .btn-brand:nth-child(3) {
    flex: 1 1 0;
    justify-content: center;
    font-size: 0.82rem;
    padding-inline: 0.7rem;
  }

  .hero-stats-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 0.35rem 0.5rem;
    padding-top: 1.5rem;
    margin-top: 2rem;
  }

  .hero-stats-group {
    display: contents;
  }

  .hero-stat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    text-align: start;
  }

  .hero-stat--solo {
    text-align: start;
  }

  .hero-stat strong {
    font-size: 1.15rem;
    line-height: 1;
  }

  .hero-stat span {
    font-size: clamp(0.52rem, 2.6vw, 0.62rem);
    line-height: 1.25;
    white-space: nowrap;
  }

  .ceo-section {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 2.5rem 1.25rem;
  }

  .cta-actions .btn-brand {
    width: 100%;
  }
}

/* ==========================================================================
   ارتقای بصری — هلدینگ پریمیوم
   ========================================================================== */

/* تصویر محصول در Hero */
.hero-product {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 0.75rem;
}

.hero-product-ring {
  position: absolute;
  width: min(100%, 300px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid rgba(255, 193, 14, 0.25);
  background: radial-gradient(circle, rgba(6, 110, 215, 0.2) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-product-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(85%, 280px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.4));
  animation: hero-float 5s ease-in-out infinite;
}

@media (min-width: 992px) and (max-width: 1399px) {
  .hero-product {
    min-height: 200px;
    padding: 0.25rem;
  }

  .hero-product-img {
    max-width: 220px;
  }

  .hero-product-ring {
    width: min(100%, 260px);
  }
}

@media (min-width: 1400px) {
  .hero-product-img {
    max-width: 300px;
  }

  .hero-product-ring {
    width: min(100%, 340px);
  }
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --- معرفی هلدینگ --- */
.section-intro {
  background: linear-gradient(180deg, #fff 0%, var(--bg-alt) 100%);
}

.section-intro .container {
  max-width: 1140px;
}

.intro-content .intro-lead {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.85;
  margin-bottom: 0;
  text-align: justify;
  text-align-last: right;
  text-justify: inter-word;
  direction: rtl;
}

.intro-highlights {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.intro-highlights--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1rem;
}

@media (min-width: 576px) {
  .intro-highlights--grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intro-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.intro-highlights .fa {
  color: var(--primary);
  margin-top: 0.15rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.intro-gallery-head {
  margin-bottom: 0.75rem;
}

.intro-gallery-head h3 {
  font-size: 0.95rem;
  margin: 0.25rem 0 0;
  color: var(--navy);
}

.workspace-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(6, 110, 215, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

.intro-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.intro-gallery-grid figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-deep);
  border: 1px solid var(--border-light);
}

.intro-gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.intro-gallery-grid figure:hover img {
  transform: scale(1.04);
}

.intro-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

@media (min-width: 768px) {
  .intro-pillars {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-top: 2.5rem;
  }
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(12, 31, 61, 0.04);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 110, 215, 0.1);
  color: var(--primary);
  border-radius: 10px;
  font-size: 0.95rem;
}

.pillar-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.pillar-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 575px) {
  .intro-gallery-grid {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }

  .intro-gallery-grid figure {
    flex: 0 0 72%;
    scroll-snap-align: start;
    aspect-ratio: 4 / 3;
  }

  .intro-pillars {
    grid-template-columns: 1fr;
  }
}

/* --- بازوهای عملیاتی --- */
.section-arms {
  position: relative;
  overflow: hidden;
}

.section-arms::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(6, 110, 215, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 193, 14, 0.08) 0%, transparent 35%);
  pointer-events: none;
}

.section-arms .container {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .section-arms .section-subtitle {
    max-width: none;
    white-space: nowrap;
  }
}

.arms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .arms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .arms-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}

.arm-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 18px rgba(12, 31, 61, 0.06);
  padding: 1.15rem 1.1rem 1.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
}

a.arm-card {
  text-decoration: none;
  color: inherit;
}

.arm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(6, 110, 215, 0.1);
  border-color: rgba(6, 110, 215, 0.18);
}

.arm-card-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.arm-card-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-alt);
  padding: 4px;
}

.arm-card-logo--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  border: 1px solid var(--border-light);
}

.arm-card-field {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(6, 110, 215, 0.08);
  border: 1px solid rgba(6, 110, 215, 0.12);
  padding: 0.28rem 0.6rem;
  border-radius: 50px;
  line-height: 1.3;
}

.arm-card-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin: 0 0 0.5rem;
}

.arm-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 0.85rem;
  flex: 1;
}

.arm-card-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.arm-card-tags li {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  padding: 0.22rem 0.5rem;
  border-radius: 5px;
}

.arm-card--future {
  border-style: dashed;
  border-color: rgba(6, 110, 215, 0.2);
  background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
}

.arm-card--future .arm-card-logo--icon {
  color: var(--accent);
  background: rgba(255, 193, 14, 0.1);
  border-color: rgba(255, 193, 14, 0.25);
}

.arm-card--future .arm-card-name {
  color: rgba(12, 31, 61, 0.75);
  font-weight: 600;
}

@media (min-width: 992px) {
  .arm-card-name {
    font-size: 0.82rem;
  }
}

.hero-stats-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  width: 100%;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stats-group {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1.5rem 2.5rem;
}

.hero-stat--solo {
  text-align: end;
}

@media (min-width: 992px) {
  .hero-stats-group {
    gap: 2rem 3.5rem;
  }
}

.hero-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.hero-stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

.btn-brand-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-brand-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

/* legacy arm-card overrides moved to .section-arms */

.stat-item {
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ceo-section {
  border: none;
  box-shadow: var(--shadow-lg);
}

/* timeline legacy dot — see .milestone-card */

/* leader-card legacy removed — see .leader-node */

/* vision-card legacy — see .strategy-panel */

.news-card .thumb {
  position: relative;
  overflow: hidden;
}

.news-card .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 20, 40, 0.6), transparent);
}

.section-title {
  position: relative;
  padding-bottom: 0.5rem;
}

.text-center .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-gold);
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

/* honor-card legacy — replaced by .honors-col */

/* ==========================================================================
   صفحه تماس
   ========================================================================== */

.contact-channels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .contact-channels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .contact-channels {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.contact-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.contact-channel-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 110, 215, 0.2);
}

.contact-channel-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6, 110, 215, 0.1), rgba(255, 193, 14, 0.12));
  color: var(--primary);
  font-size: 1.1rem;
}

.contact-channel-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--navy);
}

.contact-channel-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-channel-card a {
  color: var(--primary);
  font-weight: 600;
}

.contact-form-lead {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-form .section-title {
  margin-bottom: 0.5rem;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-sidebar-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-sidebar-block h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.contact-sidebar-block > p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.contact-dept-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-dept-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.contact-dept-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--bg-alt);
  color: var(--primary);
  font-size: 0.95rem;
}

.contact-dept-list strong {
  display: block;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.contact-dept-list span,
.contact-dept-list a {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-dept-list a:hover {
  color: var(--primary);
}

.contact-dept-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-dept-contact-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.contact-dept-contact-line i {
  width: 1rem;
  text-align: center;
  color: var(--primary);
  opacity: 0.85;
  flex-shrink: 0;
}

.contact-dept-contact-line a {
  display: inline-block;
  color: inherit;
}

.contact-dept-contact-line a:hover {
  color: var(--primary);
}

.contact-dept-contacts a {
  display: inline-block;
}

.contact-sidebar-social:empty {
  display: none;
}

.contact-sidebar-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: linear-gradient(135deg, rgba(6, 110, 215, 0.06), rgba(255, 193, 14, 0.08));
  border-color: rgba(6, 110, 215, 0.15);
}

.contact-sidebar-note i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.15rem;
}

.contact-sidebar-note p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-sidebar-social {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.8);
}

.contact-sidebar-social > span {
  font-size: 0.88rem;
  font-weight: 600;
}

.contact-sidebar-social .social-links a {
  background: rgba(255, 255, 255, 0.1);
}

.contact-types-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 576px) {
  .contact-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .contact-types-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}

.contact-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.contact-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 193, 14, 0.4);
  color: inherit;
}

.contact-type-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-deep), var(--primary));
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.contact-type-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}

.contact-type-card p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contact-map-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-map-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.contact-map-details {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-map-details li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-map-details i {
  color: var(--accent);
  width: 1.1rem;
  text-align: center;
}

.contact-map-block .map-placeholder {
  flex-direction: column;
  gap: 0.75rem;
  min-height: 280px;
  background: linear-gradient(145deg, var(--bg-alt), #eef3fa);
}

.contact-map-block .map-placeholder i {
  color: var(--primary);
  opacity: 0.5;
}

.holding-contact-map {
  min-height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-alt);
}

.holding-contact-map .leaflet-container {
  width: 100%;
  min-height: 280px;
  font-family: inherit;
}

.holding-leaflet-marker {
  background: transparent;
  border: none;
}

.holding-contact-map-fallback {
  min-height: 280px;
}

.holding-contact-settings-map {
  height: 360px;
  min-height: 360px;
}

.holding-contact-settings-map .leaflet-container {
  height: 100%;
  width: 100%;
}

@media (max-width: 767px) {
  .contact-hero-lead {
    max-width: 100%;
    line-height: 1.85;
  }

  .contact-channel-card {
    min-width: 0;
  }

  .contact-channel-card > div,
  .contact-dept-list li > div {
    min-width: 0;
  }

  .contact-channel-card p,
  .contact-channel-card a,
  .contact-dept-contact-line,
  .contact-map-details li {
    overflow-wrap: anywhere;
  }

  .contact-dept-contact-line {
    align-items: flex-start;
  }

  .contact-sidebar-social {
    flex-direction: column;
    text-align: center;
  }

  .contact-map-block {
    padding: 1.5rem;
  }

  .holding-contact-map,
  .holding-contact-map .leaflet-container,
  .holding-contact-map-fallback {
    min-height: 240px;
  }
}
