/* =============================================
   کانون تبلیغاتی حنان — استایل اصلی
   ============================================= */

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


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #C9A84C;
  --gold-light: #E8D5A3;
  --gold-dark: #8B6914;
  --dark: #0D0D0D;
  --dark2: #161616;
  --dark3: #1F1F1F;
  --light: #F5F2EC;
  --text-muted: #8A8A8A;
  --hanan-brand-font: 'Audiowide', 'Orbitron', sans-serif;
}

.hanan-word {
  font-family: var(--hanan-brand-font);
  font-weight: 400;
  letter-spacing: 0.06em;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--dark);
  color: var(--light);
  overflow-x: hidden;
  direction: rtl;
  min-width: 0;
  width: 100%;
}

img, video {
  max-width: 100%;
  height: auto;
}

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

/* =============================================
   NAVBAR — liquid glass
   ============================================= */
.site-header-wrap {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1100;
  padding: 0.75rem clamp(0.75rem, 2.5vw, 1.5rem) 0;
  pointer-events: none;
  animation: fadeDown 0.8s ease both;
}

.site-header-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 2rem;
  min-height: 4rem;
  margin: 0 auto;
  max-width: 1240px;
  pointer-events: auto;
  border-radius: 20px;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.11) 0%,
    rgba(255, 255, 255, 0.04) 38%,
    rgba(201, 168, 76, 0.07) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.14) inset,
    0 -1px 0 rgba(0, 0, 0, 0.28) inset;
  transition:
    background 0.45s ease,
    box-shadow 0.45s ease,
    border-color 0.45s ease,
    padding 0.35s ease,
    border-radius 0.35s ease;
}

.site-header-bar > * {
  position: relative;
  z-index: 2;
}

.site-header-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgba(10, 10, 10, 0.42);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
  pointer-events: none;
}

.site-header-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 90% 70% at 12% -30%, rgba(255, 255, 255, 0.2), transparent 58%),
    radial-gradient(ellipse 70% 55% at 88% 130%, rgba(201, 168, 76, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 42%);
  pointer-events: none;
  animation: headerLiquidGlow 9s ease-in-out infinite alternate;
}

@keyframes headerLiquidGlow {
  0% { opacity: 0.72; transform: scale(1) translateY(0); }
  100% { opacity: 1; transform: scale(1.015) translateY(1px); }
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 1px;
}

.hanan-brand-link {
  display: flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
  text-decoration: none;
}

.hanan-logo-text {
  font-family: var(--hanan-brand-font);
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--light);
}

.hanan-logo-text--header {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-light) 52%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: font-size 0.35s ease, letter-spacing 0.35s ease;
}

.hanan-logo-text--footer {
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  opacity: 0.92;
}

.hanan-logo-text--login {
  display: block;
  font-size: 2rem;
  letter-spacing: 0.18em;
  margin: 0 auto;
}

.hanan-logo-text--admin {
  display: inline-block;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  vertical-align: middle;
  margin-left: 0.35rem;
  color: var(--gold-light);
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.footer-logo-tag {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  padding: 0.5rem 1.5rem;
  border: 1px solid rgba(201, 168, 76, 0.55);
  color: var(--gold);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  background: rgba(201, 168, 76, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
  cursor: pointer;
}

.nav-cta:hover {
  background: rgba(201, 168, 76, 0.92);
  color: var(--dark);
  border-color: var(--gold);
  box-shadow: 0 6px 24px rgba(201, 168, 76, 0.25);
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.lang-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.42);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.38rem 0.58rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  min-width: 2rem;
}

.lang-btn:hover {
  color: rgba(255, 255, 255, 0.75);
}

.lang-btn.active {
  background: var(--gold);
  color: #1a1410;
  font-weight: 700;
}

[dir="ltr"] .about-title {
  text-align: left;
}

[dir="rtl"] .about-title {
  text-align: right;
}

[dir="ltr"] .about-divider {
  margin-left: 0;
  margin-right: auto;
}

.navbar-end {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
}

.nav-drawer {
  position: static;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  pointer-events: auto;
}

.logo,
.nav-cta,
.navbar-end {
  flex-shrink: 0;
}

.nav-mobile-only,
.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1060;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--light);
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-block;
  padding: 0.35rem 1.2rem;
  border: 1px solid rgba(201, 168, 76, 0.4);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 2rem;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.4s ease both;
}

.hero-title .highlight {
  color: var(--gold);
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold), var(--gold-light));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
  font-weight: 300;
  animation: fadeUp 0.9s 0.6s ease both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.9s 0.8s ease both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  animation: fadeUp 0.9s 1s ease both;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn-primary {
  padding: 0.9rem 2.5rem;
  background: var(--gold);
  color: var(--dark);
  border: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-primary.btn-full {
  width: 100%;
  padding: 1rem;
}

.btn-outline {
  padding: 0.9rem 2.5rem;
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(245, 242, 236, 0.25);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 1rem;
  font-weight: 300;
  line-height: 1.8;
}

.divider {
  width: 3rem;
  height: 2px;
  background: var(--gold);
  margin: 1.5rem auto;
}

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5px;
  background: rgba(201, 168, 76, 0.1);
  border: 1.5px solid rgba(201, 168, 76, 0.1);
}

.service-card {
  background: var(--dark2);
  padding: 2.5rem;
  transition: background 0.4s, transform 0.4s, box-shadow 0.4s;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.service-card:hover {
  background: var(--dark3);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(201,168,76,0.15);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.service-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
}

.service-arrow {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .service-arrow {
  opacity: 1;
}

/* =============================================
   PARTNERS / BRANDS MARQUEE
   ============================================= */
.partners-wrap {
  padding: 5rem 0 6rem;
  background: var(--dark);
  overflow: hidden;
}

.partners-marquee {
  position: relative;
  margin-top: 2rem;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  direction: ltr;
  animation: partnersScroll 40s linear infinite;
  will-change: transform;
}

.partners-set {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
  padding-inline-end: 1.25rem;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partners-track.reverse {
  animation-direction: reverse;
}

/* همه زبان‌ها: خروج از راست، ورود از چپ — لوپ بی‌نهایت */
@keyframes partnersScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(50%, 0, 0); }
}

.partner-logo {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 20px;
  background: #fff;
  display: block;
  padding: 0;
  border: none;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.06) translateY(-3px);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

.partners-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 2rem;
  padding: 0 1.5rem;
}

/* =============================================
   PORTFOLIO
   ============================================= */
.portfolio-wrap {
  background: var(--dark2);
  padding: 6rem 0;
}

.portfolio-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.portfolio-filter {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.78rem;
  padding: 0.45rem 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.portfolio-filter:hover,
.portfolio-filter.active {
  border-color: rgba(201, 168, 76, 0.45);
  color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
}

.portfolio-info .port-cat {
  display: block;
  font-size: 0.72rem;
  color: var(--gold);
  margin-top: 0.25rem;
  opacity: 0.9;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark3);
  aspect-ratio: 1 / 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s;
}

.portfolio-item.is-filtered-out,
.portfolio-item.is-paged-out {
  display: none !important;
}

.portfolio-more-wrap {
  margin-top: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.portfolio-count {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.portfolio-load-more {
  padding: 0.65rem 1.75rem;
  border: 1px solid rgba(201, 168, 76, 0.45);
  background: rgba(201, 168, 76, 0.08);
  color: var(--gold);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.portfolio-load-more:hover {
  background: rgba(201, 168, 76, 0.16);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.portfolio-item::after {
  content: '';
  position: absolute;
  top: 0;
  right: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-20deg);
  transition: right 0.7s ease;
  pointer-events: none;
  z-index: 2;
}

.portfolio-item:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  z-index: 1;
}

.portfolio-item:hover::after {
  right: 150%;
}

.port-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.5s;
}

.port-placeholder .port-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.portfolio-item:hover .port-placeholder {
  transform: scale(1.05);
}

.port-icon {
  font-size: 2.5rem;
  opacity: 0.12;
}

.port-text {
  font-size: 0.75rem;
  opacity: 0.2;
  letter-spacing: 1px;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-info h4 {
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio-info span {
  font-size: 0.75rem;
  color: var(--gold);
}

.portfolio-item .port-media,
.honor-placeholder img,
.honor-placeholder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =============================================
   HONORS
   ============================================= */
.honors-wrap {
  padding: 6rem 0;
}

.honors-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
}

.honors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.honor-item {
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.3s, transform 0.3s;
}

.honor-item:hover {
  border-color: rgba(201, 168, 76, 0.35);
  transform: translateY(-4px);
}

.honor-placeholder {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.honor-icon {
  font-size: 3rem;
  opacity: 0.35;
}

.honor-info {
  padding: 1.25rem 1.5rem;
}

.honor-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.honor-info span {
  font-size: 0.75rem;
  color: var(--gold);
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox.active .lightbox-content {
  animation: lightboxIn 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
}

.lightbox-content {
  max-width: min(900px, 100%);
  width: 100%;
  text-align: center;
  transform: scale(0.92);
  opacity: 0;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
  opacity: 1;
}

.lightbox-media {
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.lightbox-media img,
.lightbox-media video {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 4px;
}

.video-player-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.video-player-wrap video {
  width: 100%;
  max-height: 75vh;
  background: #000;
}

.video-buffer-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.75);
  border-radius: 4px;
  z-index: 2;
  padding: 1.5rem;
  transition: opacity 0.3s, visibility 0.3s;
}

.video-buffer-state.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-buffer-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(201, 168, 76, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.video-buffer-text {
  color: var(--light);
  font-size: 0.9rem;
  margin: 0;
}

.video-buffer-track {
  width: min(280px, 80%);
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.video-buffer-track span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.2s;
}

.media-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: background 0.3s;
}

.media-play-btn span {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 168, 76, 0.9);
  color: #1a1a12;
  border-radius: 50%;
  font-size: 1.1rem;
  padding-right: 3px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.portfolio-item:hover .media-play-btn,
.honor-item:hover .media-play-btn {
  background: rgba(0, 0, 0, 0.5);
}

.honor-placeholder {
  position: relative;
}

.lightbox-empty {
  color: var(--text-muted);
  padding: 3rem 2rem;
  font-size: 0.9rem;
}

.lightbox-caption h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.lightbox-caption span {
  font-size: 0.85rem;
  color: var(--gold);
}

.lightbox-back {
  position: absolute;
  top: max(1rem, env(safe-area-inset-top));
  inset-inline-start: max(1rem, env(safe-area-inset-left));
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem 0.55rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  color: var(--light);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.lightbox-back:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-1px);
}

.lightbox-back-icon {
  display: inline-flex;
  font-size: 1.15rem;
  line-height: 1;
}

.lightbox-back-icon::before {
  content: '←';
}

[dir="rtl"] .lightbox-back-icon::before {
  content: '→';
}

.lightbox-back-hint {
  display: none;
  margin-inline-start: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.2;
}

@media (min-width: 901px) {
  .lightbox-back {
    top: 1.35rem;
    inset-inline-start: 1.5rem;
    font-size: 0.95rem;
    padding: 0.65rem 1.2rem 0.65rem 1rem;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
    border-color: rgba(201, 168, 76, 0.28);
  }

  .lightbox-back:hover {
    background: rgba(201, 168, 76, 0.18);
    border-color: rgba(201, 168, 76, 0.55);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  }

  .lightbox-back-icon {
    font-size: 1.25rem;
  }

  .lightbox-back-hint {
    display: inline;
  }

  .lightbox-media {
    max-height: 78vh;
  }
}

/* =============================================
   PROCESS
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: linear-gradient(to left, transparent, rgba(201, 168, 76, 0.4), rgba(201, 168, 76, 0.4), transparent);
}

.step {
  text-align: center;
  padding: 0 1rem;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark2);
  border: 1px solid rgba(201, 168, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 auto 1.5rem;
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* =============================================
   TEAM
   ============================================= */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.team-card:hover {
  border-color: rgba(201, 168, 76, 0.3);
  transform: translateY(-4px);
}

.team-card.featured {
  border-color: rgba(201, 168, 76, 0.35);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(201, 168, 76, 0.05));
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.team-card.featured .team-avatar {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.35), rgba(201, 168, 76, 0.1));
  border-color: var(--gold);
}

.team-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.8rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.team-bio {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 300;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-wrap {
  background: var(--dark2);
  padding: 6rem 0;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-inner-single {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.contact-link {
  color: var(--light);
  text-decoration: none;
  transition: color 0.3s;
}

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

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--dark3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--light);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s;
  direction: rtl;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(201, 168, 76, 0.5);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select option {
  background: var(--dark3);
}

/* =============================================
   FOOTER
   ============================================= */
footer {
  background: #080808;
  padding: 2.5rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--gold);
}

/* =============================================
   ANIMATIONS & SCROLL REVEAL
   ============================================= */
@keyframes fadeDown {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) and (min-width: 901px) {
  .site-header-bar {
    padding: 0.8rem 1.35rem;
    gap: 0.85rem;
  }
  .nav-links { gap: 0.85rem 1.15rem; }
  .nav-links a { font-size: 0.82rem; }
  .nav-cta { padding: 0.45rem 1rem; font-size: 0.8rem; }
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header-wrap {
    padding: 0.55rem 0.65rem 0;
  }

  .site-header-bar {
    padding: 0.75rem 1rem;
    min-height: 3.55rem;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0;
  }

  .site-header-bar .logo { grid-column: 1; grid-row: 1; }
  .site-header-bar .navbar-end { grid-column: 2; grid-row: 1; justify-self: end; }

  .hanan-logo-text--header {
    font-size: clamp(1.15rem, 5.5vw, 1.4rem);
    letter-spacing: 0.12em;
  }

  .nav-desktop-only { display: none !important; }
  .nav-mobile-only { display: inline-flex; }
  .nav-toggle { display: flex; }

  .nav-drawer {
    display: flex;
    flex: none;
    justify-content: flex-start;
    flex-direction: column;
    position: fixed;
    top: 0;
    bottom: 0;
    left: auto;
    width: min(300px, 88vw);
    height: 100dvh;
    max-height: 100dvh;
    background: #111;
    border-inline-start: 1px solid rgba(201, 168, 76, 0.2);
    z-index: 1050;
    padding: max(5rem, calc(env(safe-area-inset-top) + 3.5rem)) 1.5rem max(2rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    visibility: hidden;
  }

  .nav-drawer.open {
    pointer-events: auto;
    visibility: visible;
  }

  [dir="rtl"] .nav-drawer {
    right: 0;
    left: auto;
    transform: translate3d(100%, 0, 0);
  }

  [dir="ltr"] .nav-drawer {
    left: 0;
    right: auto;
    transform: translate3d(-100%, 0, 0);
    box-shadow: 8px 0 40px rgba(0, 0, 0, 0.5);
  }

  .nav-drawer.open {
    transform: translate3d(0, 0, 0);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }

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

  .nav-links a {
    display: block;
    font-size: 1.05rem;
    padding: 1rem 0.25rem;
    color: var(--light);
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--gold);
  }

  .nav-drawer .lang-switcher {
    margin-top: 1.5rem;
    justify-content: center;
    width: 100%;
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 1.25rem;
    text-align: center;
    padding: 0.85rem 1rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    border-radius: 2px;
    font-size: 0.9rem;
    font-weight: 600;
  }

  body.nav-open {
    overflow: hidden;
  }

  .lang-btn { font-size: 0.68rem; padding: 0.32rem 0.48rem; min-width: 1.75rem; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.25rem 3rem; min-height: auto; }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 2rem; }
  .stat-num { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .portfolio-item { aspect-ratio: 1 / 1; }
  .portfolio-overlay {
    opacity: 1;
    padding: 0.65rem 0.75rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, transparent 55%);
  }
  .portfolio-info h4 { font-size: 0.82rem; }
  .portfolio-info span { font-size: 0.68rem; }
  .portfolio-item:hover { transform: none; box-shadow: none; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .honor-placeholder { height: 130px; }
  .honor-icon { font-size: 2.25rem; }
  .honor-info { padding: 0.85rem 1rem; }
  .honor-info h4 { font-size: 0.85rem; }
  .honor-item:hover { transform: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-steps::before { display: none; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.5rem; }
  .portfolio-inner, .honors-inner { padding: 0 1.5rem; }
  .honors-wrap { padding: 4rem 0; }
  footer { padding: 2rem 1.5rem 1.25rem; flex-direction: column; text-align: center; }
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
  .team-card { padding: 1.25rem 0.85rem; }
  .team-card:hover { transform: none; }
  .team-avatar { width: 58px; height: 58px; font-size: 1.1rem; margin-bottom: 0.7rem; }
  .team-avatar.ceo-avatar { width: 64px; height: 64px; font-size: 1.2rem; }
  .team-name { font-size: 0.9rem; }
  .team-role { font-size: 0.74rem; margin-bottom: 0.55rem; }
  .team-bio {
    font-size: 0.74rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .team-card.ceo { grid-column: span 2; }
}

@media (max-width: 600px) {
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .portfolio-item { aspect-ratio: 1 / 1; }
  .portfolio-more-wrap { margin-top: 1.5rem; }
  .portfolio-load-more { width: 100%; max-width: 280px; }
  .portfolio-info h4 { font-size: 0.76rem; }
  .portfolio-info span { font-size: 0.62rem; }
  .port-icon { font-size: 1.75rem; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: stretch; width: 100%; max-width: 280px; margin: 0 auto; }
  .hero-buttons button { width: 100%; }
  .honors-grid { gap: 0.65rem; }
  .honor-placeholder { height: 100px; }
  .honor-icon { font-size: 1.75rem; }
  .honor-info { padding: 0.65rem 0.75rem; }
  .honor-info h4 { font-size: 0.78rem; }
  .honor-info span { font-size: 0.64rem; }
  .team-grid { gap: 0.65rem; }
  .team-card { padding: 1rem 0.65rem; }
  .team-avatar { width: 48px; height: 48px; font-size: 0.95rem; margin-bottom: 0.55rem; }
  .team-avatar.ceo-avatar { width: 54px; height: 54px; font-size: 1.05rem; }
  .team-name { font-size: 0.82rem; }
  .team-role { font-size: 0.68rem; margin-bottom: 0.4rem; }
  .team-bio { font-size: 0.68rem; -webkit-line-clamp: 2; }
  .partner-logo { width: 68px; height: 68px; border-radius: 16px; }
  .lightbox { padding: 1rem; }
  .lightbox-back { top: max(0.65rem, env(safe-area-inset-top)); inset-inline-start: max(0.65rem, env(safe-area-inset-left)); font-size: 0.82rem; padding: 0.5rem 0.85rem; }
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-wrap {
  background: var(--dark2);
  padding: 6rem 0;
}

.about-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
  font-weight: 300;
}

.video-wrapper {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.2);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.video-wrapper video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  object-fit: contain;
  vertical-align: middle;
}

.about-video-status {
  position: absolute;
  inset: 0;
  bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.72);
  color: var(--light);
  font-size: 0.82rem;
  z-index: 2;
  padding: 1rem;
  transition: opacity 0.35s, visibility 0.35s;
  pointer-events: none;
}

.about-video-status.ready {
  opacity: 0;
  visibility: hidden;
}

.about-video-status-spinner {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(201, 168, 76, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.about-video-status.ready .about-video-status-spinner {
  animation: none;
  display: none;
}

.about-video-status-bar {
  width: min(220px, 70%);
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
}

.about-video-status-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.25s;
}

#about-video-wrap {
  position: relative;
}

.video-label {
  background: rgba(13,13,13,0.85);
  color: var(--gold);
  font-size: 0.78rem;
  padding: 0.6rem 1rem;
  text-align: center;
  letter-spacing: 1px;
  border-top: 1px solid rgba(201,168,76,0.15);
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; padding: 0 1.5rem; }
}

/* =============================================
   CEO TEAM CARD
   ============================================= */
.team-card.ceo {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.07), var(--dark2));
  grid-column: span 1;
}

.team-avatar.ceo-avatar {
  background: linear-gradient(135deg, rgba(201,168,76,0.5), rgba(201,168,76,0.15));
  border-color: var(--gold);
  width: 84px;
  height: 84px;
  font-size: 1.6rem;
}

.team-card.ceo .team-role {
  font-size: 0.82rem;
  font-weight: 600;
}

/* =============================================
   PREMIUM EFFECTS
   ============================================= */

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(to left, var(--gold-light), var(--gold));
  z-index: 200;
  box-shadow: 0 0 12px rgba(201,168,76,0.5);
  transition: width 0.1s linear;
}

/* Navbar scrolled */
.site-header-wrap.scrolled .site-header-bar {
  padding: 0.65rem 1.75rem;
  min-height: 3.45rem;
  border-radius: 18px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.13) 0%,
    rgba(255, 255, 255, 0.05) 42%,
    rgba(201, 168, 76, 0.09) 100%
  );
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.16) inset,
    0 0 0 1px rgba(201, 168, 76, 0.08);
}

.site-header-wrap.scrolled .site-header-bar::before {
  background: rgba(8, 8, 8, 0.55);
  backdrop-filter: blur(32px) saturate(190%);
  -webkit-backdrop-filter: blur(32px) saturate(190%);
}

.site-header-wrap.scrolled .hanan-logo-text--header {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  letter-spacing: 0.14em;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--gold);
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 50;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s;
}

body.cursor-ready .cursor-glow {
  opacity: 1;
}

/* Hero orbs */
.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: orbFloat 12s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(201,168,76,0.15);
  top: 10%;
  right: 15%;
  animation-delay: 0s;
}

.orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(201,168,76,0.08);
  bottom: 20%;
  left: 10%;
  animation-delay: -4s;
}

.orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(232,213,163,0.06);
  top: 50%;
  left: 50%;
  animation-delay: -8s;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.47s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.54s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: none;
}

/* 3D tilt cards */
.fx-tilt {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Shine sweep on hover */
.fx-shine {
  position: relative;
  overflow: hidden;
}

.fx-shine::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.12) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.65s ease;
  pointer-events: none;
  z-index: 3;
}

.fx-shine:hover::before {
  transform: translateX(120%);
}

/* Section tag glow */
.fx-glow-tag {
  animation: tagGlow 3s ease-in-out infinite;
}

@keyframes tagGlow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 18px rgba(201, 168, 76, 0.35); }
}

/* Service icon float */
.service-icon {
  animation: iconFloat 4s ease-in-out infinite;
}

.service-card:nth-child(2) .service-icon { animation-delay: -0.5s; }
.service-card:nth-child(3) .service-icon { animation-delay: -1s; }
.service-card:nth-child(4) .service-icon { animation-delay: -1.5s; }
.service-card:nth-child(5) .service-icon { animation-delay: -2s; }
.service-card:nth-child(6) .service-icon { animation-delay: -2.5s; }

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

/* Empty grid state */
.grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  color: var(--text-muted);
  border: 1px dashed rgba(201, 168, 76, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}

.grid-empty-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.75rem;
  opacity: 0.6;
}

.grid-empty p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

/* Portfolio card premium hover */
.portfolio-item.fx-shine:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 168, 76, 0.15);
}

.honor-item.fx-shine:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.service-card.fx-shine:hover {
  border-color: rgba(201, 168, 76, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 24px rgba(201, 168, 76, 0.08);
}

/* Hero badge pulse */
.hero-badge {
  animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(201, 168, 76, 0); }
}

/* Buttons premium */
.btn-primary,
.btn-outline,
.nav-cta {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-outline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::after,
.btn-outline:hover::after {
  transform: translateX(100%);
}

.btn-primary {
  box-shadow: 0 4px 20px rgba(201,168,76,0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(201,168,76,0.4);
}

/* Honor hover */
.honor-item {
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.3s, box-shadow 0.4s;
}

.honor-item:hover {
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* Process step glow */
.step-num {
  transition: box-shadow 0.4s, transform 0.4s;
}

.stagger-children.visible .step:hover .step-num {
  box-shadow: 0 0 24px rgba(201,168,76,0.35);
  transform: scale(1.08);
}

/* Video wrapper hover */
.video-wrapper {
  transition: transform 0.5s, box-shadow 0.5s;
}

.about-video:hover .video-wrapper {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 70px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,168,76,0.2);
}

/* Section divider pulse */
.divider {
  animation: dividerPulse 3s ease infinite;
}

/* Keyframes */
@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes lightboxIn {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes dividerPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(201,168,76,0); }
  50% { box-shadow: 0 0 12px rgba(201,168,76,0.4); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .site-header-bar::after { animation: none; opacity: 0.85; }
  .cursor-glow, .hero-particles { display: none; }
  .reveal, .stagger-children > * { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .site-header-wrap.scrolled .site-header-bar {
    padding: 0.65rem 0.9rem;
    border-radius: 14px;
  }
  .cursor-glow { display: none; }
}
