/* ===========================================================
   FMR TP MAROC — World-Class Industrial & Environmental Engineering
   Bespoke Editorial Aesthetics · Real Photography · Clean Modern Layouts
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  /* ── Core Brand Palette ── */
  --bg-dark:       #061118;
  --bg-dark-card:  #0a1b26;
  --petrol-900:    #061118;
  --petrol-800:    #0b1e2a;
  --petrol-700:    #102a3a;
  
  --accent-blue:   #0284c7;
  --accent-cyan:   #00b4d8;
  --accent-sky:    #38bdf8;
  --accent-emerald:#10b981;

  /* ── Neutrals & Surfaces ── */
  --text-dark:     #0f172a;
  --text-soft:     #334155;
  --text-muted:    #64748b;
  --border-light:  #e2e8f0;
  --border-subtle: rgba(226, 232, 240, 0.8);
  --bg-sand:       #f8fafc;
  --bg-sand-dark:  #f1f5f9;
  --bg-white:      #ffffff;

  /* ── Radii & Shadows ── */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 9999px;

  --sh-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --sh-card:   0 10px 30px rgba(15, 23, 42, 0.06);
  --sh-hover:  0 20px 40px rgba(15, 23, 42, 0.12);

  /* ── Typography & Transition ── */
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', monospace;
  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset & Global ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: all 0.25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}

.wrap {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.section {
  padding-block: clamp(64px, 8vw, 100px);
}

.section-sm {
  padding-block: clamp(40px, 5vw, 64px);
}

/* ── Typography Accents ── */
.text-accent { color: var(--accent-cyan); }

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue);
  margin-bottom: 12px;
  display: inline-block;
}

/* ===========================================================
   HEADER & NAVBAR (Transparent over Hero, Solid Glass on Scroll)
   =========================================================== */
.site-nav-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.site-nav-header.scrolled {
  background: rgba(6, 17, 24, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark-svg {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1;
}

.brand-title span { color: var(--accent-cyan); }

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.2s ease;
  padding-block: 6px;
  position: relative;
}

.nav-link-item:hover, .nav-link-item.active {
  color: #ffffff;
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.nav-actions-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.header-phone-link:hover { color: var(--accent-cyan); }

.lang-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  gap: 6px;
  font-size: 0.775rem;
  font-weight: 700;
}

.lang-pill button {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.lang-pill button.active, .lang-pill button:hover { color: #ffffff; }

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-blue);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-header-cta svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-header-cta:hover {
  background: #0284c7;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.25);
}

.btn-header-cta:hover svg {
  transform: translate(2px, -2px);
}

/* Mobile Toggle & Drawer (Cleanly Hidden on Desktop) */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  justify-content: center;
}

.mobile-toggle-btn span {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

.mobile-drawer-box {
  display: none !important;
}

/* ===========================================================
   HERO SECTION (Editorial & Industrial Luxury)
   =========================================================== */
.hero-industrial {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  color: #ffffff;
  padding-top: 130px;
  padding-bottom: 72px;
  overflow: hidden;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0.45;
  filter: brightness(0.85);
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 17, 24, 0.98) 0%, rgba(6, 17, 24, 0.88) 45%, rgba(6, 17, 24, 0.4) 100%),
              linear-gradient(0deg, rgba(6, 17, 24, 1) 0%, transparent 20%);
  pointer-events: none;
}

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

.hero-category-label {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-sky);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-category-label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 2px;
  background: var(--accent-cyan);
}

.hero-headline {
  font-size: clamp(2.1rem, 3.5vw, 3.1rem);
  font-weight: 900;
  line-height: 1.14;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero-description {
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 56ch;
}

.hero-description strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-btn-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-hero-solid {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--accent-blue);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px 10px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.btn-hero-solid .arrow-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-hero-solid .arrow-primary {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(0, 0);
}

.btn-hero-solid .arrow-clone {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-120%, 120%);
}

.btn-hero-solid:hover {
  background: #0284c7;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
}

.btn-hero-solid:hover .arrow-icon-wrapper {
  background: #ffffff;
  color: #0284c7;
}

.btn-hero-solid:hover .arrow-primary {
  transform: translate(120%, -120%);
}

.btn-hero-solid:hover .arrow-clone {
  transform: translate(0, 0);
}

.btn-hero-glass {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 10px 18px 10px 24px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-hero-glass .arrow-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-hero-glass .arrow-primary {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(0, 0);
}

.btn-hero-glass .arrow-clone {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-120%, 120%);
}

.btn-hero-glass:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
  color: var(--text-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-glass:hover .arrow-icon-wrapper {
  background: var(--text-dark);
  color: #ffffff;
}

.btn-hero-glass:hover .arrow-primary {
  transform: translate(120%, -120%);
}

.btn-hero-glass:hover .arrow-clone {
  transform: translate(0, 0);
}

/* Engineering Trust Pill (Zero AI/Stock Avatars) */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.hero-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.02em;
}

.hero-trust-pill svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.trust-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.trust-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* ===========================================================
   3 FEATURED FOCUS CARDS (Ref 1 & 2)
   =========================================================== */
.featured-solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.feat-img-card {
  position: relative;
  height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-card);
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: #ffffff;
}

.feat-img-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-hover);
}

.feat-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.feat-img-card:hover .feat-card-bg { transform: scale(1.06); }

.feat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 17, 24, 0.25) 0%, rgba(6, 17, 24, 0.92) 80%);
}

.feat-card-top {
  position: relative;
  z-index: 2;
}

.feat-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.feat-card-bottom {
  position: relative;
  z-index: 2;
}

.feat-card-bottom h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 8px;
  line-height: 1.25;
}

.feat-card-bottom p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.feat-round-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.feat-round-btn .arrow-primary {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(0, 0);
}

.feat-round-btn .arrow-clone {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-120%, 120%);
}

.feat-img-card:hover .feat-round-btn {
  background: var(--accent-cyan);
  color: #ffffff;
}

.feat-img-card:hover .feat-round-btn .arrow-primary {
  transform: translate(120%, -120%);
}

.feat-img-card:hover .feat-round-btn .arrow-clone {
  transform: translate(0, 0);
}

/* ===========================================================
   EDITORIAL HOVER & SLIDING ARROW MICRO-INTERACTIONS (UNITED CARRIERS SPEC)
   =========================================================== */
.btn-arrow-slide {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
  padding: 10px 18px 10px 22px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-pill);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-arrow-slide .arrow-icon-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.btn-arrow-slide .arrow-primary {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(0, 0);
}

.btn-arrow-slide .arrow-clone {
  position: absolute;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translate(-120%, 120%);
}

.btn-arrow-slide:hover {
  background: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 17, 24, 0.15);
}

.btn-arrow-slide:hover .arrow-icon-wrapper {
  background: #ffffff;
  color: var(--text-dark);
}

.btn-arrow-slide:hover .arrow-primary {
  transform: translate(120%, -120%);
}

.btn-arrow-slide:hover .arrow-clone {
  transform: translate(0, 0);
}

/* Dark variant of sliding arrow (For Dark Backgrounds) */
.btn-arrow-slide.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-arrow-slide.dark .arrow-icon-wrapper {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.btn-arrow-slide.dark:hover {
  background: #ffffff;
  color: var(--text-dark);
  border-color: #ffffff;
}

.btn-arrow-slide.dark:hover .arrow-icon-wrapper {
  background: var(--text-dark);
  color: #ffffff;
}

/* Solid Black / Dark Pill for White Backgrounds */
.btn-arrow-slide.solid-dark,
.btn-arrow-slide.dark-pill {
  background: #061118;
  border-color: #061118;
  color: #ffffff;
}

.btn-arrow-slide.solid-dark .arrow-icon-wrapper,
.btn-arrow-slide.dark-pill .arrow-icon-wrapper {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-arrow-slide.solid-dark:hover,
.btn-arrow-slide.dark-pill:hover {
  background: #061118;
  border-color: #061118;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6, 17, 24, 0.25);
}

.btn-arrow-slide.solid-dark:hover .arrow-icon-wrapper,
.btn-arrow-slide.dark-pill:hover .arrow-icon-wrapper {
  background: #ffffff;
  color: #061118;
}

/* ===========================================================
   EDITORIAL SERVICES & PRODUCTS ARCHITECTURE (UNITED CARRIERS SPEC)
   =========================================================== */
.wrap-editorial {
  width: 100%;
  max-width: 1680px;
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 40px);
}

.editorial-services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-light);
  background: #ffffff;
  width: 100%;
}

.editorial-service-row {
  display: grid;
  grid-template-columns: 60px minmax(260px, 1.3fr) minmax(310px, 1.3fr) minmax(320px, 1.3fr) auto;
  align-items: center;
  gap: clamp(24px, 2.8vw, 44px);
  padding-block: clamp(32px, 3.5vw, 48px);
  padding-inline: clamp(12px, 1.5vw, 24px);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-decoration: none;
  color: inherit;
}

.editorial-service-row:hover {
  background: var(--bg-sand);
}

.editorial-idx {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.06em;
}

.editorial-col-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.editorial-cat-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.editorial-service-title {
  font-size: clamp(1.25rem, 1.6vw, 1.65rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.24;
  letter-spacing: -0.025em;
  transition: color 0.25s ease;
}

.editorial-service-row:hover .editorial-service-title {
  color: var(--accent-blue);
}

.editorial-service-desc {
  font-size: 0.925rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 52ch;
}

.editorial-spec-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
  background: var(--bg-sand);
  padding: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  min-width: 290px;
}

.editorial-spec-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.spec-cell-k {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  font-weight: 600;
}

.spec-cell-v {
  font-size: 0.875rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.editorial-media-frame {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.editorial-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-service-row:hover .editorial-media-frame img {
  transform: scale(1.08);
}

.editorial-media-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(6, 17, 24, 0.88);
  backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.725rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.editorial-row-action {
  display: flex;
  justify-content: flex-end;
  flex-shrink: 0;
}

/* ===========================================================
   ENGINEERING & TECHNICAL CAPABILITIES (4 CARDS LIKE REF 1)
   =========================================================== */
.capabilities-section {
  background: var(--bg-sand);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.capabilities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.capabilities-header h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

.capabilities-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cap-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--ease);
}

.cap-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-card);
  border-color: var(--accent-blue);
}

.cap-img-box {
  height: 190px;
  position: relative;
  overflow: hidden;
}

.cap-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.cap-card:hover .cap-img-box img { transform: scale(1.06); }

.cap-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.cap-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.cap-body p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
  margin-bottom: 18px;
}

.cap-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.cap-tag-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-blue);
  font-weight: 700;
}

.cap-arrow-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg-sand-dark);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.cap-card:hover .cap-arrow-circle {
  background: var(--accent-blue);
  color: #ffffff;
}

/* ===========================================================
   CLEAN MINIMAL STATS STRIP
   =========================================================== */
.stats-clean-strip {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding-block: 36px;
  margin-top: 50px;
}

.stats-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-item-clean {
  display: flex;
  align-items: center;
  gap: 18px;
}

.stat-clean-icon {
  width: auto;
  height: auto;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
}

.stat-clean-icon svg {
  width: 38px;
  height: 38px;
  stroke: var(--text-dark);
  stroke-width: 2.2;
}

.stat-clean-num {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-clean-lbl {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: block;
}

/* ===========================================================
   EDITORIAL SPLIT SECTION (Ref 2 & 3)
   =========================================================== */
.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: center;
}

.editorial-left h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.editorial-lead {
  font-size: 1.05rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  line-height: 1.65;
}

.check-list-clean {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.check-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--text-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.check-item h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.check-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.editorial-photo-frame {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-card);
}

.editorial-photo-frame img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.process-section {
  padding-block: clamp(96px, 11vw, 144px);
  background: var(--bg-sand);
}

.process-numbered-strip {
  background: transparent;
  padding: 0;
  margin: 0;
}

.process-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.process-big-num {
  font-family: var(--font-mono);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-dark);
}

.process-arrow-sep {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-sand-dark);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.process-item-clean h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.process-item-clean p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===========================================================
   SECTOR ICONS STRIP
   =========================================================== */
.sector-icons-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.sector-clean-pill {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-clean-pill:hover {
  border-color: #061118;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(6, 17, 24, 0.08);
}

.sector-pill-icon {
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sector-clean-pill:hover .sector-pill-icon {
  transform: translateY(-2px);
  color: #061118;
}

.sector-clean-pill h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-dark);
}

.sector-clean-pill p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===========================================================
   BOTTOM CTA BANNER
   =========================================================== */
.bottom-cta-clean {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 4.5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.bottom-cta-left h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 8px;
}

.bottom-cta-left p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 50ch;
}

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-cta-white svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-white:hover {
  background: #f1f5f9;
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.btn-cta-white:hover svg {
  transform: translateX(4px);
}

/* ===========================================================
   3D WEBGL INTERACTIVE ENGINEERING WORKBENCH
   =========================================================== */
.scrollytelling-section {
  background: radial-gradient(ellipse at 50% 10%, #0d273a 0%, #06111c 100%);
  color: #ffffff;
  padding-block: clamp(72px, 9vw, 110px);
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.scrolly-header-block {
  text-align: center;
  max-width: 820px;
  margin: 0 auto clamp(36px, 5vw, 54px);
}

.tech-label-pill {
  display: inline-block;
  background: none;
  border: none;
  padding: 0;
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.scrolly-header-block h2 {
  font-size: clamp(2.1rem, 3.6vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.scrolly-header-block p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* Master Workbench Container (Pure Editorial Architecture) */
.three-master-workbench {
  background: #061118;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: none;
}

/* 1. Top Phase Selector Track (Pure White Timeline) */
.workbench-phase-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workbench-phase-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  position: relative;
}

.workbench-phase-tab:last-child {
  border-right: none;
}

.workbench-phase-tab:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.workbench-phase-tab.active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.workbench-phase-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ffffff;
}

.tab-step-idx {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.25s var(--ease);
}

.workbench-phase-tab.active .tab-step-idx {
  background: #ffffff;
  color: #061118;
  border-color: #ffffff;
}

.tab-step-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: inherit;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 2. Central 3D Viewport Frame */
.workbench-viewport-frame {
  position: relative;
  width: 100%;
  height: 520px;
  background: #061118;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.three-canvas-wrap {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.three-canvas-wrap:active {
  cursor: grabbing;
}

.viewport-hud-top {
  position: absolute;
  top: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 5;
}

.cad-coord-stamp, .cad-orbit-stamp {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(6, 17, 24, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 14px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}

.viewport-hud-bottom {
  position: absolute;
  bottom: 16px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 5;
}

.viewport-chamber-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  background: rgba(6, 17, 24, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 16px;
  border-radius: var(--r-pill);
  letter-spacing: 0.04em;
}

.btn-reset-3d-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-reset-3d-view:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* 3. Docked Telemetry & Narrative Grid (All Pure White Texts) */
.workbench-telemetry-dock {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr;
  gap: 24px;
  padding: 24px 32px;
  background: #061118;
  align-items: center;
}

.telemetry-phase-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.telemetry-narrative-box h3 {
  font-size: 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.telemetry-narrative-box p {
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 12px;
}

.telemetry-badges-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.telemetry-pill {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

/* Purity Box */
.telemetry-purity-box {
  padding-inline: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.purity-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.purity-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.purity-val-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
}

.hud-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: 12px;
}

.hud-progress-bar {
  height: 100%;
  background: #ffffff;
  border-radius: var(--r-pill);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.purity-compliance-mark {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

/* Sensors Grid */
.sensor-grid-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.sensor-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sensor-lbl {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sensor-val {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
}

@media (max-width: 1024px) {
  .workbench-phase-track { grid-template-columns: repeat(2, 1fr); }
  .workbench-phase-tab:nth-child(2) { border-right: none; }
  .workbench-telemetry-dock { grid-template-columns: 1fr; gap: 20px; }
  .telemetry-purity-box { border-left: none; border-right: none; padding-inline: 0; }
  .workbench-viewport-frame { height: 440px; }
}

@media (max-width: 600px) {
  .workbench-phase-track { grid-template-columns: 1fr; }
  .workbench-phase-tab { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .workbench-viewport-frame { height: 350px; }
  .workbench-telemetry-dock { padding: 18px 20px; }
}

.story-card.active {
  border-color: var(--accent-cyan);
  background: rgba(12, 37, 55, 0.95);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 242, 254, 0.12);
}

.story-chapter-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.story-card h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.story-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  margin-bottom: 18px;
}

.story-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.85);
}

.story-card.active .story-tag {
  border-color: rgba(0, 242, 254, 0.3);
  color: #ffffff;
}

/* ===========================================================
   BLOG & TECHNICAL GUIDES HUB STYLES
   =========================================================== */
.blog-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.blog-filter-pills {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-light);
  flex-wrap: wrap;
  z-index: 1;
}

.blog-tab-glider {
  position: absolute;
  top: 0;
  left: 0;
  background: #061118;
  border-radius: var(--r-pill);
  z-index: 1;
  pointer-events: none;
  box-shadow: 0 4px 14px rgba(6, 17, 24, 0.2);
  will-change: transform, width, height;
}

.blog-tab {
  position: relative;
  z-index: 2;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.28s var(--ease);
  user-select: none;
}

.blog-tab:hover {
  color: var(--text-dark);
}

.blog-tab.active {
  color: #ffffff;
  font-weight: 700;
}

.blog-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  min-width: 260px;
}

.blog-search-box input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  width: 100%;
}

/* Featured Lead Story */
.blog-lead-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--bg-sand);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--sh-card);
  transition: all 0.3s var(--ease);
}

.blog-lead-card:hover {
  box-shadow: var(--sh-hover);
  border-color: rgba(2, 132, 199, 0.3);
}

.blog-lead-img-wrap {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.blog-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.blog-lead-card:hover .blog-lead-img {
  transform: scale(1.04);
}

.blog-badge-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.15);
  letter-spacing: 0.02em;
}

.blog-lead-content {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
}

.blog-meta-item svg {
  color: #64748b;
  flex-shrink: 0;
}

.blog-meta-tag-mat {
  background: var(--bg-sand-dark);
  color: var(--text-dark);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.75rem;
  border: 1px solid var(--border-light);
}

.blog-lead-content h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  line-height: 1.3;
  margin-bottom: 14px;
}

.blog-lead-content p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.lead-key-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 2px solid var(--text-dark);
  font-size: 0.85rem;
  color: var(--text-soft);
}

.blog-card-bottom-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.blog-author-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
}

.blog-author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.blog-author-strip strong { display: block; color: var(--text-dark); }
.blog-author-strip span { color: var(--text-muted); font-size: 0.75rem; }

.btn-read-article {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-dark);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid transparent;
  box-shadow: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn-read-article svg {
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-read-article:hover {
  background: #0c2537;
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-read-article:hover svg {
  transform: translateX(4px);
}

/* Articles Grid */
.blog-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sh-card);
  transition: all 0.3s var(--ease);
}

.blog-article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-hover);
  border-color: rgba(15, 23, 42, 0.25);
}

.art-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.art-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-article-card:hover .art-card-img {
  transform: scale(1.06);
}

.art-category-pill {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #0f172a;
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.art-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.art-card-body h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin-bottom: 10px;
}

.art-card-body p {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.art-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.art-highlight-tag {
  font-size: 0.725rem;
  font-family: var(--font-mono);
  color: #475569;
  background: var(--bg-sand-dark);
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.art-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: all 0.2s;
}

.art-round-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-sand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
  color: var(--text-dark);
}

.blog-article-card:hover .art-round-icon {
  background: var(--text-dark);
  color: #ffffff;
  transform: translateX(2px);
}

/* 3D Story Connecting Callout */
.blog-story-callout-banner {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--r-xl);
  padding: 36px 44px;
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.story-callout-left h3 {
  color: #ffffff;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 8px;
}

.story-callout-left p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-width: 54ch;
}

/* ===========================================================
   STICKY WHATSAPP FLOATING WIDGET (Clean Solid Circle)
   =========================================================== */
.sticky-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticky-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.sticky-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

@media (max-width: 600px) {
  .sticky-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }
  .sticky-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }
}

/* Whitepaper Download Card */
.whitepaper-download-card {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--r-xl);
  padding: clamp(36px, 4.5vw, 52px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.whitepaper-content h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin-bottom: 10px;
}

.whitepaper-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  max-width: 58ch;
}

.whitepaper-badge-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whitepaper-badge-box {
  border: 1px dashed rgba(0, 242, 254, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-lg);
  padding: 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-big-num {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
}

/* Article Modal Reader */
.article-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 24, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.article-modal-backdrop.active {
  display: flex;
}

.article-modal-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  border-radius: var(--r-xl);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-light);
}

.modal-close-btn {
  position: sticky;
  top: 18px;
  left: calc(100% - 54px);
  margin-top: 18px;
  margin-right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-sand-dark);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: var(--text-dark);
  color: #ffffff;
}

.article-modal-body {
  padding: 36px 44px 48px;
}

.article-modal-header h1 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.25;
  color: var(--text-dark);
}

.article-modal-featured-img {
  width: 100%;
  height: 340px;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.article-modal-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-modal-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.article-modal-text h3 {
  font-size: 1.35rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.article-modal-text p { margin-bottom: 16px; }

.article-modal-text ul {
  padding-left: 20px;
  margin-bottom: 20px;
  list-style: disc;
}

.article-modal-text li { margin-bottom: 8px; }

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin-top: 12px;
}

.article-table th, .article-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}

.article-table th {
  background: var(--bg-sand);
  font-weight: 700;
  color: var(--text-dark);
}

.article-callout-box {
  background: var(--bg-sand);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 18px 24px;
  margin-block: 24px;
}

.article-callout-box h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.article-modal-cta-box {
  background: var(--bg-dark);
  color: #ffffff;
  border-radius: var(--r-lg);
  padding: 28px;
  margin-top: 36px;
  text-align: center;
}

.article-modal-cta-box h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.article-modal-cta-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* ===========================================================
   SITE FOOTER (Luxury Engineering Editorial Footer)
   =========================================================== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid-4 {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-bottom-row {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================================================
   RESPONSIVE DESIGN SYSTEM (Multi-Device Perfection)
   =========================================================== */

/* ── Large Tablet & Small Laptop (<= 1024px) ── */
@media (max-width: 1024px) {
  .featured-solutions-grid { grid-template-columns: 1fr; margin-top: 32px; }
  .capabilities-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .editorial-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .process-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sector-icons-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .scrolly-container { grid-template-columns: 1fr; gap: 32px; }
  .scrolly-sticky-stage { position: relative; top: 0; width: 100%; height: auto; min-height: 400px; margin-bottom: 32px; }
  .blog-lead-card { grid-template-columns: 1fr; }
  .blog-articles-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .whitepaper-download-card { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .editorial-service-row { grid-template-columns: 50px 1.2fr 1.4fr 1.2fr 160px; gap: 20px; padding: 32px 16px; }
}

/* ── Tablet & Mobile Landscape (<= 768px) ── */
@media (max-width: 768px) {
  .nav-links-desktop, .header-phone-link { display: none; }
  .mobile-toggle-btn { display: flex; }
  
  .mobile-drawer-box.open {
    display: block !important;
    position: fixed;
    top: 68px;
    left: 0;
    width: 100%;
    background: rgba(6, 17, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    padding: 24px;
    z-index: 999;
  }
  
  .mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .mobile-link {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    padding-block: 6px;
  }
  
  .mobile-phone-link {
    color: var(--accent-cyan);
    font-weight: 700;
    font-size: 1rem;
    padding-block: 6px;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-headline {
    font-size: clamp(2rem, 6.5vw, 2.8rem);
    line-height: 1.15;
  }

  .hero-lead-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-cta-group {
    flex-wrap: wrap;
    gap: 12px;
  }

  .capabilities-grid-4 { grid-template-columns: 1fr; }
  .stats-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .process-grid-4 { grid-template-columns: 1fr; gap: 20px; }
  .sector-icons-strip { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .bottom-cta-clean { flex-direction: column; align-items: flex-start; gap: 24px; padding: 36px 24px; }
  
  /* 3D Section */
  .scrolly-sticky-stage { height: auto; min-height: 320px; }
  #step-3d-canvas { height: 280px !important; }
  .hud-telemetry-metrics { grid-template-columns: repeat(2, 1fr); }
  .scrolly-step-card { padding: 24px 20px; margin-bottom: 24px; }

  /* Products page */
  .filter-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-inline: 12px;
    justify-content: flex-start;
    scrollbar-width: none;
  }
  .filter-tabs-wrapper::-webkit-scrollbar { display: none; }
  .filter-tabs-track {
    flex-wrap: nowrap;
    padding: 4px;
    gap: 4px;
  }
  .filter-btn-clean {
    padding: 8px 16px;
    font-size: 0.8125rem;
  }

  .editorial-service-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 28px 16px;
  }
  .editorial-idx { font-size: 0.9rem; }
  .editorial-service-title { font-size: 1.35rem; }
  .editorial-spec-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
  }
  .editorial-media-frame {
    width: 100%;
    height: 220px;
  }
  .editorial-row-action {
    justify-content: flex-start;
    margin-top: 4px;
  }

  /* Blog */
  .blog-articles-grid { grid-template-columns: 1fr; }
  .article-modal-body { padding: 24px 18px; }
  .article-modal-featured-img { height: 200px; }
  
  /* Footer */
  .footer-grid-4 { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ── Small Mobile (<= 480px) ── */
@media (max-width: 480px) {
  .wrap, .wrap-editorial {
    padding-inline: 16px;
  }

  .nav-actions-right .btn-header-cta {
    display: none;
  }

  .brand-title {
    font-size: 1.2rem;
  }
  .brand-mark-svg {
    width: 32px;
    height: 32px;
  }

  .hero-cta-group .btn-hero-solid,
  .hero-cta-group .btn-hero-glass {
    width: 100%;
    justify-content: space-between;
  }

  .stats-grid-4 {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .stat-item-clean {
    gap: 14px;
  }

  .stat-clean-num {
    font-size: 1.45rem;
  }

  .editorial-spec-matrix {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .editorial-spec-cell {
    padding: 8px 10px;
  }

  .sector-icons-strip {
    grid-template-columns: 1fr;
  }

  .hud-telemetry-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-arrow-slide {
    width: 100%;
    justify-content: space-between;
  }
}

/* ===========================================================
   FAQ ACCORDION
   =========================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-block: 24px;
}

.faq-item {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.3s var(--ease);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--accent-blue);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border-light);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-content {
  padding: 16px 20px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
  animation: fadein 0.3s ease-in-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
