/* ==========================================================================
   راه ابراهیم — بنیاد بین‌المللی شهید رئیسی | نسخه ۴.۰ (مهندسی فوق‌پیشرفته بصری و تعاملی)
   دیباج رسمی + دیوراماهای سه‌بعدی بدون برش + اسلایدر بی‌نهایت همکاران + کامنت و ناوبری وبلاگ + بالابر هوشمند + Lottie شاخص
   ========================================================================== */

@font-face {
  font-family: "DibajFaNum";
  src: url("../fonts/DibajFaNum-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DibajFaNum";
  src: url("../fonts/DibajFaNum-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DibajFaNum";
  src: url("../fonts/DibajFaNum-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DibajFaNum";
  src: url("../fonts/DibajFaNum-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DibajFaNum";
  src: url("../fonts/DibajFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DibajFaNum";
  src: url("../fonts/DibajFaNum-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "DibajFaNum";
  src: url("../fonts/DibajFaNum-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #077c7e;
  --teal-bright: #0ca0a3;
  --teal-hover: #056264;
  --teal-deep: #113638;
  --teal-ink: #072629;
  --teal-darker: #041618;
  --gold: #d2aa68;
  --gold-light: #ebd09b;
  --gold-soft: rgba(210, 170, 104, 0.15);
  --gold-border: rgba(210, 170, 104, 0.44);
  --copper: #c19168;
  --porcelain: #e9e7e7;
  --surface-ivory: #f7f6f1;
  --surface-white: #ffffff;
  --teal-tint: rgba(7, 124, 126, 0.075);
  --teal-border: rgba(7, 124, 126, 0.15);

  --text-primary: #102f31;
  --text-secondary: #2d4f51;
  --text-muted: #587678;
  --text-on-dark: #f7f6f2;
  --text-muted-on-dark: #c4d7d8;

  --font-fa: "DibajFaNum", Tahoma, sans-serif;

  --container-max: 1340px;
  --reading-max: 840px;
  --header-h: 86px;
  --header-h-scrolled: 72px;

  --r-xs: 12px;
  --r-sm: 16px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-xs: 0 4px 14px rgba(6, 35, 38, 0.05);
  --shadow-soft: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 14px 36px -10px rgba(6, 35, 38, 0.08);
  --shadow-card: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 24px 54px -12px rgba(6, 35, 38, 0.13);
  --shadow-hover: inset 0 1px 0 rgba(255, 255, 255, 0.98), 0 32px 68px -12px rgba(7, 124, 126, 0.24);
  --shadow-gold: 0 16px 38px -6px rgba(210, 170, 104, 0.36);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-fa);
  background-color: var(--surface-ivory);
  color: var(--text-primary);
  line-height: 1.92;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

svg.ui-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  max-width: 22px;
  max-height: 22px;
  flex: 0 0 auto;
  display: inline-block;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 240ms var(--ease-out);
}

button, input, select, textarea {
  font-family: var(--font-fa);
  font-size: inherit;
}

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: fixed;
  top: -120px;
  right: 20px;
  z-index: 3000;
  background: var(--teal-ink);
  color: var(--surface-white);
  padding: 12px 22px;
  border-radius: var(--r-sm);
  font-weight: 700;
  border: 2px solid var(--gold);
}
.skip-link:focus { top: 16px; }

/* Top Luminous Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  z-index: 1500;
  background: rgba(7, 124, 126, 0.06);
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 45%, var(--teal-bright) 100%);
  box-shadow: 0 0 16px rgba(210, 170, 104, 0.78);
  transition: width 60ms linear;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}
.reading-container {
  width: 100%;
  max-width: var(--reading-max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ==========================================================================
   FLOATING BACK-TO-TOP ELEVATOR WITH LIVE SVG PROGRESS RING (بالابر سایت)
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 1150;
  width: 54px;
  height: 54px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal-ink) 0%, var(--teal-deep) 100%);
  color: var(--gold-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 36px rgba(4, 22, 24, 0.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.88);
  transition: opacity 300ms var(--ease-out), transform 320ms var(--ease-spring), visibility 300ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.back-to-top:hover {
  transform: translateY(-5px) scale(1.06);
  color: #ffffff;
  box-shadow: 0 22px 44px rgba(7, 124, 126, 0.44);
}
.back-to-top__ring {
  position: absolute;
  inset: 0;
  width: 54px;
  height: 54px;
  transform: rotate(-90deg);
  pointer-events: none;
}
.back-to-top__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 2.5;
}
.back-to-top__ring-fill {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition: stroke-dashoffset 80ms linear;
}
.back-to-top__arrow {
  width: 20px;
  height: 20px;
  position: relative;
  z-index: 2;
  transition: transform 240ms var(--ease-spring);
}
.back-to-top:hover .back-to-top__arrow {
  transform: translateY(-3px);
}

/* ==========================================================================
   ENGINEERED SURFACES & SAFAVID ISLIMI DARK BACKDROP
   ========================================================================== */
.section {
  position: relative;
  padding-block: 108px;
}
.section--compact {
  padding-block: 68px;
}
.section--white {
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
}
.section--ivory {
  background:
    radial-gradient(ellipse at 90% 8%, rgba(7, 124, 126, 0.06), transparent 50%),
    radial-gradient(ellipse at 10% 92%, rgba(210, 170, 104, 0.085), transparent 50%),
    linear-gradient(180deg, #f7f6f1 0%, #f1efe8 100%);
}
.section--porcelain {
  background:
    radial-gradient(circle at 82% 14%, rgba(7, 124, 126, 0.085), transparent 48%),
    radial-gradient(circle at 14% 86%, rgba(193, 145, 104, 0.095), transparent 48%),
    linear-gradient(180deg, #efede8 0%, #f7f6f2 100%);
}
.section--dark {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 16% 12%, rgba(12, 160, 163, 0.26), transparent 52%),
    radial-gradient(ellipse at 86% 88%, rgba(210, 170, 104, 0.15), transparent 52%),
    linear-gradient(155deg, #0a3639 0%, #062225 54%, #041618 100%);
  color: var(--text-on-dark);
}
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../img/3d/islimi-dark-luxury.webp");
  background-size: 460px 460px;
  background-repeat: repeat;
  opacity: 0.18;
  mix-blend-mode: screen;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.35) 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.95) 15%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.section--dark > .container {
  position: relative;
  z-index: 1;
}

/* Interactive Mouse-Tracking Spotlight Sheen + 3D Tilt */
.glow-card {
  position: relative;
  isolation: isolate;
}
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(210, 170, 104, 0.15), transparent 60%);
  opacity: 0;
  transition: opacity 320ms var(--ease-out);
  pointer-events: none;
  z-index: 0;
}
.glow-card:hover::after {
  opacity: 1;
}
.glow-card > * {
  position: relative;
  z-index: 1;
}

/* Eyebrow & Headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 16px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(7, 124, 126, 0.09), rgba(210, 170, 104, 0.1));
  border: 1px solid rgba(7, 124, 126, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 0 3px rgba(210, 170, 104, 0.25);
  animation: pulseGold 2.4s ease-in-out infinite;
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 3px rgba(210, 170, 104, 0.25); }
  50% { box-shadow: 0 0 0 6px rgba(210, 170, 104, 0.08); }
}
.section--dark .eyebrow {
  color: var(--gold-light);
  background: rgba(210, 170, 104, 0.13);
  border-color: rgba(210, 170, 104, 0.32);
  box-shadow: none;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 52px;
}
.section-title {
  margin: 0;
  font-size: clamp(1.85rem, 3vw, 2.68rem);
  font-weight: 900;
  line-height: 1.36;
  color: var(--teal-deep);
  letter-spacing: -0.015em;
}
.section--dark .section-title {
  color: var(--surface-white);
}
.section-desc {
  margin: 12px 0 0;
  max-width: 690px;
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.98;
}
.section--dark .section-desc {
  color: var(--text-muted-on-dark);
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  font-size: 0.79rem;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
.badge-pill--teal {
  background: linear-gradient(135deg, rgba(7, 124, 126, 0.12), rgba(7, 124, 126, 0.06));
  color: var(--teal-deep);
  border: 1px solid rgba(7, 124, 126, 0.22);
}
.badge-pill--copper {
  background: linear-gradient(135deg, rgba(210, 170, 104, 0.22), rgba(193, 145, 104, 0.1));
  color: #69411e;
  border: 1px solid rgba(193, 145, 104, 0.36);
}
.badge-pill--dark {
  background: rgba(8, 41, 44, 0.72);
  color: var(--gold-light);
  border: 1px solid rgba(210, 170, 104, 0.42);
  backdrop-filter: blur(10px);
}

/* Buttons with Shimmer Sweep */
.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 11px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 260ms var(--ease-spring), box-shadow 260ms var(--ease-out), background 260ms var(--ease-out), border-color 260ms var(--ease-out), color 260ms var(--ease-out);
  white-space: nowrap;
}
.btn svg.ui-icon {
  transition: transform 240ms var(--ease-out);
}
.btn:hover svg.ui-icon {
  transform: translateX(-4px);
}
.btn--primary {
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 48%, #04595b 100%);
  color: var(--surface-white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 28px -6px rgba(7, 124, 126, 0.44);
}
.btn--primary::before,
.btn--gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-22deg);
  transition: left 650ms var(--ease-out);
  pointer-events: none;
}
.btn--primary:hover::before,
.btn--gold:hover::before {
  left: 145%;
}
.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 18px 38px -6px rgba(7, 124, 126, 0.54);
}
.btn--outline {
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-deep);
  border-color: rgba(7, 124, 126, 0.28);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(8px);
}
.btn--outline:hover {
  background: var(--surface-white);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 52%, #b98944 100%);
  color: var(--teal-darker);
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58), var(--shadow-gold);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68), 0 22px 44px -6px rgba(210, 170, 104, 0.5);
}
.btn--outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--surface-white);
  border-color: rgba(210, 170, 104, 0.45);
  backdrop-filter: blur(8px);
}
.btn--outline-light:hover {
  background: rgba(210, 170, 104, 0.18);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}
.btn--sm {
  min-height: 42px;
  padding: 8px 20px;
  font-size: 0.88rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(7, 124, 126, 0.2);
  background: linear-gradient(180deg, #ffffff 0%, #f5f4ef 100%);
  color: var(--teal-deep);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 240ms var(--ease-spring);
}
.icon-btn:hover {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--surface-white);
  border-color: var(--teal);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(7, 124, 126, 0.26);
}

/* ==========================================================================
   H01. CRISP SINGLE-LINE HEADER (Fixes image-8.png 100%!)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(22px) saturate(165%);
  -webkit-backdrop-filter: blur(22px) saturate(165%);
  border-bottom: 1px solid rgba(7, 124, 126, 0.11);
  transition: height 280ms var(--ease-out), box-shadow 280ms var(--ease-out), background-color 280ms var(--ease-out);
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px -10px rgba(6, 35, 38, 0.1);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-emblem {
  width: 44px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(7, 124, 126, 0.15));
  transition: all 260ms var(--ease-out);
}
.brand-lockup:hover .brand-emblem {
  transform: scale(1.06) translateY(-1px);
}
.site-header.is-scrolled .brand-emblem {
  width: 39px;
  height: 46px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--teal-deep);
  line-height: 1.15;
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  white-space: nowrap;
}

/* Strictly Single-Line Horizontal Nav Capsule */
.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  background: rgba(7, 124, 126, 0.045);
  padding: 5px 6px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(7, 124, 126, 0.1);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 14px;
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-secondary);
  border-radius: var(--r-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-link:hover {
  color: var(--teal);
  background: rgba(255, 255, 255, 0.9);
}
.nav-link.is-active {
  color: var(--surface-white);
  font-weight: 800;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  box-shadow: 0 6px 16px -4px rgba(7, 124, 126, 0.45);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
}

.header-search-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(7, 124, 126, 0.18);
  background: rgba(255, 255, 255, 0.92);
  color: var(--teal-deep);
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 240ms var(--ease-spring);
  flex-shrink: 0;
}
.header-search-trigger:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -6px rgba(7, 124, 126, 0.25);
}

.menu-toggle {
  display: none;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 990;
  background: rgba(4, 23, 25, 0.58);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms var(--ease-out), visibility 260ms var(--ease-out);
}
.site-header.is-scrolled ~ .mobile-drawer { top: var(--header-h-scrolled); }
.mobile-drawer.is-open { opacity: 1; visibility: visible; }
.mobile-drawer__panel {
  background: var(--surface-white);
  padding: 24px;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  border-bottom: 3px solid var(--gold);
  box-shadow: var(--shadow-card);
  transform: translateY(-14px);
  transition: transform 260ms var(--ease-out);
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateY(0); }
.mobile-nav-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.mobile-nav-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 700;
  color: var(--teal-deep);
  background: var(--surface-ivory);
}
.mobile-nav-list a.is-active {
  background: var(--teal-tint);
  color: var(--teal);
  border-right: 4px solid var(--teal);
}

/* Instant Spotlight Search Modal */
.spotlight-dialog {
  max-width: 680px;
  width: calc(100% - 28px);
  border: 1px solid rgba(210, 170, 104, 0.45);
  border-radius: var(--r-lg);
  padding: 0;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text-primary);
  box-shadow: 0 36px 90px rgba(4, 23, 25, 0.38);
  overflow: hidden;
}
.spotlight-dialog::backdrop {
  background: rgba(4, 23, 25, 0.65);
  backdrop-filter: blur(8px);
}
.spotlight-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--teal-border);
  background: var(--surface-ivory);
}
.spotlight-input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-deep);
  outline: none;
}
.spotlight-body {
  max-height: 410px;
  overflow-y: auto;
  padding: 16px 20px;
  display: grid;
  gap: 10px;
}
.spotlight-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-ivory);
  border: 1px solid rgba(7, 124, 126, 0.12);
}
.spotlight-item:hover {
  background: #ffffff;
  border-color: var(--gold);
  transform: translateX(-4px);
  box-shadow: var(--shadow-xs);
}
.spotlight-foot {
  padding: 12px 22px;
  background: var(--surface-ivory);
  border-top: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   H02. CINEMATIC HERO + PROMINENT LOTTIE + METRICS BENTO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: 60px 56px;
  background:
    radial-gradient(ellipse at 80% 15%, rgba(7, 124, 126, 0.13), transparent 52%),
    radial-gradient(ellipse at 15% 82%, rgba(210, 170, 104, 0.18), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f3f1ea 100%);
  border-bottom: 1px solid var(--teal-border);
}

.hero__shamsa-wheel {
  position: absolute;
  top: -110px;
  left: -110px;
  width: 660px;
  height: 660px;
  background: url("../img/vectors/hero-islimi.svg") no-repeat center / contain;
  opacity: 0.64;
  pointer-events: none;
  animation: spinSlow 110s linear infinite;
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 54px;
}

.hero__eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 20px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 240, 0.92));
  border: 1px solid var(--gold-border);
  box-shadow: 0 12px 28px -6px rgba(210, 170, 104, 0.28);
  margin-bottom: 22px;
}
.hero__lottie-medallion {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}
.hero__eyebrow-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--teal-deep);
}

.hero__title {
  margin: 0 0 22px;
  font-size: clamp(2.3rem, 4.1vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  color: var(--teal-deep);
  letter-spacing: -0.02em;
}
.hero__title-accent {
  background: linear-gradient(135deg, var(--teal) 0%, #0ca0a3 55%, #b88740 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero__lead {
  margin: 0 0 32px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 2.04;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 38px;
}

.hero__promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.hero__promise-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(7, 124, 126, 0.14);
  border-top: 3px solid var(--gold);
  border-radius: var(--r-md);
  padding: 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease-out);
}
.hero__promise-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.hero__promise-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 4px;
}
.hero__promise-sub {
  display: block;
  font-size: 0.79rem;
  color: var(--text-muted);
  line-height: 1.68;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 14px 18px 26px;
}
.hero-stage {
  position: relative;
  width: 100%;
  max-width: 490px;
}
.hero-arch {
  position: relative;
  padding: 12px;
  background: linear-gradient(155deg, var(--gold-light) 0%, var(--teal) 52%, var(--teal-ink) 100%);
  border-radius: 235px 235px 32px 32px;
  box-shadow: 0 34px 72px -12px rgba(6, 35, 38, 0.28);
}
.hero-arch::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 229px 229px 27px 27px;
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  pointer-events: none;
  z-index: 3;
}
.hero-arch__img-wrap {
  position: relative;
  border-radius: 223px 223px 22px 22px;
  overflow: hidden;
  aspect-ratio: 4 / 4.65;
  background: var(--teal-ink);
}
.hero-arch__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform: scale(1.02);
  transition: transform 750ms var(--ease-out);
}
.hero-stage:hover .hero-arch__img-wrap img {
  transform: scale(1.065);
}
.hero-arch__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 64px 24px 22px;
  background: linear-gradient(to top, rgba(4, 23, 25, 0.95) 0%, rgba(4, 23, 25, 0.6) 58%, transparent 100%);
  color: var(--surface-white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
}
.hero-arch__quote {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.6;
}
.hero-arch__quote span {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold-light);
  margin-top: 3px;
}

.hero-float-photo {
  position: absolute;
  bottom: -18px;
  right: -24px;
  z-index: 5;
  width: 174px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 8px;
  border-radius: 22px;
  box-shadow: 0 22px 46px rgba(4, 23, 25, 0.24);
  border: 1.5px solid var(--gold-border);
  animation: floatGentle 6s ease-in-out infinite;
}
.hero-float-photo img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  border-radius: 15px;
}
.hero-float-photo__cap {
  padding: 7px 6px 2px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--teal-deep);
  text-align: center;
}

.hero-float-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(8, 41, 44, 0.98), rgba(5, 26, 28, 0.95));
  backdrop-filter: blur(12px);
  color: var(--surface-white);
  border: 1px solid rgba(210, 170, 104, 0.55);
  box-shadow: 0 20px 40px rgba(4, 23, 25, 0.32);
  animation: floatGentle 7s ease-in-out infinite reverse;
  max-width: calc(100% - 28px);
  white-space: nowrap;
}
.hero-float-badge__lottie {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}
.hero-float-badge strong {
  display: block;
  font-size: 0.86rem;
  color: var(--gold-light);
}
.hero-float-badge span {
  font-size: 0.73rem;
  color: var(--text-muted-on-dark);
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-9px); }
}

.metrics-strip {
  position: relative;
  z-index: 3;
  margin-top: 52px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 248, 243, 0.92));
  backdrop-filter: blur(16px);
  border: 1px solid rgba(7, 124, 126, 0.16);
  border-radius: var(--r-lg);
  padding: 24px 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.metric-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 16px;
  border-left: 1px dashed rgba(7, 124, 126, 0.18);
}
.metric-item:last-child {
  border-left: none;
  padding-left: 0;
}
.metric-item__num {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 50%, #054c4e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.metric-item__label {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--teal-deep);
  display: block;
}
.metric-item__sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: block;
}

/* ==========================================================================
   H03. ESSENCE + VIDEO SHOWCASE
   ========================================================================== */
.essence-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
}
.feature-checks {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 14px;
}
.feature-checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f7f2 100%);
  border-radius: var(--r-md);
  border: 1px solid var(--teal-border);
  box-shadow: var(--shadow-xs);
  transition: transform 260ms var(--ease-spring), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.feature-checks li:hover {
  transform: translateX(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-soft);
}
.feature-checks__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.video-frame-outer {
  padding: 10px;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, rgba(210, 170, 104, 0.5), rgba(7, 124, 126, 0.28));
  box-shadow: var(--shadow-card);
}
.video-showcase {
  position: relative;
  border-radius: calc(var(--r-xl) - 8px);
  overflow: hidden;
  background: var(--teal-ink);
  aspect-ratio: 16 / 10.2;
}
.video-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 700ms var(--ease-out);
}
.video-showcase:hover img {
  transform: scale(1.06);
}
.video-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 23, 25, 0.14) 0%, rgba(4, 23, 25, 0.72) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 26px 26px 34px;
}
.video-showcase__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.video-play-btn {
  align-self: center;
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 2px solid var(--gold-light);
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--surface-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 14px rgba(210, 170, 104, 0.24), 0 18px 40px rgba(0, 0, 0, 0.42);
  transition: all 300ms var(--ease-spring);
}
.video-play-btn:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--teal-darker);
  box-shadow: 0 0 0 22px rgba(210, 170, 104, 0.32);
}
.video-showcase__title {
  color: var(--surface-white);
  margin: 0 0 4px;
  font-size: 1.2rem;
  font-weight: 800;
}
.video-showcase__meta {
  color: var(--text-muted-on-dark);
  font-size: 0.84rem;
  margin: 0;
}

.rah-dialog {
  max-width: 720px;
  width: calc(100% - 32px);
  border: 1.5px solid var(--gold);
  border-radius: var(--r-lg);
  padding: 0;
  background: var(--teal-ink);
  color: var(--surface-white);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.6);
}
.rah-dialog::backdrop {
  background: rgba(4, 23, 25, 0.78);
  backdrop-filter: blur(8px);
}
.rah-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(210, 170, 104, 0.25);
}
.rah-dialog__body { padding: 28px 24px; }
.teaser-slot-box {
  border: 1.5px dashed rgba(210, 170, 104, 0.5);
  border-radius: var(--r-md);
  padding: 32px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   H04. FOUR PRINCIPLES — UNCROPPED 3D DIORAMAS + MAGNETIC TILT (Fixes image-11.png!)
   ========================================================================== */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.principle-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border: 1px solid rgba(7, 124, 126, 0.14);
  border-radius: var(--r-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
  transform-style: preserve-3d;
  transition: transform 320ms var(--ease-spring), box-shadow 360ms var(--ease-out), border-color 320ms var(--ease-out);
}
.principle-card:hover {
  transform: perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.principle-card__3d-stage {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 640 / 420;
  background: #f5f3ec;
  margin-bottom: 16px;
  border: 1px solid rgba(210, 170, 104, 0.18);
}
.principle-card__3d-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 560ms var(--ease-spring);
}
.principle-card:hover .principle-card__3d-stage img {
  transform: scale(1.05);
}
.principle-card__num-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--teal);
  border: 1px solid rgba(7, 124, 126, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.principle-card__inner {
  padding: 4px 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.principle-card__title {
  margin: 0 0 6px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.principle-card__sub {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
}
.principle-card__desc {
  margin: 0 0 18px;
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.88;
}
.principle-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--surface-ivory);
  border: 1px solid rgba(7, 124, 126, 0.12);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.principle-card:hover .principle-card__link {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: #ffffff;
  border-color: transparent;
}
.principle-card:hover .principle-card__link svg.ui-icon {
  transform: translateX(-4px);
}

/* ==========================================================================
   H06b: TEN TRAITS OF MARTYR RAISI (khamenei.ir posters)
   ========================================================================== */
.traits-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
}
.trait-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border: 1px solid rgba(7,124,126,0.14);
  border-radius: var(--r-lg);
  padding: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms var(--ease-spring), box-shadow 300ms var(--ease-out), border-color 280ms var(--ease-out);
  display: flex;
  flex-direction: column;
}
.trait-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.trait-card__media {
  position: relative;
  aspect-ratio: 340/440;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--teal-ink);
  margin-bottom: 14px;
}
.trait-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.trait-card:hover .trait-card__media img { transform: scale(1.06); }
.trait-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(6,35,38,0.84);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(210,170,104,0.4);
  backdrop-filter: blur(8px);
}
.trait-card__title {
  margin: 0 0 6px;
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--teal-deep);
}
.trait-card__desc {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.85;
}
@media (max-width: 1180px) { .traits-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 740px) { .traits-grid { grid-template-columns: repeat(2,1fr); } }

/* Traits Horizontal Slider (real defapress posters) */
.traits-slider-wrap {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}
.traits-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 6px 18px;
  scrollbar-width: none; /* hide native scrollbar — drag to navigate */
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.traits-slider::-webkit-scrollbar { display: none; height: 0; width: 0; }
.traits-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.traits-slider.is-dragging .trait-card { pointer-events: none; }
.trait-card--slider {
  flex: 0 0 300px;
  scroll-snap-align: start;
  min-width: 300px;
}
.traits-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(7,124,126,0.16);
  background: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 200ms, transform 200ms, border-color 200ms;
  color: var(--teal-deep);
}
.traits-nav:hover { background: var(--teal-ink); color: var(--gold-light); border-color: var(--gold); transform: scale(1.06); }
.traits-nav svg.ui-icon { width: 18px; height: 18px; }
.traits-slider-hint {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 0 56px;
}
@media (max-width: 860px) {
  .traits-slider-wrap { grid-template-columns: 1fr; }
  .traits-nav { display: none; }
  .traits-slider-hint { padding: 0 6px; }
  .trait-card--slider { flex-basis: 78vw; min-width: 78vw; max-width: 340px; }
}

/* Metrics strip inside hero (image-31 relocation) */
.metrics-strip--hero {
  margin-top: 26px;
  padding: 18px 20px;
  gap: 16px;
}
.metrics-strip--hero .metric-item__num { font-size: 1.9rem; }
@media (max-width: 900px) {
  .metrics-strip--hero { grid-template-columns: 1fr; }
  .metrics-strip--hero .metric-item { border-left: none; border-top: 1px dashed rgba(7,124,126,0.14); padding-left: 0; padding-top: 12px; }
  .metrics-strip--hero .metric-item:first-child { border-top: none; padding-top: 0; }
}

/* ==========================================================================
   H05 & ARCHIVES: CONCENTRIC BENTO PROJECT & REGION CARDS
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.project-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border: 1px solid rgba(7, 124, 126, 0.15);
  border-radius: var(--r-lg);
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 360ms var(--ease-spring), box-shadow 360ms var(--ease-out), border-color 320ms var(--ease-out);
}
.project-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  border-radius: var(--r-md);
  background: var(--teal-ink);
  overflow: hidden;
  display: block;
}
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 23, 25, 0.14) 0%, transparent 42%, rgba(4, 23, 25, 0.72) 100%);
  pointer-events: none;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 680ms var(--ease-out);
}
.project-card:hover .project-card__media img {
  transform: scale(1.07);
}
.project-card__art-tag {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(6, 35, 38, 0.84);
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(210, 170, 104, 0.4);
  backdrop-filter: blur(8px);
}
.project-card__cat-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  color: var(--teal-deep);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.project-card__body {
  padding: 18px 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card__region {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-card__title {
  margin: 0 0 10px;
  font-size: 1.24rem;
  font-weight: 800;
  color: var(--teal-deep);
  line-height: 1.48;
}
.project-card__title a:hover { color: var(--teal); }
.project-card__desc {
  margin: 0 0 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-status-box {
  margin-top: auto;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, rgba(7, 124, 126, 0.06), rgba(210, 170, 104, 0.08));
  border: 1px solid rgba(7, 124, 126, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.81rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.status-indicator__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(7, 124, 126, 0.18);
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(7, 124, 126, 0.18); }
  50% { box-shadow: 0 0 0 7px rgba(7, 124, 126, 0.05); }
}

.project-card__footer {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-ivory);
  border: 1px solid rgba(7, 124, 126, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.project-card:hover .project-card__footer {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--surface-white);
  border-color: transparent;
  box-shadow: 0 10px 22px -6px rgba(7, 124, 126, 0.42);
}
.project-card__footer svg.ui-icon {
  transition: transform 240ms var(--ease-out);
}
.project-card:hover .project-card__footer svg.ui-icon {
  transform: translateX(-5px);
}

/* ==========================================================================
   H06. HARMONIZED 31-PROVINCE IRAN MAP
   ========================================================================== */
.regions-explorer {
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  gap: 30px;
  align-items: stretch;
}
.map-stage {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9f9 100%);
  border-radius: var(--r-xl);
  border: 1px solid rgba(7, 124, 126, 0.18);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.map-stage__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.iran-map-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
}
.iran-map-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 16px 32px rgba(6, 35, 38, 0.08));
}
.iran-prov {
  transition: fill 260ms var(--ease-out), stroke 260ms var(--ease-out);
}
.iran-prov:hover {
  fill: #e6eeed;
}
.iran-prov--target {
  cursor: pointer;
  fill: rgba(7, 124, 126, 0.18);
  stroke: #077c7e;
  stroke-width: 1.35;
}
.iran-prov--target:hover,
.iran-prov--target.is-active {
  fill: rgba(7, 124, 126, 0.28);
  stroke: #077c7e;
  stroke-width: 1.55;
}
.map-pin {
  cursor: pointer;
  outline: none;
}
.map-pin__pulse {
  fill: rgba(7, 124, 126, 0.22);
  transform-box: fill-box;
  transform-origin: center;
  transition: all 280ms var(--ease-out);
}
.map-pin__core {
  fill: var(--teal);
  stroke: #ffffff;
  stroke-width: 2.6;
  transition: all 260ms var(--ease-out);
}
.map-pin__tag-bg {
  fill: rgba(255, 255, 255, 0.96);
  stroke: rgba(7, 124, 126, 0.3);
  stroke-width: 1.1;
  rx: 8;
  filter: drop-shadow(0 3px 8px rgba(6, 35, 38, 0.08));
  transition: all 240ms var(--ease-out);
}
.map-pin__label {
  font-family: var(--font-fa);
  font-size: 12.5px;
  font-weight: 800;
  fill: var(--teal-deep);
  pointer-events: none;
}
.map-pin:hover .map-pin__core,
.map-pin:focus-visible .map-pin__core {
  fill: var(--teal-bright);
  r: 8.8;
}
.map-pin.is-active .map-pin__pulse {
  fill: rgba(7, 124, 126, 0.32);
  animation: mapRadar 2.1s ease-out infinite;
}
.map-pin.is-active .map-pin__core {
  fill: var(--teal);
  stroke: #ffffff;
  stroke-width: 3;
  r: 8.8;
}
.map-pin.is-active .map-pin__tag-bg {
  fill: #ffffff;
  stroke: var(--gold);
  stroke-width: 1.8;
}
.map-pin.is-active .map-pin__label {
  fill: var(--teal);
}

@keyframes mapRadar {
  0% { transform: scale(0.78); opacity: 0.95; }
  100% { transform: scale(1.95); opacity: 0; }
}

.region-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--teal-border);
}
.region-chip {
  padding: 7px 16px;
  min-height: 38px;
  border-radius: var(--r-pill);
  border: 1px solid var(--teal-border);
  background: var(--surface-ivory);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
}
.region-chip:hover { border-color: var(--teal); color: var(--teal); }
.region-chip.is-active {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(7, 124, 126, 0.4);
}

.region-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border-radius: var(--r-xl);
  border: 1px solid var(--gold-border);
  padding: 10px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: opacity 220ms ease, transform 220ms ease;
}
.region-panel.is-switching {
  opacity: 0.68;
  transform: scale(0.99);
}
.region-panel__media {
  position: relative;
  height: 225px;
  border-radius: calc(var(--r-xl) - 10px);
  background: var(--teal-ink);
  overflow: hidden;
}
.region-panel__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms var(--ease-out);
}
.region-panel__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 23, 25, 0.14) 0%, rgba(4, 23, 25, 0.86) 100%);
}
.region-panel__media-overlay {
  position: absolute;
  inset: auto 20px 16px 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  color: var(--surface-white);
}
.region-panel__province {
  display: inline-block;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 2px;
}
.region-panel__title {
  margin: 0;
  font-size: 1.58rem;
  font-weight: 900;
  color: var(--surface-white);
  line-height: 1.25;
}
.region-panel__body {
  padding: 20px 16px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}
.region-panel__point {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
}
.meta-tile {
  background: var(--surface-ivory);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.meta-tile__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
  flex-shrink: 0;
}
.meta-tile__label {
  display: block;
  font-size: 0.73rem;
  color: var(--text-muted);
}
.meta-tile__val {
  display: block;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.region-panel__summary {
  margin: 0 0 14px;
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.92;
}
.region-panel__issue {
  padding: 12px 15px;
  border-radius: var(--r-sm);
  background: linear-gradient(90deg, rgba(7, 124, 126, 0.05), rgba(210, 170, 104, 0.1));
  border-right: 3.5px solid var(--gold);
  font-size: 0.86rem;
  color: var(--teal-deep);
  margin-bottom: 18px;
}
.region-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   H07. RE-ARCHITECTED SYMMETRICAL 4-STAGE PROCESS SHOWCASE
   (Fixes BOTH image-9.png off-center line AND image-10.png height mismatch!)
   ========================================================================== */
.story-showcase-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.story-lottie-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 22px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(210, 170, 104, 0.32);
  backdrop-filter: blur(12px);
  flex-shrink: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin-inline-start: auto;
}
.story-compass-lottie {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(210,170,104,0.18), transparent 72%);
  overflow: hidden;
}
.story-compass-lottie svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Precision Centered Horizontal Stepper Bar */
.story-stepper-rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 24px;
}
.story-stepper-rail::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12.5%;
  left: 12.5%;
  height: 3px;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  z-index: 0;
}
.story-stepper-fill {
  position: absolute;
  top: 50%;
  right: 12.5%;
  width: 25%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(270deg, var(--gold-light), var(--gold), #4fd1d3);
  border-radius: 4px;
  box-shadow: 0 0 14px rgba(210, 170, 104, 0.72);
  transition: width 420ms var(--ease-spring);
  z-index: 1;
}
.story-node-btn {
  position: relative;
  z-index: 2;
  margin-inline: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  background: #07282b;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: var(--text-muted-on-dark);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 280ms var(--ease-spring);
}
.story-node-btn__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 280ms var(--ease-out);
}
.story-node-btn:hover {
  border-color: var(--gold-light);
  color: #ffffff;
}
.story-node-btn.is-active {
  background: linear-gradient(135deg, #10494d, #082e31);
  border-color: var(--gold);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 4px rgba(210, 170, 104, 0.18);
  transform: translateY(-2px);
}
.story-node-btn.is-active .story-node-btn__dot {
  background: var(--gold-light);
  box-shadow: 0 0 10px var(--gold-light);
}

/* Equal-Height 4-Column Symmetrical Stage Grid (100% matched heights!) */
.story-equal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  align-items: stretch;
}
.story-stage-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  cursor: pointer;
  transition: transform 340ms var(--ease-spring), border-color 300ms var(--ease-out), background 300ms var(--ease-out), box-shadow 340ms var(--ease-out);
}
.story-stage-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 300ms var(--ease-out);
}
.story-stage-card:hover,
.story-stage-card.is-active {
  transform: translateY(-7px);
  border-color: var(--gold);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14) 0%, rgba(7, 124, 126, 0.22) 100%);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.34);
}
.story-stage-card.is-active::before {
  opacity: 1;
}
.story-stage-card__watermark {
  position: absolute;
  top: 12px;
  left: 18px;
  font-size: 3.1rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(210, 170, 104, 0.13);
  pointer-events: none;
}
.story-stage-card__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-light);
  background: rgba(210, 170, 104, 0.16);
  padding: 4px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.story-stage-card__title {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--surface-white);
  line-height: 1.48;
}
.story-stage-card__body {
  margin: 0 0 20px;
  font-size: 0.91rem;
  color: var(--text-muted-on-dark);
  line-height: 1.95;
}
.story-stage-card__output {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--gold-light);
}

/* ==========================================================================
   H08. COORDINATORS WITH 3D USER AVATAR
   ========================================================================== */
.coordinators-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.coord-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border: 1px solid rgba(7, 124, 126, 0.14);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 340ms var(--ease-spring), box-shadow 340ms var(--ease-out), border-color 300ms var(--ease-out);
}
.coord-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}
.coord-card__avatar-3d {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold-light), var(--teal));
  box-shadow: 0 14px 28px rgba(7, 124, 126, 0.18);
  margin-bottom: 16px;
  overflow: hidden;
  transition: transform 340ms var(--ease-spring);
}
.coord-card:hover .coord-card__avatar-3d {
  transform: scale(1.09) translateY(-3px);
}
.coord-card__avatar-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: var(--surface-ivory);
}
.coord-card__role {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  background: rgba(7, 124, 126, 0.08);
  padding: 4px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.coord-card__name {
  margin: 0 0 8px;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.coord-card__name a:hover { color: var(--teal); }
.coord-card__region {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.coord-card__project {
  width: 100%;
  margin-top: auto;
  padding-top: 13px;
  border-top: 1px dashed var(--teal-border);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   H09. BLOG / MAGAZINE ARTICLES + PREV/NEXT + INTERACTIVE COMMENTS HUB
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.post-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border-radius: var(--r-lg);
  border: 1px solid rgba(7, 124, 126, 0.14);
  padding: 10px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 340ms var(--ease-spring), box-shadow 340ms var(--ease-out), border-color 300ms var(--ease-out);
}
.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}
.post-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--teal-ink);
  display: block;
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 640ms var(--ease-out);
}
.post-card:hover .post-card__thumb img {
  transform: scale(1.07);
}
.post-card__cat {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 35, 38, 0.86);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
}
.post-card__body {
  padding: 18px 14px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.post-card__title {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.56;
  color: var(--teal-deep);
}
.post-card__title a:hover { color: var(--teal); }
.post-card__excerpt {
  margin: 0 0 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card__foot {
  margin-top: auto;
  padding: 11px 16px;
  border-radius: var(--r-sm);
  background: var(--surface-ivory);
  border: 1px solid var(--teal-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.post-card:hover .post-card__foot {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--surface-white);
  border-color: transparent;
}

/* Engineered Previous / Next Post Navigation Cards */
.post-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 42px;
}
.post-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f9f8f3 100%);
  border: 1.5px solid rgba(7, 124, 126, 0.16);
  box-shadow: var(--shadow-soft);
  transition: transform 280ms var(--ease-spring), border-color 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
.post-nav-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}
.post-nav-card--next {
  flex-direction: row-reverse;
  text-align: left;
}
.post-nav-card__thumb {
  width: 96px;
  height: 96px;
  border-radius: var(--r-md);
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid rgba(7, 124, 126, 0.15);
}
.post-nav-card__dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 6px;
}
.post-nav-card__title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--teal-deep);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Professional Interactive Blog Comments Hub */
.comments-hub {
  margin-top: 48px;
  background: linear-gradient(180deg, #ffffff 0%, #faf9f5 100%);
  border-radius: var(--r-xl);
  border: 1px solid rgba(7, 124, 126, 0.16);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.comments-hub__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--teal-border);
}
.comments-list {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}
.comment-item {
  background: var(--surface-ivory);
  border: 1px solid rgba(7, 124, 126, 0.13);
  border-right: 4px solid var(--teal);
  border-radius: var(--r-md);
  padding: 20px 22px;
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
.comment-item:hover {
  background: #ffffff;
  box-shadow: var(--shadow-xs);
}
.comment-item--new {
  border-right-color: var(--gold);
  background: linear-gradient(135deg, rgba(210, 170, 104, 0.12), #ffffff 60%);
  animation: popComment 420ms var(--ease-spring);
}
@keyframes popComment {
  from { opacity: 0; transform: translateY(14px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.comment-item__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.comment-item__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.comment-item__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  color: var(--gold-light);
  font-weight: 900;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.comment-item__body {
  margin: 0 0 12px;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.96;
}
.comment-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(7, 124, 126, 0.18);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.comment-like-btn:hover,
.comment-like-btn.is-liked {
  border-color: var(--gold);
  background: rgba(210, 170, 104, 0.16);
  color: var(--teal-deep);
}
.comment-form-card {
  background: var(--surface-ivory);
  border-radius: var(--r-lg);
  border: 1px solid rgba(7, 124, 126, 0.14);
  padding: 26px;
}
.reaction-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.reaction-pill {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--teal-border);
  background: #ffffff;
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.reaction-pill.is-active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

/* ==========================================================================
   H10. SEAMLESS CONTINUOUS INFINITE PARTNER LOGO STREAM (Fixes image-12.png 100%!)
   ========================================================================== */
.partner-slider {
  direction: ltr;
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  overflow: hidden;
  width: 100%;
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.partner-marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  gap: 22px;
  padding-right: 22px;
  animation: partnerInfiniteStream 30s linear infinite;
  will-change: transform;
}
.partner-slider:hover .partner-marquee-group,
.partner-slider:focus-within .partner-marquee-group,
.partner-slider.is-paused .partner-marquee-group {
  animation-play-state: paused;
}
@keyframes partnerInfiniteStream {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
.partner-slide-card {
  direction: rtl;
  width: 268px;
  flex: 0 0 268px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border: 1px solid rgba(7, 124, 126, 0.15);
  border-radius: var(--r-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms var(--ease-spring), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.partner-slide-card:hover {
  transform: translateY(-7px);
  border-color: var(--gold);
  box-shadow: var(--shadow-hover);
}
.partner-slide-card__logo-wrap {
  width: 100%;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  padding: 10px 16px;
  background: #f9f8f4;
  border-radius: var(--r-md);
  border: 1px solid rgba(7, 124, 126, 0.08);
}
.partner-slide-card__logo-wrap img {
  max-height: 82px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 300ms var(--ease-out);
}
.partner-slide-card:hover .partner-slide-card__logo-wrap img {
  transform: scale(1.08);
}
.partner-slide-card__name {
  margin: 0 0 4px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--teal-deep);
  line-height: 1.5;
}
.partner-slide-card__sub {
  font-size: 0.77rem;
  color: var(--teal);
  font-weight: 700;
}
.partner-slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   H11. CTA BANNER & SAFAVID ISLIMI LUXURY FOOTER
   ========================================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(12, 160, 163, 0.36), transparent 52%),
    linear-gradient(135deg, #093538 0%, #062326 62%, #041719 100%);
  border-radius: var(--r-xl);
  padding: 54px 50px;
  color: var(--surface-white);
  border: 1.5px solid rgba(210, 170, 104, 0.44);
  box-shadow: 0 28px 64px -12px rgba(4, 23, 25, 0.36);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/3d/islimi-dark-luxury.webp") repeat center / 420px 420px;
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}
.cta-banner > * {
  position: relative;
  z-index: 1;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(7, 124, 126, 0.2), transparent 60%),
    linear-gradient(180deg, #062124 0%, #031315 100%);
  color: var(--text-on-dark);
  padding-top: 80px;
  border-top: 3px solid var(--gold);
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/3d/islimi-dark-luxury.webp") repeat center / 460px 460px;
  opacity: 0.15;
  mix-blend-mode: screen;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.site-footer > .container {
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
  gap: 38px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.footer-title {
  margin: 0 0 18px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--gold-light);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: var(--text-muted-on-dark);
}
.footer-links a:hover {
  color: var(--surface-white);
  padding-right: 6px;
}
.footer-bottom {
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-muted-on-dark);
}

/* ==========================================================================
   INTERNAL PAGES & ENGINEERED CONTACT HUB (Uncropped 3D Pavilion Fixes image-13.png!)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 58px 64px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(7, 124, 126, 0.1), transparent 52%),
    radial-gradient(ellipse at 12% 88%, rgba(210, 170, 104, 0.12), transparent 52%),
    linear-gradient(180deg, #ffffff 0%, #f3f1ea 100%);
  border-bottom: 1px solid var(--teal-border);
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--teal); }
.page-hero__title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 900;
  color: var(--teal-deep);
  line-height: 1.35;
}
.page-hero__lead {
  margin: 0;
  max-width: 760px;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.98;
}

.filter-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--teal-border);
  border-radius: var(--r-lg);
  padding: 18px 22px;
  margin-bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-soft);
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-pill {
  min-height: 40px;
  padding: 7px 17px;
  border-radius: var(--r-pill);
  border: 1px solid var(--teal-border);
  background: var(--surface-ivory);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 220ms var(--ease-out);
}
.filter-pill:hover { border-color: var(--teal); color: var(--teal); }
.filter-pill.is-active {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--surface-white);
  border-color: transparent;
  box-shadow: 0 8px 20px -4px rgba(7, 124, 126, 0.4);
}
.search-input-wrap {
  position: relative;
  min-width: 270px;
  flex: 1;
  max-width: 360px;
}
.search-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  border: 1px solid var(--teal-border);
  background: var(--surface-ivory);
  color: var(--text-primary);
}
.search-input:focus {
  background: var(--surface-white);
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 4px rgba(7, 124, 126, 0.12);
}

.dossier-grid {
  display: grid;
  grid-template-columns: 1.56fr 0.84fr;
  gap: 34px;
  align-items: start;
}
.history-layers { display: grid; gap: 20px; }
.history-layer {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border-radius: var(--r-lg);
  border: 1px solid var(--teal-border);
  border-right: 4.5px solid var(--teal);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.history-layer:hover {
  transform: translateX(-5px);
  box-shadow: var(--shadow-card);
}
.history-layer--today {
  border-right-color: var(--gold);
  background: linear-gradient(to left, rgba(210, 170, 104, 0.1), #ffffff 48%);
}
.history-layer__tag {
  display: inline-block;
  font-size: 0.77rem;
  font-weight: 800;
  color: var(--teal);
  margin-bottom: 6px;
}
.history-layer--today .history-layer__tag { color: #8a5a28; }
.history-layer__title {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--teal-deep);
}
.history-layer__text {
  margin: 0;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 2.04;
}

.sidebar-card {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border-radius: var(--r-lg);
  border: 1px solid var(--teal-border);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}
.sidebar-card__title {
  margin: 0 0 16px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--teal-deep);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--teal-border);
}
.kv-list { display: grid; gap: 12px; }
.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(7, 124, 126, 0.14);
}
.kv-row:last-child { border-bottom: none; padding-bottom: 0; }
.kv-key { color: var(--text-muted); }
.kv-val { font-weight: 700; color: var(--teal-deep); text-align: left; }

.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1.5px solid var(--teal-border);
  padding-bottom: 14px;
  margin-bottom: 24px;
}
.tab-btn {
  min-height: 42px;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  background: var(--surface-ivory);
  color: var(--text-secondary);
  font-weight: 700;
  cursor: pointer;
}
.tab-btn[aria-selected="true"] {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  color: var(--surface-white);
  box-shadow: 0 8px 18px -4px rgba(7, 124, 126, 0.4);
}
.tab-panel[hidden] { display: none; }

.article-prose {
  font-size: 1.08rem;
  line-height: 2.16;
  color: var(--text-primary);
}
.article-prose h2 {
  margin: 40px 0 16px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-deep);
  padding-right: 14px;
  border-right: 4px solid var(--gold);
}
.article-prose p { margin: 0 0 22px; text-align: justify; }
.article-quote {
  margin: 34px 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f9f6ee 100%);
  border-right: 5px solid var(--gold);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--teal-deep);
}
.article-quote cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal);
}

.rah-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-white);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--teal-border);
}
.rah-table th, .rah-table td {
  padding: 14px 16px;
  text-align: right;
  border-bottom: 1px solid var(--teal-border);
  font-size: 0.9rem;
}
.rah-table th { background: var(--surface-ivory); font-weight: 800; color: var(--teal-deep); }

/* Contact Hub */
.contact-hub-grid {
  display: grid;
  grid-template-columns: 1.32fr 0.88fr;
  gap: 34px;
  align-items: start;
}
.contact-form-shell {
  background: linear-gradient(180deg, #ffffff 0%, #fcfbf8 100%);
  border-radius: var(--r-xl);
  border: 1px solid rgba(7, 124, 126, 0.16);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.track-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.track-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border-radius: var(--r-md);
  border: 1.5px solid rgba(7, 124, 126, 0.14);
  background: var(--surface-ivory);
  cursor: pointer;
  text-align: right;
  transition: all 240ms var(--ease-spring);
}
.track-card:hover {
  background: #ffffff;
  border-color: rgba(7, 124, 126, 0.35);
  transform: translateY(-2px);
}
.track-card.is-selected {
  background: linear-gradient(135deg, rgba(7, 124, 126, 0.09), rgba(210, 170, 104, 0.12));
  border-color: var(--teal);
  box-shadow: 0 10px 24px -8px rgba(7, 124, 126, 0.25);
}
.track-card__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(7, 124, 126, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.track-card.is-selected .track-card__dot {
  border-color: var(--teal);
  background: var(--teal);
}
.track-card.is-selected .track-card__dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}
.track-card__title {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 2px;
}
.track-card__desc {
  display: block;
  font-size: 0.77rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.87rem;
  font-weight: 800;
  color: var(--teal-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.input-group__icon {
  position: absolute;
  right: 15px;
  color: var(--text-muted);
  pointer-events: none;
  display: inline-flex;
}
.form-control {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1.5px solid rgba(7, 124, 126, 0.16);
  background: var(--surface-ivory);
  color: var(--text-primary);
  transition: all 220ms var(--ease-out);
}
.input-group .form-control {
  padding-right: 44px;
}
textarea.form-control { min-height: 140px; resize: vertical; line-height: 1.9; }
.form-control:focus {
  background: var(--surface-white);
  border-color: var(--teal);
  outline: none;
  box-shadow: 0 0 0 4px rgba(7, 124, 126, 0.12);
}

.region-select-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.region-radio-pill {
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--teal-border);
  background: var(--surface-ivory);
  font-size: 0.81rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 200ms var(--ease-out);
}
.region-radio-pill.is-active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
}

/* Uncropped Luxury 3D Pavilion Showcase (Fixes image-13.png!) */
.contact-3d-showcase {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: linear-gradient(155deg, #093538 0%, #051e21 100%);
  border: 1.5px solid rgba(210, 170, 104, 0.44);
  padding: 12px;
  color: var(--surface-white);
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}
.contact-3d-showcase__img {
  border-radius: calc(var(--r-xl) - 10px);
  overflow: hidden;
  aspect-ratio: 640 / 420;
  background: #062124;
  margin-bottom: 18px;
  border: 1px solid rgba(210, 170, 104, 0.25);
}
.contact-3d-showcase__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 600ms var(--ease-spring);
}
.contact-3d-showcase:hover .contact-3d-showcase__img img {
  transform: scale(1.04);
}
.contact-3d-showcase__body {
  padding: 6px 16px 18px;
}
.process-steps-mini {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}
.process-step-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}
.process-step-mini span:first-child {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal-darker);
  font-weight: 900;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item {
  border-bottom: 1px solid var(--teal-border);
  padding-block: 12px;
}
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--teal-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
  margin: 10px 0 4px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.hp-trap { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.info-banner {
  background: linear-gradient(135deg, rgba(7, 124, 126, 0.08), rgba(210, 170, 104, 0.08));
  border: 1px solid rgba(7, 124, 126, 0.2);
  border-right: 4px solid var(--teal);
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
}

/* ==========================================================================
   3D PERSPECTIVE SCROLL CHOREOGRAPHY
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: perspective(1100px) translate3d(0, 42px, 0) rotateX(5deg);
  transition: opacity 780ms var(--ease-out), transform 820ms var(--ease-spring);
  transition-delay: var(--stagger, 0ms);
  will-change: opacity, transform;
}
.reveal--right {
  transform: translate3d(42px, 0, 0);
}
.reveal--left {
  transform: translate3d(-42px, 0, 0);
}
.reveal--scale {
  transform: scale(0.93) translate3d(0, 24px, 0);
}
.reveal.is-visible {
  opacity: 1;
  transform: perspective(1100px) translate3d(0, 0, 0) rotateX(0deg) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .partner-marquee-group { animation: none !important; }
}

/* Responsive Breakpoints */
@media (max-width: 1180px) {
  .main-nav, .header-cta-desktop { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid, .essence-grid, .regions-explorer, .dossier-grid, .contact-hub-grid {
    grid-template-columns: 1fr;
  }
  .story-equal-grid { grid-template-columns: repeat(2, 1fr); }
  .story-stepper-rail { display: none; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); }
  .metric-item:nth-child(2) { border-left: none; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .coordinators-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-float-badge { left: 0; }
  .hero-float-photo { right: 0; }
}

@media (max-width: 740px) {
  .section { padding-block: 74px; }
  .hero { padding-block: 40px 52px; }
  .hero__promises, .metrics-strip, .principles-grid, .projects-grid, .blog-grid,
  .coordinators-grid, .story-equal-grid, .footer-grid, .form-grid, .track-selector-grid, .post-nav-grid {
    grid-template-columns: 1fr;
  }
  .post-nav-card--next { flex-direction: row; text-align: right; }
  .metric-item { border-left: none; border-bottom: 1px dashed rgba(7, 124, 126, 0.16); padding-bottom: 14px; padding-left: 0; }
  .metric-item:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-float-photo { width: 136px; bottom: -12px; right: 4px; }
  .hero-float-photo img { height: 84px; }
  .hero-float-badge { top: 14px; left: 4px; padding: 8px 12px; }
  .cta-banner, .contact-form-shell, .comments-hub { padding: 26px 18px; }
  .container, .reading-container { padding-inline: 16px; }
  .back-to-top { bottom: 18px; left: 18px; width: 48px; height: 48px; }
}
