/* ==========================================================================
   GÖKDEPE PAGTA EGRIJI FABRIGI — Ministerial-Grade Editorial Design System
   Türkmenistanyň Dokma senagaty ministrligi
   ========================================================================== */

:root {
  /* Brand Palette — Inspired by Factory Emerald Glass, Pure Cotton & Gold */
  --emerald-950: #051F17;
  --emerald-900: #083024;
  --emerald-800: #0B4131;
  --emerald-700: #115A43;
  --emerald-600: #167557;
  --emerald-100: #E6F2ED;
  --emerald-50:  #F2F8F5;

  --gold-600: #A97E1F;
  --gold-500: #C59B38;
  --gold-400: #D8B454;
  --gold-200: #EFE0B4;
  --gold-100: #FAF5E7;

  --cotton-bg:   #F8F7F3;
  --cotton-soft: #F1EFE9;
  --surface:     #FFFFFF;

  --ink-900: #0E1B16;
  --ink-700: #2C3D36;
  --ink-500: #53655D;
  --ink-400: #7A8C84;

  --border-subtle: rgba(11, 65, 49, 0.10);
  --border-strong: rgba(11, 65, 49, 0.18);
  --border-gold:   rgba(197, 155, 56, 0.35);

  --shadow-sm: 0 2px 10px rgba(8, 48, 36, 0.05);
  --shadow-md: 0 10px 30px rgba(8, 48, 36, 0.08);
  --shadow-lg: 0 20px 50px rgba(5, 31, 23, 0.14);
  --shadow-xl: 0 28px 65px rgba(5, 31, 23, 0.22);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-med:  0.4s cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.7s cubic-bezier(0.22, 1, 0.36, 1);

  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background-color: var(--cotton-bg);
  line-height: 1.65;
  overflow-x: clip;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Typography Helpers */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--emerald-700));
  border-radius: 2px;
}

.eyebrow--light {
  color: var(--gold-400);
}
.eyebrow--light::before {
  background: linear-gradient(90deg, var(--gold-400), rgba(216, 180, 84, 0.25));
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.95rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}

.section-title--light {
  color: #FFFFFF;
}

.section-lead {
  font-size: 1.06rem;
  color: var(--ink-500);
  max-width: 680px;
  margin-top: 14px;
  line-height: 1.7;
}

.section-lead--light {
  color: rgba(255, 255, 255, 0.78);
}

.section-header {
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(270deg, var(--gold-500), var(--emerald-700));
  border-radius: 2px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section--white {
  background-color: var(--surface);
}

.section--cotton {
  background-color: var(--cotton-bg);
}

.section--emerald {
  background: linear-gradient(155deg, var(--emerald-950) 0%, var(--emerald-900) 52%, #0B3A2C 100%);
  color: #FFFFFF;
  overflow: hidden;
}

/* Subtle Turkmen National Geometric Border Accent */
.ornament-divider {
  width: 100%;
  height: 14px;
  background-color: var(--emerald-900);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='14' viewBox='0 0 48 14'%3E%3Cpath d='M24 2L31 7L24 12L17 7Z' fill='none' stroke='%23C59B38' stroke-width='1.2' stroke-opacity='0.65'/%3E%3Ccircle cx='24' cy='7' r='1.7' fill='%23D8B454' fill-opacity='0.8'/%3E%3Cpath d='M0 7H14M34 7H48' stroke='%23C59B38' stroke-width='0.9' stroke-opacity='0.35'/%3E%3Cpath d='M4 4L7 7L4 10M44 4L41 7L44 10' fill='none' stroke='%23C59B38' stroke-width='0.9' stroke-opacity='0.45'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  border-top: 1px solid rgba(197, 155, 56, 0.28);
  border-bottom: 1px solid rgba(197, 155, 56, 0.28);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 60%, var(--gold-600) 100%);
  color: var(--emerald-950);
  box-shadow: 0 10px 26px rgba(197, 155, 56, 0.34);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(197, 155, 56, 0.45);
  filter: brightness(1.04);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(10px);
}
.btn--glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--emerald-800);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(11, 65, 49, 0.24);
}
.btn--primary:hover {
  background: var(--emerald-700);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 65, 49, 0.32);
}

.btn--outline {
  border: 1.5px solid var(--border-strong);
  color: var(--emerald-800);
  background: transparent;
}
.btn--outline:hover {
  border-color: var(--emerald-800);
  background: var(--emerald-50);
}

/* ==========================================================================
   TOP UTILITY BAR & STICKY NAVIGATION
   ========================================================================== */
.topbar {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(197, 155, 56, 0.22);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  padding: 6px 0;
  flex-wrap: wrap;
}

.topbar__ministry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--gold-200);
  letter-spacing: 0.02em;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color var(--transition-fast);
}

.topbar__item:hover {
  color: var(--gold-400);
}

.topbar__item svg {
  width: 14px;
  height: 14px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-fast), background var(--transition-fast);
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 10px 34px rgba(8, 48, 36, 0.09);
}

.header__top-inner {
  max-width: 1420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 94px;
  padding: 12px 24px;
  transition: min-height var(--transition-fast), padding var(--transition-fast);
}

.header.is-scrolled .header__top-inner {
  min-height: 78px;
  padding: 8px 24px;
}

.header__nav-bar {
  border-top: 1px solid var(--border-subtle);
  background: rgba(248, 247, 243, 0.65);
}

.header__nav-inner {
  max-width: 1420px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 50px;
  padding: 6px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex-shrink: 1;
}

.brand__logo {
  width: 78px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
  transition: width var(--transition-fast), height var(--transition-fast), transform var(--transition-fast);
}

.brand:hover .brand__logo {
  transform: scale(1.03);
}

.header.is-scrolled .brand__logo {
  width: 66px;
  height: 42px;
}

/* Top Ministerial Scroll Progress Filament */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 1300;
  background: linear-gradient(90deg, var(--emerald-700) 0%, var(--gold-500) 55%, var(--gold-300, #ECD07A) 100%);
  box-shadow: 0 0 12px rgba(216, 180, 84, 0.72);
  pointer-events: none;
  transition: width 0.08s linear;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand__title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--emerald-900);
  letter-spacing: 0.018em;
  line-height: 1.18;
}

.brand__sub {
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.055em;
  text-transform: uppercase;
  margin-top: 3px;
}

.header__top-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}

.nav__link {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
  position: relative;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--emerald-800);
  background: var(--emerald-100);
}

.nav__link.is-active {
  font-weight: 700;
}

.nav__link--contact {
  color: var(--emerald-800);
  font-weight: 700;
}

.year-motto {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.year-motto__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding-right: 16px;
  border-right: 2px solid rgba(197, 155, 56, 0.55);
  text-transform: uppercase;
}

.year-motto__line1 {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.04em;
  color: var(--emerald-900);
  white-space: nowrap;
}

.year-motto__line2 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.045em;
  color: var(--gold-600);
  white-space: nowrap;
}

.year-motto__logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex-shrink: 0;
  transition: width var(--transition-fast), height var(--transition-fast);
}

.header.is-scrolled .year-motto__logo {
  width: 66px;
  height: 66px;
}

/* Executive Language Switcher (TM / RU / EN) */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 4px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 8px rgba(8, 48, 36, 0.06);
  flex-shrink: 0;
}

.lang-switcher__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-700);
  padding: 0 4px 0 6px;
}

.lang-btn {
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-700);
  transition: background var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  line-height: 1.1;
}

.lang-btn:hover {
  color: var(--emerald-900);
  background: var(--emerald-50);
}

.lang-btn.is-active {
  background: var(--emerald-800);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(11, 65, 49, 0.25);
}

.nav__cta {
  margin-left: 8px;
  padding: 9px 18px;
  font-size: 0.86rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--emerald-900);
  background: var(--emerald-50);
  transition: background var(--transition-fast);
}
.menu-toggle:hover {
  background: var(--emerald-100);
}

/* ==========================================================================
   CINEMATIC HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 144px);
  min-height: 660px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 90px 0 42px;
  background-color: var(--emerald-950);
  overflow: hidden;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 7s ease-out;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5, 31, 23, 0.88) 0%, rgba(5, 31, 23, 0.64) 48%, rgba(5, 31, 23, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 31, 23, 0.35) 0%, rgba(5, 31, 23, 0.15) 45%, rgba(5, 31, 23, 0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin-bottom: 44px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(8, 48, 36, 0.72);
  border: 1px solid rgba(216, 180, 84, 0.45);
  color: var(--gold-200);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  margin-bottom: 22px;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-400);
  box-shadow: 0 0 10px var(--gold-400);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 5.2vw, 4.35rem);
  font-weight: 700;
  line-height: 1.08;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

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

.hero__desc {
  margin-top: 20px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 650px;
  line-height: 1.7;
}

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

.hero__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.hero__dot {
  position: relative;
  height: 5px;
  width: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  overflow: hidden;
  transition: width var(--transition-med), background var(--transition-fast);
}

.hero__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-400), #F5DC8B);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(216, 180, 84, 0.65);
}

.hero__dot.is-active {
  width: 72px;
  background: rgba(255, 255, 255, 0.22);
}

.hero__dot.is-active::after {
  animation: heroDotFill 6.5s linear forwards;
}

@keyframes heroDotFill {
  from { width: 0%; }
  to { width: 100%; }
}

.hero__slide-caption {
  margin-left: 10px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
}

/* Floating Ministerial KPI Strip inside Hero */
.hero-kpis {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(8, 38, 29, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(216, 180, 84, 0.28);
  box-shadow: var(--shadow-xl);
}

.hero-kpis::before {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 232, 163, 0.9), transparent);
  animation: kpiLineSweep 5.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 2;
}

.hero-kpi {
  position: relative;
  background: transparent;
  padding: 24px 26px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-kpi + .hero-kpi {
  border-left: 1px solid rgba(216, 180, 84, 0.30);
}

.hero-kpi:hover {
  background: rgba(16, 68, 52, 0.65);
}

.hero-kpi__val {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.1vw, 2.08rem);
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.hero-kpi__unit {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
}

.hero-kpi__label {
  margin-top: 6px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

/* ==========================================================================
   ABOUT & INFRASTRUCTURE SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-visual__main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 16 / 10;
}

.about-visual__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-visual:hover .about-visual__main img {
  transform: scale(1.03);
}

.about-visual__secondary {
  position: absolute;
  bottom: -28px;
  right: -20px;
  width: 52%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 5px solid var(--surface);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
}

.about-visual__secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-visual__seal {
  position: absolute;
  top: -18px;
  left: -18px;
  background: linear-gradient(145deg, var(--emerald-900), var(--emerald-800));
  color: #FFFFFF;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 180, 84, 0.45);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-visual__seal-year {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}

.about-visual__seal-text {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.85);
}

.about-copy p {
  color: var(--ink-700);
  margin-top: 16px;
  font-size: 1.01rem;
  line-height: 1.75;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.pillar-card {
  background: var(--cotton-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.pillar-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--emerald-900);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.pillar-card__title svg {
  width: 18px;
  height: 18px;
  color: var(--gold-600);
  flex-shrink: 0;
}

.pillar-card__desc {
  font-size: 0.86rem;
  color: var(--ink-500);
  line-height: 1.55;
  margin-top: 0 !important;
}

/* Infrastructure Specs Row */
.infra-grid {
  margin-top: 76px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.infra-card {
  background: var(--cotton-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.infra-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
  background: var(--surface);
}

.infra-card__num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--emerald-800);
  line-height: 1.2;
}

.infra-card__label {
  margin-top: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-500);
  line-height: 1.4;
}

/* ==========================================================================
   MINISTERIAL PERFORMANCE DASHBOARD (DARK EMERALD BAND)
   ========================================================================== */
.metrics-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(var(--gold-400) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.capacity-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.cap-row__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
  gap: 12px;
}

.cap-row__title {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.cap-row__value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--gold-400);
}

.cap-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.cap-bar__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald-600), var(--gold-400));
  width: 0;
  transition: width 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cap-row__note {
  margin-top: 6px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
}

.metrics-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.metric-tile {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.metric-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(216, 180, 84, 0.22), transparent 68%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.metric-tile:hover::before {
  opacity: 1;
}

.metric-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 180, 84, 0.55);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.metric-tile__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(216, 180, 84, 0.15);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.metric-tile__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
}

.metric-tile__label {
  margin-top: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

/* ==========================================================================
   INTERACTIVE 13-STAGE PRODUCTION PROCESS SHOWCASE
   ========================================================================== */
.process-progress-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.process-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(11, 65, 49, 0.12);
  overflow: hidden;
  position: relative;
}

.process-progress-fill {
  height: 100%;
  width: 8.33%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald-700), var(--gold-500));
  box-shadow: 0 0 12px rgba(197, 155, 56, 0.45);
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-tour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--emerald-900);
  background: var(--surface);
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 4px 12px rgba(8, 48, 36, 0.06);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-tour:hover {
  background: var(--emerald-900);
  color: var(--gold-200);
  border-color: var(--emerald-900);
  transform: translateY(-1px);
}

.btn-tour.is-playing {
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-800));
  color: var(--gold-200);
  border-color: var(--gold-500);
  box-shadow: 0 8px 20px rgba(11, 65, 49, 0.26);
}

.btn-tour__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

.btn-tour.is-playing .btn-tour__dot {
  background: #F4CE65;
  box-shadow: 0 0 10px rgba(244, 206, 101, 0.9);
  animation: tourPulse 1.3s ease-in-out infinite;
}

@keyframes tourPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.45); opacity: 0.65; }
}

.process-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.process-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-700);
  transition: all var(--transition-fast);
}

.process-tab.is-done {
  border-color: rgba(17, 90, 67, 0.28);
  background: rgba(235, 245, 240, 0.72);
  color: var(--emerald-900);
}

.process-tab.is-done .process-tab__num {
  background: rgba(17, 90, 67, 0.16);
  color: var(--emerald-900);
}

.process-tab__num {
  font-size: 0.74rem;
  font-weight: 700;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-50);
  color: var(--emerald-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.process-tab:hover {
  border-color: var(--emerald-700);
  color: var(--emerald-800);
}

.process-tab.is-active {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(11, 65, 49, 0.24);
}

.process-tab.is-active .process-tab__num {
  background: var(--gold-400);
  color: var(--emerald-950);
}

.process-stage-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.process-stage__media {
  position: relative;
  min-height: 430px;
  background: var(--emerald-950);
  overflow: hidden;
}

.process-stage__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease, transform 0.6s ease;
}

.process-stage__media.is-changing img {
  opacity: 0.25;
  transform: scale(1.03);
}

.process-stage__step-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  background: rgba(5, 31, 23, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(216, 180, 84, 0.5);
  color: var(--gold-400);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-stage__body {
  padding: 42px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.process-stage__dept {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.process-stage__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.3vw, 2.15rem);
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.2;
}

.process-stage__desc {
  margin-top: 16px;
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.75;
}

.process-stage__meta {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--cotton-bg);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--gold-500);
}

.process-stage__meta-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-500);
}

.process-stage__meta-val {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--emerald-900);
  margin-top: 4px;
}

.process-stage__nav {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.process-stage__counter {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-500);
}

.process-stage__counter strong {
  color: var(--emerald-800);
  font-size: 1.05rem;
}

.process-arrows {
  display: flex;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  color: var(--emerald-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  background: var(--surface);
}

.icon-btn:hover {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: #FFFFFF;
}

/* Full 13-stage quick overview toggle grid */
.process-overview-bar {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.process-all-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.process-all-grid[hidden] {
  display: none;
}

.mini-stage {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.mini-stage:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-600);
}

.mini-stage__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}

.mini-stage__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mini-stage:hover .mini-stage__img img {
  transform: scale(1.05);
}

.mini-stage__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--emerald-900);
  color: var(--gold-400);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.mini-stage__body {
  padding: 16px 18px;
}

.mini-stage__title {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink-900);
}

.mini-stage__sub {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--ink-500);
}

/* ==========================================================================
   PRODUCTS & YARN SPECIFICATIONS SECTION (INTERACTIVE ILLUMINATED SHOWCASE)
   ========================================================================== */
.product-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1.1fr;
  gap: 44px;
  align-items: stretch;
  margin-bottom: 44px;
}

.product-photo-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 440px;
  background: var(--emerald-950);
  border: 2px solid rgba(216, 180, 84, 0.58);
  box-shadow:
    0 22px 50px rgba(5, 31, 23, 0.22),
    0 0 0 1px rgba(216, 180, 84, 0.3),
    0 0 38px rgba(216, 180, 84, 0.22);
  transition: box-shadow 0.45s ease, border-color 0.45s ease, transform 0.45s ease;
}

.product-photo-card::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(120deg, transparent 22%, rgba(246, 224, 152, 0.42) 50%, transparent 78%);
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 4;
}

.product-photo-card.is-illuminating {
  border-color: #E7C563;
  box-shadow:
    0 26px 58px rgba(5, 31, 23, 0.28),
    0 0 0 3px rgba(231, 197, 99, 0.65),
    0 0 54px rgba(216, 180, 84, 0.48);
}

.product-photo-card.is-illuminating::after {
  animation: productLightSweep 0.78s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes productLightSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(130%); }
}

.product-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.34s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.product-photo-card.is-switching img {
  opacity: 0.22;
  transform: scale(1.045);
  filter: brightness(1.18);
}

.product-photo-card__top {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.product-photo-card__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(5, 31, 23, 0.84);
  border: 1px solid rgba(231, 197, 99, 0.68);
  color: #F4DA84;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}

.product-photo-card__pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F4DA84;
  box-shadow: 0 0 10px #F4DA84;
}

.product-photo-card__tag {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(5, 31, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.product-photo-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 34px 26px 24px;
  background: linear-gradient(180deg, rgba(5, 31, 23, 0) 0%, rgba(5, 31, 23, 0.78) 28%, rgba(5, 31, 23, 0.96) 100%);
  color: #FFFFFF;
}

.product-photo-card__caption h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.product-photo-card__caption p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.55;
}

.product-gauge {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.product-gauge__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-gauge__label {
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-gauge__val {
  color: #F4DA84;
  font-weight: 700;
}

.product-gauge__track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.product-gauge__fill {
  height: 100%;
  width: 58%;
  border-radius: 999px;
  background: linear-gradient(90deg, #279B71, #E7C563);
  box-shadow: 0 0 12px rgba(231, 197, 99, 0.65);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.product-chip {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(216, 180, 84, 0.16);
  border: 1px solid rgba(216, 180, 84, 0.36);
  color: var(--gold-200);
}

.yarn-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.yarn-card {
  position: relative;
  text-align: left;
  width: 100%;
  cursor: pointer;
  background: var(--cotton-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform var(--transition-fast),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.yarn-card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(11, 65, 49, 0.14);
  border: 2px solid rgba(11, 65, 49, 0.22);
  transition: all 0.32s ease;
}

.yarn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(8, 48, 36, 0.11), 0 0 0 1px rgba(197, 155, 56, 0.35);
  border-color: var(--gold-500);
}

.yarn-card:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.yarn-card.is-selected {
  background: linear-gradient(155deg, #062F22 0%, #0B4634 58%, #105A43 100%);
  color: #FFFFFF;
  border-color: #E7C563;
  transform: translateY(-4px);
  box-shadow:
    0 20px 44px rgba(5, 31, 23, 0.28),
    0 0 0 2px rgba(231, 197, 99, 0.58),
    0 0 32px rgba(216, 180, 84, 0.34);
}

.yarn-card.is-selected::after {
  background: #F4DA84;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 14px #F4DA84, 0 0 24px rgba(244, 218, 132, 0.7);
}

.yarn-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  margin-bottom: 14px;
  transition: background 0.3s ease, color 0.3s ease;
}

.yarn-card.is-selected .yarn-card__tag {
  background: rgba(216, 180, 84, 0.24);
  color: #F4DA84;
  border: 1px solid rgba(244, 218, 132, 0.35);
}

.yarn-card__code {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--emerald-900);
  line-height: 1.15;
  transition: color 0.3s ease;
}

.yarn-card.is-selected .yarn-card__code {
  color: #FFFFFF;
  text-shadow: 0 2px 14px rgba(244, 218, 132, 0.28);
}

.yarn-card__alt {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--gold-600);
  margin-top: 4px;
  transition: color 0.3s ease;
}

.yarn-card.is-selected .yarn-card__alt {
  color: #F4DA84;
}

.yarn-card__desc {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--ink-500);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.yarn-card.is-selected .yarn-card__desc {
  color: rgba(255, 255, 255, 0.86);
}

.spec-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.spec-badge {
  background: var(--cotton-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.spec-badge__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--emerald-100);
  color: var(--emerald-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.spec-badge__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-900);
}

.spec-badge__text {
  font-size: 0.82rem;
  color: var(--ink-500);
  margin-top: 3px;
  line-height: 1.45;
}

/* ==========================================================================
   TECHNOLOGY PARTNERS & SWISS USTER LABORATORY
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.tech-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.tech-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-700), var(--gold-500));
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tech-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.tech-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.tech-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.tech-card__brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--emerald-900);
}

.tech-card__country {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  border: 1px solid var(--border-gold);
}

.tech-card__desc {
  font-size: 0.92rem;
  color: var(--ink-500);
  line-height: 1.65;
}

.lab-banner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  background: var(--surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.lab-banner__body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lab-banner__list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lab-banner__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-700);
}

.lab-banner__list svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-700);
  margin-top: 3px;
  flex-shrink: 0;
}

.lab-banner__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--emerald-950);
}

.lab-banner__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

/* ==========================================================================
   CURATED PHOTO GALLERY & FULLSCREEN LIGHTBOX
   ========================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-700);
  background: var(--cotton-bg);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--emerald-700);
  color: var(--emerald-800);
}

.filter-btn.is-active {
  background: var(--emerald-800);
  border-color: var(--emerald-800);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(11, 65, 49, 0.22);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.gallery-grid[data-cols="2"] {
  grid-template-columns: repeat(2, 1fr);
  max-width: 960px;
  margin-inline: auto;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--emerald-950);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-item[hidden] {
  display: none;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 31, 23, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px;
  opacity: 0.92;
  transition: opacity var(--transition-fast);
}

.gallery-item__cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.gallery-item__title {
  color: #FFFFFF;
  font-size: 0.94rem;
  font-weight: 600;
  margin-top: 3px;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 20, 15, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__dialog {
  position: relative;
  max-width: 1120px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-height: 78vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox__caption {
  margin-top: 16px;
  color: #FFFFFF;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
}

.lightbox__close {
  position: fixed;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox__close:hover {
  background: var(--gold-500);
  color: var(--emerald-950);
}

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox__nav:hover {
  background: var(--gold-500);
  color: var(--emerald-950);
}
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

/* ==========================================================================
   NEWS & DEVELOPMENT SECTION
   ========================================================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-gold);
  outline: none;
}

.news-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card__img img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card__tag {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 10px;
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.32;
  transition: color var(--transition-fast);
}

.news-card:hover .news-card__title {
  color: var(--emerald-800);
}

.news-card__footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news-card__text {
  margin-top: 12px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--ink-500);
  line-height: 1.68;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--emerald-800);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.news-card:hover .news-card__more {
  color: var(--gold-600);
  gap: 12px;
}

/* ==========================================================================
   STANDALONE NEWS ARTICLE PAGE (news-1.html / news-2.html / news-3.html)
   ========================================================================== */
.news-page-hero {
  background: linear-gradient(155deg, var(--emerald-950), var(--emerald-900));
  color: #FFFFFF;
  padding: 52px 0 64px;
  position: relative;
  overflow: hidden;
}

.news-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: radial-gradient(var(--gold-400) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.news-breadcrumb {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 22px;
}

.news-breadcrumb a {
  color: var(--gold-400);
  font-weight: 600;
  transition: opacity var(--transition-fast);
}

.news-breadcrumb a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

.news-page-hero__tag {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(216, 180, 84, 0.16);
  border: 1px solid rgba(216, 180, 84, 0.45);
  color: var(--gold-400);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.news-page-hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  max-width: 900px;
  color: #FFFFFF;
}

.news-page-hero__meta {
  position: relative;
  z-index: 2;
  margin-top: 16px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
}

.news-article-section {
  padding: 64px 0 92px;
  background: var(--cotton-bg);
}

.news-article {
  max-width: 920px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.news-article__cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--emerald-950);
}

.news-article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-article__body {
  padding: 44px 48px 48px;
}

.news-article__lead {
  font-size: 1.14rem;
  font-weight: 600;
  color: var(--emerald-900);
  line-height: 1.72;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.news-article__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 1.02rem;
  color: var(--ink-700);
  line-height: 1.82;
}

.news-article__highlights {
  margin-top: 30px;
  padding: 24px 28px;
  background: var(--cotton-bg);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--gold-500);
}

.news-article__highlights-title {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--emerald-800);
  margin-bottom: 12px;
}

.news-article__highlights ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-article__highlights li {
  position: relative;
  padding-left: 20px;
  font-size: 0.96rem;
  color: var(--ink-700);
  line-height: 1.6;
}

.news-article__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}

.news-article__actions {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.news-related {
  max-width: 920px;
  margin: 56px auto 0;
}

.news-related__heading {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink-900);
  margin-bottom: 24px;
}

.news-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-status__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-status__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--emerald-800);
  color: #FFFFFF;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.form-status__link:hover {
  background: var(--emerald-900);
  transform: translateY(-1px);
}

.form-status__link--alt {
  background: #FFFFFF;
  color: var(--emerald-900);
  border: 1.5px solid var(--emerald-700);
}

.form-status__link--alt:hover {
  background: var(--emerald-50);
}

@media (max-width: 760px) {
  .news-article__body { padding: 26px 22px 30px; }
  .news-related__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CONTACT & DIRECTORY SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.contact-panel {
  background: linear-gradient(155deg, var(--emerald-950), var(--emerald-900));
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(216, 180, 84, 0.26);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-panel__photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.contact-panel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.contact-panel__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, var(--emerald-950) 100%);
}

.contact-panel__content {
  padding: 28px 34px 36px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.contact-panel__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-row__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(216, 180, 84, 0.16);
  color: var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-row__label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.62);
}

.contact-row__val {
  font-size: 0.96rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 2px;
}

.contact-phones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}

.phone-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.phone-pill:hover {
  border-color: var(--gold-400);
  background: rgba(255, 255, 255, 0.1);
}

.phone-pill__role {
  font-size: 0.72rem;
  color: var(--gold-200);
  display: block;
}

.phone-pill__num {
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* Contact Form */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink-900);
  margin-bottom: 8px;
}

.contact-form-card > p {
  font-size: 0.94rem;
  color: var(--ink-500);
  margin-bottom: 24px;
}

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

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto 1fr;
  gap: 18px;
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group--full {
  grid-column: span 2;
}

.form-group--message {
  height: 100%;
}

.form-group--message textarea.form-control {
  flex: 1;
  min-height: 170px;
}

.form-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-700);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--cotton-bg);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--emerald-700);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(17, 90, 67, 0.12);
}

textarea.form-control {
  min-height: 128px;
  resize: vertical;
}

.form-status {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--emerald-50);
  border: 1px solid var(--emerald-600);
  color: var(--emerald-900);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* ==========================================================================
   OFFICIAL FOOTER
   ========================================================================== */
.footer {
  background: var(--emerald-950);
  color: rgba(255, 255, 255, 0.78);
  padding: 68px 0 30px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 14px;
}

.footer__brand-desc {
  margin-top: 10px;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.68);
}

.footer__heading {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-400);
  margin-bottom: 16px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.footer__links a {
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--gold-400);
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   CINEMATIC ENTRANCE & STAGGERED SCROLL REVEAL ANIMATIONS
   ========================================================================== */
@keyframes headerDropIn {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(44px) scale(0.98);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes contentGlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes galleryPopIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.header__top-inner {
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.05s, transform 0.72s cubic-bezier(0.22, 1, 0.36, 1) 0.05s;
}

.hero__title {
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}

.hero__desc {
  transition:
    opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.26s,
    transform 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.26s,
    filter 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.26s;
}

.hero__actions {
  transition:
    opacity 0.84s cubic-bezier(0.22, 1, 0.36, 1) 0.40s,
    transform 0.84s cubic-bezier(0.22, 1, 0.36, 1) 0.40s;
}

.hero__controls {
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.50s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.50s;
}

.hero-kpis {
  transition:
    opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.54s,
    transform 0.88s cubic-bezier(0.22, 1, 0.36, 1) 0.54s;
}

.hero-kpi {
  transition:
    background var(--transition-fast),
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-kpi:nth-child(1) { transition-delay: 0s, 0.60s, 0.60s; }
.hero-kpi:nth-child(2) { transition-delay: 0s, 0.72s, 0.72s; }
.hero-kpi:nth-child(3) { transition-delay: 0s, 0.84s, 0.84s; }
.hero-kpi:nth-child(4) { transition-delay: 0s, 0.96s, 0.96s; }

/* Initial staged state behind intro curtain (glides smoothly in when curtain lifts) */
body.is-intro-active .header__top-inner {
  opacity: 0;
  transform: translateY(-18px);
  transition: none;
}

body.is-intro-active .hero__title,
body.is-intro-active .hero__desc,
body.is-intro-active .hero__actions,
body.is-intro-active .hero__controls,
body.is-intro-active .hero-kpis,
body.is-intro-active .hero-kpi {
  opacity: 0;
  transform: translateY(42px) scale(0.98);
  filter: blur(5px);
  transition: none;
}

/* Interactive text & gallery filter reveal */
.is-text-reveal {
  animation: contentGlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.gallery-item.is-filter-reveal {
  animation: galleryPopIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(54px) scale(0.97);
  filter: blur(4px);
  transition:
    opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

.reveal--left {
  transform: translate3d(-62px, 14px, 0) scale(0.98);
}

.reveal--right {
  transform: translate3d(62px, 14px, 0) scale(0.98);
}

.reveal--scale {
  transform: translateY(38px) scale(0.92);
}

.reveal.is-visible,
.reveal--left.is-visible,
.reveal--right.is-visible,
.reveal--scale.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Staggered Wave Cascade Reveal for Card Grids */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(48px) scale(0.94);
  filter: blur(3px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.reveal-stagger.is-visible > *:nth-child(1)  { transition-delay: 0.06s; }
.reveal-stagger.is-visible > *:nth-child(2)  { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(3)  { transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(4)  { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(5)  { transition-delay: 0.46s; }
.reveal-stagger.is-visible > *:nth-child(6)  { transition-delay: 0.56s; }
.reveal-stagger.is-visible > *:nth-child(7)  { transition-delay: 0.62s; }
.reveal-stagger.is-visible > *:nth-child(8)  { transition-delay: 0.68s; }
.reveal-stagger.is-visible > *:nth-child(9)  { transition-delay: 0.74s; }
.reveal-stagger.is-visible > *:nth-child(10) { transition-delay: 0.80s; }
.reveal-stagger.is-visible > *:nth-child(11) { transition-delay: 0.86s; }
.reveal-stagger.is-visible > *:nth-child(12) { transition-delay: 0.92s; }
.reveal-stagger.is-visible > *:nth-child(n+13) { transition-delay: 0.98s; }

/* Subtle gold eyebrow line expand when section reveals */
.section-header .eyebrow::before,
.section-header--center .eyebrow::after {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s;
}

.section-header--center .eyebrow::after {
  transform-origin: right center;
}

.section-header.is-visible .eyebrow::before,
.section-header.is-visible .eyebrow::after {
  transform: scaleX(1);
}

/* ==========================================================================
   SIGNATURE EXECUTIVE ANIMATIONS (INTRO CURTAIN, SHIMMER, PARTICLES, 3D TILT)
   ========================================================================== */

/* 1. Ministerial Opening Curtain */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 42%, #0E4D3A 0%, #06281E 56%, #041913 100%);
  overflow: hidden;
  transition:
    transform 0.88s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.65s ease 0.25s;
}

.site-intro.is-leaving {
  transform: translateY(-102%);
  opacity: 0;
  pointer-events: none;
}

.site-intro__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 180, 84, 0.22) 0%, rgba(216, 180, 84, 0.04) 48%, transparent 72%);
  animation: introHaloPulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.site-intro__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  text-align: center;
}

.site-intro__emblem {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(216, 180, 84, 0.72);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.4),
    0 0 0 10px rgba(216, 180, 84, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  animation: introEmblemPop 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-intro__emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-intro__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #F4DFA0;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.site-intro__bar {
  width: 210px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  animation: heroFadeUp 0.6s ease 0.2s both;
}

.site-intro__bar span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #B58B2E, #FFE69C, #D8B454);
  transform-origin: left center;
  animation: introBarFill 0.92s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both;
}

@keyframes introHaloPulse {
  0%, 100% { transform: scale(0.94); opacity: 0.75; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes introEmblemPop {
  from { opacity: 0; transform: scale(0.76) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes introBarFill {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* 2. Hero Golden Text Metallic Shimmer & CTA Liquid Sheen */
.hero__title span {
  background: linear-gradient(
    110deg,
    #C9A044 0%,
    #E6C66A 36%,
    #FFF3C4 50%,
    #E2BE5F 64%,
    #C9A044 100%
  );
  background-size: 240% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-400);
  animation: goldTextShimmer 6s ease-in-out infinite;
}

@keyframes goldTextShimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

@keyframes kpiLineSweep {
  0% { left: -42%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 108%; opacity: 0; }
}

.btn--gold {
  position: relative;
  overflow: hidden;
}

.btn--gold::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -75%;
  width: 48%;
  height: 140%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.48) 50%,
    transparent 100%
  );
  transform: skewX(-22deg);
  animation: btnSheen 4.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.btn--gold svg {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn--gold:hover svg {
  transform: translateX(5px);
}

@keyframes btnSheen {
  0%, 62% { left: -75%; opacity: 0; }
  70% { opacity: 1; }
  100% { left: 135%; opacity: 0; }
}

/* 3. Hero Ambient Floating Golden Sparks */
.hero__sparks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero__sparks span {
  position: absolute;
  bottom: -24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 236, 173, 0.95) 0%, rgba(216, 180, 84, 0.35) 55%, transparent 75%);
  box-shadow: 0 0 12px rgba(216, 180, 84, 0.65);
  opacity: 0;
  animation: sparkRise linear infinite;
}

.hero__sparks span:nth-child(1)  { left: 8%;  width: 6px; height: 6px; animation-duration: 9.5s;  animation-delay: 0.4s; }
.hero__sparks span:nth-child(2)  { left: 18%; width: 4px; height: 4px; animation-duration: 11.2s; animation-delay: 2.1s; }
.hero__sparks span:nth-child(3)  { left: 29%; width: 7px; height: 7px; animation-duration: 10.4s; animation-delay: 1.0s; }
.hero__sparks span:nth-child(4)  { left: 41%; width: 5px; height: 5px; animation-duration: 12.6s; animation-delay: 3.4s; }
.hero__sparks span:nth-child(5)  { left: 53%; width: 6px; height: 6px; animation-duration: 9.8s;  animation-delay: 0.8s; }
.hero__sparks span:nth-child(6)  { left: 64%; width: 4px; height: 4px; animation-duration: 11.8s; animation-delay: 4.2s; }
.hero__sparks span:nth-child(7)  { left: 74%; width: 7px; height: 7px; animation-duration: 10.1s; animation-delay: 1.7s; }
.hero__sparks span:nth-child(8)  { left: 83%; width: 5px; height: 5px; animation-duration: 12.2s; animation-delay: 2.9s; }
.hero__sparks span:nth-child(9)  { left: 91%; width: 6px; height: 6px; animation-duration: 9.2s;  animation-delay: 0.2s; }
.hero__sparks span:nth-child(10) { left: 47%; width: 8px; height: 8px; animation-duration: 13.4s; animation-delay: 5.0s; }

@keyframes sparkRise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.72;
  }
  50% {
    transform: translate3d(18px, -320px, 0) scale(1);
    opacity: 0.52;
  }
  85% {
    opacity: 0.28;
  }
  100% {
    transform: translate3d(-14px, -680px, 0) scale(0.4);
    opacity: 0;
  }
}

/* 4. Subtle Ambient Float & Hover Polish */
.about-visual__seal {
  animation: gentleFloat 5.2s ease-in-out infinite;
}

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

.year-motto__logo {
  transition: width var(--transition-fast), height var(--transition-fast), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.year-motto:hover .year-motto__logo {
  transform: scale(1.06) rotate(2deg);
  filter: drop-shadow(0 6px 14px rgba(197, 155, 56, 0.38));
}

.scroll-progress-bar {
  box-shadow: 0 0 12px rgba(216, 180, 84, 0.75);
}

/* 5. Process Stage Golden Light-Sweep on Switch */
.process-stage__media {
  position: relative;
  overflow: hidden;
}

.process-stage__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 236, 179, 0.34) 48%,
    rgba(255, 255, 255, 0.22) 52%,
    transparent 80%
  );
  transform: translateX(-130%);
  pointer-events: none;
  z-index: 3;
}

.process-stage__media.is-stage-sweep::after {
  animation: stageBeamSweep 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes stageBeamSweep {
  from { transform: translateX(-130%); }
  to { transform: translateX(130%); }
}

/* 6. Interactive 3D Tilt & Radial Gold Spotlight Cards */
.is-tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.32s ease,
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.is-tilt-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--mx, 50%) var(--my, 50%),
    rgba(216, 180, 84, 0.16),
    transparent 65%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}

.is-tilt-card:hover::after {
  opacity: 1;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--emerald-900);
  color: var(--gold-400);
  border: 1px solid rgba(216, 180, 84, 0.45);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold-500);
  color: var(--emerald-950);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1120px) {
  .infra-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-badges { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1240px) {
  .brand__title { font-size: 1.14rem; }
  .brand__sub { font-size: 0.68rem; }
  .nav__link { font-size: 0.85rem; padding: 6px 10px; }
  .year-motto__text { padding-right: 12px; }
  .year-motto__line1 { font-size: 0.74rem; }
  .year-motto__line2 { font-size: 0.66rem; }
  .year-motto__logo { width: 68px; height: 68px; }
}

@media (max-width: 1040px) {
  .header__top-inner { min-height: 78px; padding: 10px 18px; gap: 12px; }
  .header__nav-inner { min-height: 44px; padding: 6px 18px; justify-content: space-between; }
  .nav {
    position: fixed;
    top: 124px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-med);
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link { font-size: 0.94rem; padding: 10px 14px; }
  .nav__cta { margin-left: 0; margin-top: 10px; }
  .menu-toggle { display: inline-flex; flex-shrink: 0; }
}

@media (max-width: 960px) {
  .hero-kpis { grid-template-columns: repeat(2, 1fr); }
  .hero-kpi:nth-child(3) { border-left: none; }
  .hero-kpi:nth-child(3),
  .hero-kpi:nth-child(4) { border-top: 1px solid rgba(216, 180, 84, 0.30); }
  .about-grid,
  .metrics-grid,
  .process-stage-card,
  .product-hero-grid,
  .lab-banner,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-visual__secondary { right: 12px; bottom: -18px; }
  .about-visual__seal { left: 12px; top: 12px; }
  .news-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-stage__media { min-height: 300px; }
  .process-stage__body { padding: 28px 24px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .header__top-inner { min-height: 68px; padding: 8px 14px; gap: 10px; }
  .header__nav-inner { min-height: 44px; padding: 5px 14px; }
  .nav { top: 112px; }
  .section { padding: 68px 0; }
  .topbar__contacts { display: none; }
  .brand { flex: 1 1 auto; min-width: 0; gap: 8px; }
  .brand__logo { width: 42px; height: 30px; }
  .brand__title { font-size: 0.84rem; white-space: normal; line-height: 1.15; }
  .brand__sub { font-size: 0.58rem; white-space: normal; line-height: 1.2; }
  .year-motto { gap: 0; }
  .year-motto__text { display: none; }
  .year-motto__logo { width: 48px; height: 48px; }
  .menu-toggle { width: 38px; height: 38px; }
  .lang-btn { padding: 4px 9px; font-size: 0.74rem; }
  .hero { padding: 56px 0 32px; }
  .hero__badge { font-size: 0.7rem; padding: 7px 14px; letter-spacing: 0.04em; }
  .hero__controls { flex-wrap: wrap; }
  .hero__slide-caption { margin-left: 0; width: 100%; margin-top: 6px; }
  .hero-kpis { grid-template-columns: 1fr 1fr; }
  .hero-kpi { padding: 16px 14px; }
  .hero-kpi__val { font-size: 1.45rem; }
  .about-pillars,
  .metrics-cards,
  .yarn-cards,
  .spec-badges,
  .form-grid,
  .contact-phones-grid,
  .infra-grid,
  .tech-grid,
  .gallery-grid,
  .gallery-grid[data-cols="2"],
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .news-modal__body { padding: 24px 20px 26px; }
  .news-modal__footer { flex-direction: column; align-items: stretch; }
  .news-modal__nav { justify-content: space-between; }
  .form-group--full { grid-column: span 1; }
  .contact-form-card { padding: 26px 20px; }
  .lab-banner__photos { grid-template-columns: 1fr; }
}

/* ==========================================================================
   AUTO-HIDING VERTICAL OVERLAY SCROLLBAR (VISIBLE ONLY WHILE SCROLLING)
   ========================================================================== */
html.is-scrollbar-dragging {
  scroll-behavior: auto;
  user-select: none;
  -webkit-user-select: none;
}

.scroll-rail {
  position: fixed;
  top: 8px;
  bottom: 8px;
  right: 4px;
  width: 14px;
  z-index: 9500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.scroll-rail.is-visible,
.scroll-rail.is-dragging {
  opacity: 1;
  pointer-events: auto;
}

.scroll-rail__thumb {
  position: absolute;
  top: 0;
  right: 1px;
  width: 7px;
  min-height: 44px;
  border-radius: 999px;
  background: rgba(17, 90, 67, 0.72);
  border: 1px solid rgba(239, 224, 180, 0.62);
  box-shadow: 0 2px 10px rgba(5, 31, 23, 0.28);
  cursor: grab;
  will-change: transform, height;
  transition: width 0.16s ease, background-color 0.16s ease;
}

.scroll-rail:hover .scroll-rail__thumb,
.scroll-rail.is-dragging .scroll-rail__thumb {
  width: 9px;
  background: rgba(11, 65, 49, 0.92);
}

.scroll-rail.is-dragging .scroll-rail__thumb {
  cursor: grabbing;
}

@media print {
  .scroll-rail {
    display: none !important;
  }
}
