/* ========================================
   NECT.EU — Static site CSS
   Brandbook colors:
   #4F1A71 purple | #3B1155 dark purple
   #CE8822 orange | #B5751B orange hover
   #333333 text  | #F5F0F8 light bg
   ======================================== */

:root {
  --nect-purple: #4F1A71;
  --nect-purple-dark: #3B1155;
  --nect-purple-footer: #2D0E42;
  --nect-orange: #CE8822;
  --nect-orange-hover: #B5751B;
  --nect-text: #333333;
  --nect-text-light: #666666;
  --nect-white: #FFFFFF;
  --nect-light-bg: #F5F0F8;
  --nect-border: #eee;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--nect-text);
  background: var(--nect-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--nect-purple);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--nect-orange);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--nect-purple);
  line-height: 1.2;
  margin: 0 0 12px;
}

/* ================= TOP BAR ================= */
.top-bar {
  background: var(--nect-purple-footer);
  border-bottom: none;
  padding: 6px 0;
  font-size: 14px;
}

.top-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.top-bar a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar a:hover {
  color: var(--nect-orange);
}

.lang-switch {
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  padding: 1px 7px;
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.lang-switch:hover {
  border-color: var(--nect-orange);
}

/* ================= HEADER ================= */
.site-header {
  background: var(--nect-white);
  border-bottom: 1px solid var(--nect-border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img {
  height: 55px;
  width: auto;
  display: block;
}

/* ================= HERO NETWORK (canvas, see network.js) ================= */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ================= NAVIGATION ================= */
.main-nav {
  display: flex;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 5px;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  display: block;
  padding: 14px 16px;
  color: var(--nect-text);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--nect-purple);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover {
  color: var(--nect-purple);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav .has-submenu > a span.arrow {
  display: inline-block;
  margin-left: 6px;
  font-size: 9px;
  opacity: 0.6;
  transform: translateY(-1px);
}

.main-nav .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--nect-white);
  border: 1px solid var(--nect-border);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(79, 26, 113, 0.12);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  flex-direction: column;
  gap: 0;
}

.main-nav .has-submenu:hover .submenu {
  display: flex;
}

.main-nav .submenu a {
  padding: 10px 20px;
  font-size: 13px;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.main-nav .submenu a::after {
  display: none;
}

.main-nav .submenu a:hover {
  background: var(--nect-light-bg);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--nect-purple);
  cursor: pointer;
  padding: 8px;
}

/* ================= HERO (HOMEPAGE) ================= */
.hero {
  background: linear-gradient(135deg, var(--nect-purple) 0%, var(--nect-purple-footer) 100%);
  padding: 50px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* Allow selection of key interactive elements */
.hero h1,
.hero-subtitle,
.hero .btn {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

.hero-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.07;
}

.hero-deco-right {
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 450px;
}

.hero-deco-left {
  left: -8%;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  width: 300px;
  height: 300px;
  opacity: 0.04;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero h1 {
  color: var(--nect-white);
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 16px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(16px, 3vw, 20px);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--nect-orange);
  color: var(--nect-white);
  padding: 12px 30px;
  border-color: var(--nect-orange);
}

.btn-primary:hover {
  background: var(--nect-orange-hover);
  color: var(--nect-white);
  border-color: var(--nect-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--nect-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 30px;
}

.btn-outline:hover {
  border-color: var(--nect-white);
  color: var(--nect-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ================= MINI HERO (inner pages) ================= */
.mini-hero {
  background: linear-gradient(135deg, var(--nect-purple) 0%, var(--nect-purple-footer) 100%);
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mini-hero-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.mini-hero h1 {
  color: var(--nect-white);
  font-size: clamp(26px, 5vw, 36px);
  margin-bottom: 10px;
}

.mini-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(15px, 2.5vw, 18px);
  margin: 0;
}

.mini-hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  z-index: 3;
  padding: 8px;
}

.mini-hero-nav:hover {
  color: var(--nect-orange);
}

.mini-hero-nav.prev { left: 20px; }
.mini-hero-nav.next { right: 20px; flex-direction: row-reverse; }

.mini-hero-nav .nav-circle {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.mini-hero-nav:hover .nav-circle {
  border-color: var(--nect-orange);
  background: rgba(206, 136, 34, 0.15);
  transform: scale(1.1);
}

.mini-hero-nav .nav-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.mini-hero-nav.next .nav-label {
  transform: rotate(0deg);
}

.mini-hero-nav:hover .nav-label {
  opacity: 1;
}

.mini-hero-nav .arrow { display: none; } /* old arrow class no longer used */

/* ================= SECTIONS ================= */
section {
  padding: 45px 30px;
}

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

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-inner-narrow {
  max-width: 850px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: clamp(22px, 4vw, 28px);
  color: var(--nect-purple);
  margin-bottom: 30px;
}

.section-intro {
  font-size: 16px;
  line-height: 1.65;
  color: var(--nect-text);
  margin-bottom: 20px;
}

.section-intro:last-child {
  margin-bottom: 0;
}

/* Compact intro section right below hero */
.section-compact {
  padding: 25px 30px;
}

/* ================= SERVICE CARDS ================= */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--nect-white);
  padding: 25px 22px;
  border-radius: 6px;
  border-left: 4px solid var(--nect-purple);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.card.accent {
  border-left-color: var(--nect-orange);
}

.card.border-top {
  border-left: none;
  border-top: 4px solid var(--nect-purple);
}

.card.border-top.accent {
  border-top-color: var(--nect-orange);
}

a.card:hover,
.card[onclick]:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(79, 26, 113, 0.15);
}

.card h3 {
  color: var(--nect-purple);
  font-size: 18px;
  margin-bottom: 10px;
}

.card p {
  color: var(--nect-text);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}

.card.on-light-bg {
  background: var(--nect-light-bg);
}

/* ================= STEPS ================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.step {
  text-align: center;
  padding: 15px;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--nect-purple);
  color: var(--nect-white);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.step:last-child .step-number {
  background: var(--nect-orange);
}

.step h3 {
  color: var(--nect-purple-dark);
  font-size: 16px;
  margin-bottom: 6px;
}

.step p {
  color: var(--nect-text-light);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ================= CTA SECTION ================= */
.cta-section {
  background: linear-gradient(135deg, var(--nect-purple) 0%, var(--nect-purple-footer) 100%);
  padding: 45px 30px;
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 3vw, 20px);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--nect-purple-footer);
  color: var(--nect-white);
  padding: 35px 30px 25px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 25px;
}

.footer-col h4 {
  color: var(--nect-orange);
  font-size: 15px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p,
.footer-col a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 4px;
  text-decoration: none;
  display: block;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nect-white);
    border-bottom: 1px solid var(--nect-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav li {
    border-bottom: 1px solid var(--nect-border);
  }

  .main-nav a {
    padding: 14px 30px;
  }

  .main-nav .submenu {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--nect-light-bg);
    padding: 0;
  }

  .main-nav .submenu a {
    padding-left: 50px;
    font-size: 13px;
  }

  .cards-grid-3,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mini-hero-nav {
    padding: 4px;
  }

  .mini-hero-nav .nav-label {
    display: none;
  }

  .mini-hero-nav .nav-circle {
    width: 36px;
    height: 36px;
    font-size: 18px;
    background: rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .mini-hero-nav.prev { left: 8px; }
  .mini-hero-nav.next { right: 8px; }

  .photo-reel-grid {
    grid-template-columns: 1fr;
  }

  .photo-reel-item {
    aspect-ratio: 16/10;
  }

  .photo-reel-badge {
    padding: 20px 24px;
    max-width: 260px;
  }

  .badge-title {
    font-size: 17px;
  }

  .partners-logos {
    gap: 30px;
  }

  .partners-logos img {
    height: 24px !important;
  }

  section {
    padding: 35px 20px;
  }

  .hero,
  .cta-section {
    padding: 40px 20px;
  }
}

/* ================= PHOTO REEL ================= */
.photo-reel {
  padding: 0;
}

.photo-reel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.photo-reel-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.photo-reel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.65);
  transition: filter 0.4s ease;
}

.photo-reel-item:hover img {
  filter: brightness(0.5);
}

.photo-reel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.photo-reel-badge {
  background: rgba(79, 26, 113, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 28px 32px;
  text-align: center;
  max-width: 320px;
  transition: transform 0.3s ease;
}

.photo-reel-item:hover .photo-reel-badge {
  transform: scale(1.03);
}

.badge-icon {
  display: block;
  font-size: 32px;
  margin-bottom: 8px;
}

.badge-title {
  display: block;
  color: var(--nect-white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

.badge-text {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

/* ================= PARTNERS STRIP ================= */
.partners-strip {
  padding: 30px 30px;
  background: var(--nect-white);
  border-top: 1px solid var(--nect-border);
  border-bottom: 1px solid var(--nect-border);
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partners-logos img {
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.partners-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: var(--nect-white);
  border: 1px solid var(--nect-border);
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 20px 24px;
  z-index: 1000;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner h4 {
  color: var(--nect-purple);
  font-size: 16px;
  margin: 0 0 8px;
}

.cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--nect-text);
  margin: 0 0 12px;
}

.cookie-banner .cookie-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner button {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-banner .btn-accept {
  background: var(--nect-purple);
  color: var(--nect-white);
}

.cookie-banner .btn-accept:hover {
  background: var(--nect-purple-dark);
}

.cookie-banner .btn-reject {
  background: transparent;
  color: var(--nect-text-light);
  border: 1px solid var(--nect-border);
}

.cookie-banner .btn-reject:hover {
  background: var(--nect-light-bg);
}
/* ================================================
   NECT.EU — Design refinement additions
   Append to assets/css/style.css (after existing rules).
   Uses existing tokens: --nect-purple, --nect-orange, etc.
   ================================================ */

/* --- Shared additions --- */
:root {
  --nect-tint-2: #EDE4F2;
  --nect-line: #D9CCE3;
  --nect-purple-900: #1B0829;
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--nect-orange);
  font-weight: 600;
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--nect-orange);
}
.eyebrow.centered { justify-content: center; }

/* --- 1. Intro + coverage diagram --- */
.intro-block {
  padding: 56px 30px;
}
.intro-block .intro-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-block h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.intro-block .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--nect-text);
  max-width: 560px;
}
.intro-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.intro-stats .stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--nect-purple);
  letter-spacing: -0.02em;
  line-height: 1;
}
.intro-stats .stat-value.accent { color: var(--nect-orange); }
.intro-stats .stat-label {
  font-size: 12px;
  color: var(--nect-text-light);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.coverage-diagram { width: 100%; height: auto; }

@media (max-width: 900px) {
  .intro-block .intro-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* --- 2. Service cards (replace emoji card block) --- */
.cards-grid .card.icon-card {
  padding: 22px 22px 36px;
  min-height: auto;
  position: relative;
}
.cards-grid .card.icon-card .card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cards-grid .card.icon-card .card-icon {
  margin: 0;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cards-grid .card.icon-card .card-icon svg {
  width: 28px !important;
  height: 28px !important;
}
.cards-grid .card.icon-card h3 {
  font-size: 16px;
  margin: 0;
  line-height: 1.25;
}
.cards-grid .card.icon-card p {
  font-size: 14px;
  color: #444;
  line-height: 1.55;
  margin: 0;
}
.cards-grid .card.icon-card .card-arrow {
  position: absolute;
  bottom: 14px;
  right: 18px;
  color: var(--nect-purple);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease;
}
.cards-grid .card.icon-card.accent .card-arrow { color: var(--nect-orange); }
a.card.icon-card:hover .card-arrow { transform: translateX(4px); }

/* --- 3. Infrastructure stack (dark section) --- */
.stack-section {
  background: linear-gradient(180deg, var(--nect-purple-footer) 0%, var(--nect-purple-900) 100%);
  color: #fff;
  padding: 64px 30px;
}
.stack-section .stack-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}
.stack-section h2 {
  color: #fff;
  font-size: 30px;
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}
.stack-section .stack-lead {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  line-height: 1.6;
}
.stack-section .eyebrow { color: var(--nect-orange); }
.stack-section .live-indicator {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.stack-diagram { width: 100%; height: auto; }

@media (max-width: 900px) {
  .stack-section .stack-grid { grid-template-columns: 1fr; gap: 30px; }
  .photo-reel-grid { grid-template-columns: 1fr; }
  .photo-reel-item { aspect-ratio: 16/10; }
}

/* --- 4. Connected workflow (replaces detached numbered circles) --- */
.workflow-section {
  padding: 64px 30px;
}
.workflow-section .workflow-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.workflow-section h2 {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 44px;
}
.workflow {
  position: relative;
}
.workflow::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 14%;
  right: 14%;
  border-top: 1.2px dashed rgba(79, 26, 113, 0.4);
  z-index: 0;
}
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.wstep { text-align: center; }
.wstep-node {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--nect-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  box-shadow: 0 0 0 6px rgba(79, 26, 113, 0.06);
}
.wstep:last-child .wstep-node {
  border-color: var(--nect-orange);
  box-shadow: 0 0 0 6px rgba(206, 136, 34, 0.08);
}
.wstep-code {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--nect-purple);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.05em;
}
.wstep:last-child .wstep-code { background: var(--nect-orange); }
.wstep h3 { font-size: 18px; margin-bottom: 8px; color: var(--nect-purple); }
.wstep p {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .workflow::before { display: none; }
  .workflow-steps { grid-template-columns: 1fr; gap: 24px; }

  /* Top bar: keep on one line on mobile */
  .top-bar { font-size: 12px; padding: 5px 0; }
  .top-bar-inner { gap: 12px; padding: 0 12px; }
  .top-bar a { gap: 4px; }
  .top-bar a svg { width: 12px; height: 12px; }
  .lang-switch { padding: 0 5px; font-size: 11px; }

  /* Photo reel: hide background image on mobile, keep only the badge cards */
  .photo-reel-item img { display: none; }
  .photo-reel-item {
    background: linear-gradient(135deg, var(--nect-purple) 0%, var(--nect-purple-footer) 100%);
    aspect-ratio: auto;
    min-height: 220px;
  }
  .photo-reel-overlay { position: relative; padding: 36px 24px; }
  .photo-reel-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    width: 100%;
    max-width: 100%;
  }
}

/* --- 5. Partners strip (with heading) --- */
.partners-strip-v2 {
  padding: 48px 30px;
  background: #fff;
  border-top: 1px solid var(--nect-border);
  border-bottom: 1px solid var(--nect-border);
}
.partners-strip-v2 .partners-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.partners-strip-v2 h3 {
  font-size: 18px;
  color: var(--nect-purple);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 6px;
}
.partners-strip-v2 .partners-sub {
  font-size: 13px;
  color: var(--nect-text-light);
  line-height: 1.5;
  margin: 0;
}
.partners-strip-v2 .partners-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-left: 1px solid var(--nect-border);
  padding-left: 28px;
  flex-wrap: wrap;
}
.partners-strip-v2 .partners-logos img {
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all 0.3s ease;
}
.partners-strip-v2 .partners-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 900px) {
  .partners-strip-v2 .partners-grid { grid-template-columns: 1fr; gap: 24px; }
  .partners-strip-v2 .partners-logos {
    border-left: none; padding-left: 0;
    justify-content: center; gap: 28px;
  }
}

/* --- 6. Responsibility split (service pages) --- */
.responsibility-section .resp-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.resp-col {
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e7dff0;
  padding: 28px;
}
.resp-col.accent { border-color: rgba(206, 136, 34, 0.3); }
.resp-col .resp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.resp-col .resp-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: rgba(79, 26, 113, 0.08);
  border: 1px solid var(--nect-purple);
  display: flex;
  align-items: center;
  justify-content: center;
}
.resp-col.accent .resp-icon {
  background: rgba(206, 136, 34, 0.12);
  border-color: var(--nect-orange);
}
.resp-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--nect-purple);
  margin: 0;
}
.resp-col.accent h3 { color: var(--nect-orange); }
.resp-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.resp-col li {
  font-size: 14px;
  color: #444;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.resp-col li::before {
  content: '';
  width: 6px;
  height: 1px;
  background: var(--nect-purple);
  margin-top: 10px;
  flex-shrink: 0;
}
.resp-col.accent li::before { background: var(--nect-orange); }

@media (max-width: 700px) {
  .responsibility-section .resp-grid { grid-template-columns: 1fr; }
}

/* --- Icon SVG sizing helper (icons inline as SVG) --- */
.nect-icon { display: block; }

/* ==== DUK (GEO) ==== */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item { padding: 22px 0; border-bottom: 1px solid #e6e0ea; }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  font-size: 1.08rem; font-weight: 600; color: #3B1155;
  margin: 0 0 8px; line-height: 1.4;
}
.faq-a { margin: 0; color: #444; line-height: 1.7; }
@media (max-width: 600px) {
  .faq-item { padding: 18px 0; }
  .faq-q { font-size: 1rem; }
}
/* ==== /DUK ==== */
