/* ===== D v2 — Dataprise Orbital, redesigned ===== */
/* Distinct IA from E: split hero with map / accordion services / numbered profil / form contact / 2-col footer */

/* V2 — full hero-treatment cascade: the entire page now wears the same palette
   the new hero uses. Dark navy surfaces, white/lime typography, lime CTAs,
   lime sliding gradients on every italic phrase, real brand logo. No cobalt
   or purple anywhere. */
:root {
  --bg-deep: #08111F;
  --bg-hero: #0E1A2C;
  --bg-canvas: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-deep-soft: #142036;
  --ink: #1B1918;
  --ink-soft: #3A3937;
  --ink-mute: #6B6A68;
  --ink-light: #B8B5B0;
  --line: rgba(27,25,24,0.10);
  --line-soft: rgba(27,25,24,0.06);
  --line-dark: rgba(255,255,255,0.14);
  --line-dark-strong: rgba(255,255,255,0.22);
  /* Brand palette (matching the new hero) */
  --brand: #A6CE41;
  --brand-deep: #8FB535;
  --brand-glow: rgba(166,206,65,0.55);
  /* Legacy aliases all collapse to lime so any existing reference renders brand */
  --primary: #A6CE41;
  --primary-light: #C4DD6F;
  --cyan: #A6CE41;
  --magenta: #A6CE41;
  --lime: #A6CE41;
  --lime-deep: #8FB535;
  /* Master gradient — lime sliding (matches hero italic) */
  --gradient: linear-gradient(110deg, #6B8826 0%, #A6CE41 25%, #C4DD6F 50%, #A6CE41 75%, #6B8826 100%);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-canvas);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ===== TOPBAR (minimal, only phone) ===== */
.topbar {
  background: var(--bg-deep);
  color: rgba(255,255,255,0.78);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.topbar-inner {
  max-width: 1320px; margin: 0 auto; padding: 9px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.phone-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 200ms;
}
.phone-link:hover { color: var(--cyan); }
.phone-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.topbar-meta { color: rgba(255,255,255,0.55); }

/* ===== LANGUAGE SWITCHER =====
   Replaces the old static "RO · EN" label in the topbar. Scoped to .lang-link
   rather than a bare descendant `a` on purpose: a descendant colour rule here
   would outrank .btn-primary and repaint the lime CTA pill, which is the trap
   .mobile-menu-inner a:not(.btn) already documents. */
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px; letter-spacing: 0.06em;
}
.lang-switch .lang-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 180ms ease;
}
.lang-switch .lang-link:hover,
.lang-switch .lang-link:focus-visible { color: var(--cyan); }
.lang-switch .lang-link.is-current {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--cyan);
}
/* Hairline separator between codes, decorative only. */
.lang-switch .lang-link + .lang-link::before {
  content: '·';
  margin-right: 8px;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  display: inline-block;
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo .logo-img {
  display: block;
  height: 32px;
  width: auto;
  transition: opacity 220ms;
}
.footer .logo .logo-img { height: 38px; }
.logo:hover .logo-img { opacity: 0.85; }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 200ms;
}
.nav-links a:hover { color: var(--cyan); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: 'Clash Grotesk', sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms, background 220ms;
  letter-spacing: -0.005em;
}
/* Primary CTA — lime fill with dark text, matching the actual brand on netitworks.ro */
.btn-primary {
  background: var(--brand);
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(166,206,65,0.35), 0 8px 24px rgba(166,206,65,0.30);
  transition: background 220ms, transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms;
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 2px 8px rgba(143,181,53,0.45), 0 16px 36px rgba(166,206,65,0.30);
}
.btn-primary .arrow { transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost-light {
  background: rgba(255,255,255,0.06);
  color: white;
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(196,221,111,0.5);
}
.btn-xl { padding: 18px 32px; font-size: 16px; }

/* ===== KICKER ===== */
.kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: 22px;
}
.profil .kicker, .vendors .kicker, .services .kicker, .contact .kicker { color: var(--primary); }

/* ===== GRADIENT TEXT — lime sliding (matches new hero) ===== */
.grad {
  background: linear-gradient(110deg, #6B8826 0%, #A6CE41 25%, #FFFFFF 50%, #A6CE41 75%, #6B8826 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  animation: gradShift 9s linear infinite;
  /* italic glyphs overhang their inline box; background-clip:text clips paint
     to the box. padding-right covers the LAST fragment; box-decoration-break
     clone applies it to EVERY wrapped fragment (fixes „vendori|" clipping at
     a mid-em line break — user report 2026-08-01). */
  padding-right: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@keyframes gradShift { to { background-position: 200% center; } }

/* ===================================================== */
/* HERO — split: 1.05fr (left copy) / 1fr (right map)    */
/* ===================================================== */
.hero {
  position: relative;
  background: var(--bg-hero);
  color: white;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.halo { position: absolute; border-radius: 50%; filter: blur(80px); }
.halo-1 {
  top: -10%; right: 20%;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(107,136,38,0.5) 0%, transparent 60%);
}
.halo-2 {
  bottom: -30%; left: -10%;
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(166,206,65,0.32) 0%, transparent 65%);
}

.hero-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 80px 32px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-left h1 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  /* Down from the design's clamp(48px, 6.4vw, 92px). The client's headline
     (2026-08-06) is 54 characters against the original 39; at 92px it wrapped to
     five lines in this 615px column and orphaned "IT." on its own. Measured with
     probes/h1-sweep.js / probes/hero-lines.js. */
  font-size: clamp(40px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: white;
  margin-bottom: 28px;
}
/* English runs longer than the Romanian this hero was sized for: at 92px the
   line "IT infrastructure" overflowed the 615px column and wrapped, leaving
   "IT" orphaned on a line of its own. 88px puts it at ~594px and holds 3 lines
   from 390px to 1920px (harness/probes/hero-lines.js).

   Scoped with :lang() rather than lowering the shared cap, because the Romanian
   hero is already client-approved at 92px and lowering it does NOT fix the
   equivalent Romanian wrap anyway — "infrastructură IT." still breaks to a
   4th line at every size down to 76px. That one is pre-existing and is a copy
   or design decision, not a font-size bug. */
.hero-left h1:lang(en) {
  font-size: clamp(40px, 4.2vw, 62px);
}

.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin-bottom: 34px;
  line-height: 1.55;
}
.hero-ctas { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  justify-content: start;
}
.hero-stat {
  display: flex; flex-direction: column; gap: 4px;
}
.hero-stat strong {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: clamp(32px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1;
  color: white;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.plus { color: var(--cyan); font-weight: 400; }
.hero-stat span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Right: layered glass card stack */
.hero-right {
  position: relative;
  width: 100%;
  aspect-ratio: 1.05/1;
  max-width: 640px;
  margin-left: auto;
}
#stack-canvas {
  width: 100%; height: 100%;
  display: block;
  position: relative;
  z-index: 1;
}
.stack-legend {
  position: absolute;
  bottom: 16px; right: 12px;
  display: flex; flex-direction: column; gap: 6px;
  z-index: 2;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}
.leg-row { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.leg-num {
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  padding: 2px 6px;
  border: 1px solid rgba(196,221,111,0.3);
  border-radius: 3px;
}
.leg-row {
  transition: color 220ms, transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.leg-row:hover { color: white; transform: translateX(-3px); }
.leg-row:hover .leg-num { border-color: var(--cyan); color: var(--cyan); }
.leg-active { color: white; }
.leg-active .leg-num { background: rgba(196,221,111,0.18); border-color: var(--cyan); color: var(--cyan); }
.stack-hint {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(196,221,111,0.6);
  background: rgba(5,11,31,0.55);
  padding: 6px 10px;
  border: 1px solid rgba(196,221,111,0.18);
  border-radius: 4px;
  pointer-events: none;
  animation: hintFade 6s ease-in-out infinite;
}
@keyframes hintFade {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ===================================================== */
/* VENDOR STRIP — card grid on white                     */
/* ===================================================== */
.vendors {
  background: var(--bg-canvas);
  padding: 100px 32px 80px;
  border-bottom: 1px solid var(--line);
}
.vendors-head {
  max-width: 1320px;
  margin: 0 auto 48px;
}
.vendors-head h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 720px;
}
.vendor-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.v-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: var(--bg-canvas);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 220ms, box-shadow 220ms;
}
.v-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(107,136,38,0.10);
}
.v-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 18px;
}
.v-card h3 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.v-card p {
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.4;
}

/* ===================================================== */
/* SERVICES — VERTICAL ACCORDION                          */
/* ===================================================== */
.services {
  background: var(--bg-canvas);
  padding: 100px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.services-intro { max-width: 920px; margin: 0 auto 64px; }
.services-intro h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.accordion {
  max-width: 1080px;
  margin: 0 auto;
  border-top: 1px solid var(--ink);
}
.acc-row {
  border-bottom: 1px solid var(--line);
  transition: background 220ms;
}
.acc-row:hover { background: var(--bg-soft); }
.acc-row[open] { background: var(--bg-soft); }

.acc-row summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 80px minmax(220px, 1fr) 2fr 40px;
  gap: 24px;
  align-items: center;
  position: relative;
}
.acc-row summary::-webkit-details-marker { display: none; }
.acc-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.14em;
}
.acc-title {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.acc-deck {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.acc-toggle {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  transition: background 200ms, border-color 200ms;
  justify-self: end;
}
.acc-toggle::before, .acc-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 220ms;
}
.acc-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc-row[open] .acc-toggle { background: var(--ink); border-color: var(--ink); }
.acc-row[open] .acc-toggle::before, .acc-row[open] .acc-toggle::after { background: white; }
.acc-row[open] .acc-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }

.acc-body {
  padding: 0 32px 36px 104px;
  max-width: 760px;
}
.acc-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.acc-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-top: 8px;
}

/* ===================================================== */
/* PROFIL — NUMBERED EDITORIAL LIST                       */
/* ===================================================== */
.profil {
  background: var(--bg-soft);
  padding: 120px 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.profil-head {
  max-width: 1080px; margin: 0 auto 64px;
}
.profil-head h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 14px;
}
.profil-head p {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
}

.principles {
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.principles li {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-canvas);
  transition: background 220ms;
}
.principles li:hover { background: var(--bg-soft); }
.p-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 16px;
}
.principles h3 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.principles p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ===================================================== */
/* TESTIMONIAL                                            */
/* ===================================================== */
.testimonial {
  background: var(--bg-canvas);
  padding: 120px 32px;
}
.testimonial-inner { max-width: 880px; margin: 0 auto; }
.testimonial blockquote {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 24px 0 28px;
}
.testimonial footer { font-size: 14px; color: var(--ink-mute); }
.t-name { color: var(--ink); font-weight: 600; }

/* ===================================================== */
/* CONTACT — wide form                                    */
/* ===================================================== */
.contact {
  background: var(--bg-deep);
  color: white;
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(107,136,38,0.4) 0%, transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}
.contact .kicker { color: var(--cyan); }
.contact-inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  position: relative;
  z-index: 2;
  align-items: start;
}
.contact-copy h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 18px;
}
.contact-copy > p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 460px;
  line-height: 1.55;
}
.phone-big {
  display: block;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -0.025em;
  color: white;
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 200ms;
}
.phone-big:hover {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.phone-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
}

/* form */
.contact-form {
  display: flex; flex-direction: column;
  gap: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
}
.form-row { display: contents; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
}
.lbl {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
}
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: white;
  transition: border-color 200ms, background 200ms;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(196,221,111,0.04);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
  width: 100%; justify-content: center;
  margin-top: 10px;
  font-family: 'Clash Grotesk', sans-serif;
}
.form-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-align: center;
  letter-spacing: 0.06em;
}

/* ===================================================== */
/* MINIMAL 2-COL FOOTER + NEWSLETTER                      */
/* ===================================================== */
.footer {
  background: var(--bg-deep);
  color: rgba(255,255,255,0.7);
  padding: 60px 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  max-width: 1320px;
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { display: inline-block; margin-bottom: 14px; color: white; }
.footer-tag {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.newsletter { max-width: 380px; }
.news-label {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.news-row {
  display: flex; gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 200ms;
}
.news-row:focus-within { border-color: var(--cyan); }
.news-row input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 18px;
  color: white;
  font-family: inherit;
  font-size: 14px;
}
.news-row input::placeholder { color: rgba(255,255,255,0.35); }
.news-row button {
  border: none;
  background: var(--gradient);
  color: white;
  width: 44px;
  cursor: pointer;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 200ms;
}
.news-row button:hover { transform: scale(1.05); }

.footer-links {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  align-items: flex-start;
  font-size: 14px;
}
.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 200ms;
}
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* ===================================================== */
/* RESPONSIVE                                             */
/* ===================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { max-width: 560px; margin: 0 auto; aspect-ratio: 4/3; }
  .vendor-grid { grid-template-columns: repeat(3, 1fr); }
  .acc-row summary { grid-template-columns: 60px 1fr 36px; }
  .acc-deck { display: none; }
  .acc-body { padding: 0 0 28px 80px; }
  .principles { grid-template-columns: 1fr; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .vendor-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===================================================== */
/* THROUGHLINE — hero motif recurrence across sections    */
/* ===================================================== */

/* All sections after hero now sit on dark navy */
.vendors,
.services,
.profil,
.testimonial {
  background: var(--bg-deep) !important;
  color: white;
  border-color: var(--line-dark) !important;
  position: relative;
  overflow: hidden;
}
.vendors-head h2,
.services-intro h2,
.profil-head h2,
.contact-copy h2,
.testimonial blockquote {
  color: white !important;
}
.profil-head p { color: rgba(255,255,255,0.72) !important; }
.testimonial footer { color: rgba(255,255,255,0.55); }
.testimonial .t-name { color: white; }
.profil .kicker,
.vendors .kicker,
.services .kicker,
.contact .kicker,
.testimonial .kicker { color: var(--cyan) !important; }

/* Halo recurrence — each section root gets a top-edge radial halo */
.halo-section { position: relative; }
.halo-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(ellipse 800px 200px at 50% -50px, rgba(107,136,38,0.18), transparent 70%);
}
.halo-section.halo-magenta::before {
  background-image: radial-gradient(ellipse 800px 200px at 50% -50px, rgba(166,206,65,0.16), transparent 70%);
}
/* Bottom-corner secondary halo for richer recurrence */
.halo-section::after {
  content: '';
  position: absolute;
  bottom: -180px; left: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,136,38,0.18) 0%, transparent 65%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.halo-section.halo-magenta::after {
  bottom: -180px; right: -120px; left: auto;
  background: radial-gradient(circle, rgba(166,206,65,0.18) 0%, transparent 65%);
}
.halo-section > * { position: relative; z-index: 1; }

/* ===== Glass panel surface (reusable) ===== */
.glass-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(107,136,38,0.06) 0%, rgba(10,20,40,0.35) 100%) !important;
  border: 1px solid rgba(196,221,111,0.22) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius);
  overflow: hidden;
}
.glass-panel::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6B8826 30%, #C4DD6F 50%, #6B8826 70%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 2;
}

/* ===== Vendors — dark glass cards ===== */
.vendors { padding: 100px 32px 80px; border-bottom: none !important; }
.vendor-grid .v-card.glass-panel {
  background: linear-gradient(180deg, rgba(107,136,38,0.06) 0%, rgba(10,20,40,0.35) 100%) !important;
  border: 1px solid rgba(196,221,111,0.22) !important;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 220ms, box-shadow 220ms, background 220ms;
}
.vendor-grid .v-card.glass-panel:hover {
  transform: translateY(-3px);
  border-color: var(--cyan) !important;
  box-shadow: 0 8px 24px rgba(107,136,38,0.25), 0 0 0 1px rgba(196,221,111,0.4);
}
.v-card .v-num { color: var(--cyan); }
.v-card h3 { color: white; }
.v-card p { color: rgba(255,255,255,0.65); }

/* ===== Services accordion — dark + glass on open ===== */
.services { background: var(--bg-deep) !important; max-width: none; padding-left: 0; padding-right: 0; }
.services-intro,
.accordion { padding-left: 32px; padding-right: 32px; }
.accordion {
  max-width: 1144px;
  margin: 0 auto;
  border-top: 1px solid var(--line-dark-strong);
}
.acc-row {
  border-bottom: 1px solid var(--line-dark);
  transition: background 220ms;
  position: relative;
}
.acc-row:hover { background: rgba(107,136,38,0.04); }
.acc-row[open] {
  background: linear-gradient(180deg, rgba(107,136,38,0.06) 0%, rgba(10,20,40,0.35) 100%);
  border-left: 1px solid rgba(196,221,111,0.22);
  border-right: 1px solid rgba(196,221,111,0.22);
}
.acc-row[open]::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6B8826 30%, #C4DD6F 50%, #6B8826 70%, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}
.acc-num { color: var(--cyan); }
.acc-title { color: white; }
.acc-deck { color: rgba(255,255,255,0.7); }
.acc-toggle { border-color: rgba(196,221,111,0.4); }
.acc-toggle::before, .acc-toggle::after { background: var(--cyan); }
.acc-row[open] .acc-toggle {
  background: var(--cyan);
  border-color: var(--cyan);
}
.acc-row[open] .acc-toggle::before,
.acc-row[open] .acc-toggle::after { background: var(--bg-deep); }
.acc-body p { color: rgba(255,255,255,0.78); }
.acc-meta { color: var(--cyan); }

/* ===== Profil — Vanta-style two-col zigzag with giant outline numerals ===== */
.profil { padding: 120px 32px; border: none !important; }
.principles {
  border: none !important;
  gap: 24px;
  grid-template-columns: 1fr 1fr;
}
.principles li.glass-panel {
  border-right: 1px solid rgba(196,221,111,0.22) !important;
  border-bottom: 1px solid rgba(196,221,111,0.22) !important;
  padding: 48px 36px 40px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(107,136,38,0.06) 0%, rgba(10,20,40,0.35) 100%) !important;
}
.principles li:hover { background: linear-gradient(180deg, rgba(107,136,38,0.10) 0%, rgba(10,20,40,0.40) 100%) !important; }
/* Zigzag offset to recall hero card layering */
.principles li:nth-child(odd)  { transform: translateY(0); }
.principles li:nth-child(even) { transform: translateY(36px); }
@media (max-width: 1024px) {
  .principles li:nth-child(odd),
  .principles li:nth-child(even) { transform: none; }
}
.p-num-big {
  position: absolute;
  top: 14px; right: 22px;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px rgba(196,221,111,0.5);
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  z-index: 1;
}
.principles .p-num {
  color: var(--cyan);
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 11.5px;
  position: relative;
  z-index: 2;
}
.principles h3 { color: white; position: relative; z-index: 2; }
.principles p { color: rgba(255,255,255,0.72); position: relative; z-index: 2; }

/* ===== Testimonial — glass card on dark ===== */
.testimonial { padding: 100px 32px; }
.testimonial-inner.glass-panel {
  padding: 56px 48px;
  border-radius: var(--radius-lg);
}
.testimonial blockquote { margin: 18px 0 22px; }

/* ===== Contact — glass form + cyan focus ring + gradient submit ===== */
.contact { border-top: none; }
.contact-form.glass-panel {
  background: linear-gradient(180deg, rgba(107,136,38,0.06) 0%, rgba(10,20,40,0.45) 100%) !important;
  border: 1px solid rgba(196,221,111,0.22) !important;
  border-radius: var(--radius-lg);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: rgba(196,221,111,0.06);
  box-shadow: 0 0 0 2px rgba(196,221,111,0.35);
}
.contact-form button.btn-primary {
  background: var(--gradient);
  background-size: 200% 100%;
  background-position: 0% 50%;
}

/* ===== H2 throughline — gradient italic em treatment ===== */
.vendors-head h2 em.grad,
.services-intro h2 em.grad,
.profil-head h2 em.grad,
.contact-copy h2 em.grad {
  font-style: italic;
  font-weight: 600;
}

/* ===== Section divider — 1px gradient line + animated cyan packet ===== */
.section-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6B8826 25%, #C4DD6F 50%, #6B8826 75%, transparent 100%);
  opacity: 0.55;
  overflow: hidden;
  z-index: 5;
}
.section-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(196,221,111,0.6);
  transform: translate(-100%, -50%);
}
@media (prefers-reduced-motion: no-preference) {
  .section-divider::after {
    animation: dividerPacket 9s linear infinite;
  }
}
@keyframes dividerPacket {
  0%   { transform: translate(-100%, -50%); }
  100% { transform: translate(calc(100vw + 100%), -50%); }
}

/* ===== Footer top-edge divider packet ===== */
.footer { position: relative; border-top: none !important; }
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6B8826 25%, #C4DD6F 50%, #6B8826 75%, transparent 100%);
  opacity: 0.55;
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(196,221,111,0.6);
  transform: translate(-100%, -50%);
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .footer::after {
    animation: dividerPacket 9s linear infinite;
  }
}

/* Responsive tweaks for principles zigzag */
@media (max-width: 1024px) {
  .principles { grid-template-columns: 1fr; gap: 20px; }
  .p-num-big { font-size: 96px; }
}

/* ===================================================== */
/* VALORI — 3-pillar values strip                         */
/* ===================================================== */
.valori {
  background: var(--bg-deep) !important;
  color: white;
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.valori .kicker { color: var(--cyan) !important; }
.valori-head { max-width: 1080px; margin: 0 auto 56px; }
.valori-head h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: white;
  max-width: 820px;
}
.valori-head h2 em.grad { font-style: italic; font-weight: 600; }
.valori-grid {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.valori-card.glass-panel {
  padding: 48px 36px 40px;
  position: relative;
  overflow: hidden;
}
.val-num-big {
  position: absolute;
  top: 14px; right: 22px;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px rgba(196,221,111,0.5);
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  z-index: 1;
}
.val-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.valori-card h3 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}
.valori-card p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  position: relative;
  z-index: 2;
}

/* ===================================================== */
/* PROMISIUNE — oversized brand-promise pull-quote        */
/* ===================================================== */
.promisiune {
  background: var(--bg-deep) !important;
  color: white;
  padding: 140px 32px;
  position: relative;
  overflow: hidden;
}
.promisiune .kicker { color: var(--magenta) !important; display: block; margin-bottom: 36px; }
.promisiune-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.promise-quote {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: white;
  max-width: 980px;
  margin: 0 auto 32px;
}
.promise-quote em.grad {
  font-style: italic;
  font-weight: 600;
}
.promise-meta {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}

/* ===================================================== */
/* PROCES — 4-stage methodology                           */
/* ===================================================== */
.proces {
  background: var(--bg-deep) !important;
  color: white;
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.proces .kicker { color: var(--cyan) !important; }
.proces-head { max-width: 1180px; margin: 0 auto 64px; }
.proces-head h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: white;
  max-width: 820px;
}
.proces-head h2 em.grad { font-style: italic; font-weight: 600; }

.proces-flow {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.proces-line {
  position: absolute;
  top: 84px; left: 4%; right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6B8826 15%, #C4DD6F 50%, #6B8826 85%, transparent 100%);
  opacity: 0.55;
  z-index: 0;
  overflow: hidden;
}
.proces-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 24px rgba(196,221,111,0.6);
  transform: translate(-100%, -50%);
}
@media (prefers-reduced-motion: no-preference) {
  .proces-dot {
    animation: procesDot 7s linear infinite;
  }
}
@keyframes procesDot {
  0%   { transform: translate(-100%, -50%); }
  100% { transform: translate(calc(100% + 1180px), -50%); }
}
.proces-step.glass-panel {
  padding: 40px 28px 32px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.step-num-big {
  position: absolute;
  top: 14px; right: 18px;
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 700;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.03em;
  -webkit-text-stroke: 1px rgba(196,221,111,0.5);
  -webkit-text-fill-color: transparent;
  color: transparent;
  pointer-events: none;
  z-index: 1;
}
.step-pill {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--cyan);
  margin-bottom: 14px;
  position: relative;
  z-index: 2;
}
.proces-step h3 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: white;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}
.proces-step p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  position: relative;
  z-index: 2;
}

/* Responsive — values + proces */
@media (max-width: 1024px) {
  .valori-grid { grid-template-columns: 1fr; gap: 20px; }
  .val-num-big { font-size: 96px; }
  .proces-flow { grid-template-columns: 1fr 1fr; gap: 18px; }
  .proces-line { display: none; }
}
@media (max-width: 600px) {
  .proces-flow { grid-template-columns: 1fr; }
  .promise-quote { font-size: clamp(26px, 8vw, 36px); }
}


/* =====================================================================
   SECTION 3/4/6 DIFFERENTIATION
   - Profil = editorial slab rows (no cards, hairline divided)
   - Valori = icon-led horizontal cards (centered icon, no numerals)
   - Proces = circular timeline with connector line
   ===================================================================== */

/* ---- Profil: editorial slab rows (override the previous card-grid) ---- */
.principles.principles-slab {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(196,221,111,0.18);
}
.principles.principles-slab li {
  position: relative;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 56px;
  align-items: center;
  padding: 38px 24px;
  border-bottom: 1px solid rgba(196,221,111,0.18);
  background: transparent !important;
  transform: none !important;
  transition: background 0.3s ease;
}
.principles.principles-slab li::after { content: none !important; }
.principles.principles-slab li::before { content: none !important; }
.principles.principles-slab li:hover { background: linear-gradient(90deg, rgba(107,136,38,0.05), transparent 70%) !important; }
.p-num-slab {
  font-family: 'Clash Grotesk', 'Inter', sans-serif;
  font-size: clamp(72px, 11vw, 140px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  -webkit-text-stroke: 1.5px rgba(196,221,111,0.55);
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-align: right;
  display: block;
}
.principles.principles-slab .p-body { display: flex; flex-direction: column; gap: 8px; }
.principles.principles-slab h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: white;
  margin: 0;
}
.principles.principles-slab p {
  font-size: 15.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin: 0;
}

/* ---- Valori: icon-led, NO numerals, centered big icon ---- */
.valori-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }
.valori-card.valori-icon-led {
  background: linear-gradient(180deg, rgba(107,136,38,0.06), rgba(10,20,40,0.30));
  border: 1px solid rgba(196,221,111,0.18);
  border-radius: 4px;
  padding: 44px 32px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.valori-card.valori-icon-led:hover {
  border-color: rgba(196,221,111,0.45);
  transform: translateY(-3px);
}
.valori-card.valori-icon-led::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #6B8826 30%, #C4DD6F 50%, #6B8826 70%, transparent 100%);
  opacity: 0.55;
}
.val-icon-wrap {
  display: inline-flex;
  width: 84px;
  height: 84px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(196,221,111,0.18), rgba(107,136,38,0.08) 70%, transparent);
  color: #C4DD6F;
  margin-bottom: 6px;
}
.valori-card.valori-icon-led h3 {
  font-family: 'Clash Grotesk', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: white;
  margin: 0;
}
.valori-card.valori-icon-led p {
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.70);
  margin: 0;
}

/* ---- Proces: circular timeline with connector ---- */
.proces-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding-top: 24px;
}
/* line vertically centered on node center: padding-top 24 + node 88/2 = 68; line h=2 → top=67 */
.timeline-track {
  position: absolute;
  top: 67px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  pointer-events: none;
}
.timeline-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(107,136,38,0.0) 0%, rgba(107,136,38,0.28) 8%, rgba(196,221,111,0.32) 50%, rgba(166,206,65,0.28) 92%, rgba(166,206,65,0.0) 100%);
  border-radius: 2px;
}
.timeline-pulse {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  margin-left: -9px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, #C4DD6F 35%, rgba(196,221,111,0.4) 70%, transparent 100%);
  box-shadow: 0 0 20px rgba(196,221,111,0.95), 0 0 48px rgba(196,221,111,0.55), 0 0 80px rgba(107,136,38,0.35);
  pointer-events: none;
  opacity: 0;
}

/* ---- SYNCHRONIZED CYCLE: 9s total ----
   t=0–1s   pause (packet hidden at left)
   t=1s     packet appears at left:0%   → NODE 01 bursts
   t=3s     packet at left:33.3%        → NODE 02 bursts
   t=5s     packet at left:66.7%        → NODE 03 bursts
   t=7s     packet at left:100%         → NODE 04 bursts
   t=7–9s   packet fades + pause
   Linear movement between t=1s and t=7s (6s for 4 evenly spaced nodes).
*/
@media (prefers-reduced-motion: no-preference) {
  .timeline-pulse { animation: timelinePacket 9s linear infinite; }
}
@keyframes timelinePacket {
  0%     { left: 0%;   opacity: 0; transform: scale(0.5); }
  9%     { left: 0%;   opacity: 1; transform: scale(1); }      /* t=0.81s, fade in just before t=1s */
  11.1%  { left: 0%;   opacity: 1; transform: scale(1); }      /* t=1s — at node 01 */
  77.8%  { left: 100%; opacity: 1; transform: scale(1); }      /* t=7s — at node 04 */
  86%    { opacity: 1; transform: scale(1); }
  93%    { left: 100%; opacity: 0; transform: scale(1.7); }    /* t=8.4s, fade out */
  100%   { left: 0%;   opacity: 0; transform: scale(0.5); }    /* t=9s, reset */
}

/* node burst peaks immediately at delay; same 9s cycle; delays = packet arrival times.
   NOTE: timeline-track is the 1st child of .proces-timeline, so timeline-steps are nth-child 2-5. */
@media (prefers-reduced-motion: no-preference) {
  .proces-timeline > .timeline-step:nth-child(2) .ts-node { animation: nodeBurst 9s ease-in-out infinite; animation-delay: 1s; }
  .proces-timeline > .timeline-step:nth-child(3) .ts-node { animation: nodeBurst 9s ease-in-out infinite; animation-delay: 3s; }
  .proces-timeline > .timeline-step:nth-child(4) .ts-node { animation: nodeBurst 9s ease-in-out infinite; animation-delay: 5s; }
  .proces-timeline > .timeline-step:nth-child(5) .ts-node { animation: nodeBurst 9s ease-in-out infinite; animation-delay: 7s; }
  .ts-node::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 1.5px solid rgba(196,221,111,0.6);
    opacity: 0;
    pointer-events: none;
  }
  .proces-timeline > .timeline-step:nth-child(2) .ts-node::after { animation: nodeRipple 9s ease-out infinite; animation-delay: 1s; }
  .proces-timeline > .timeline-step:nth-child(3) .ts-node::after { animation: nodeRipple 9s ease-out infinite; animation-delay: 3s; }
  .proces-timeline > .timeline-step:nth-child(4) .ts-node::after { animation: nodeRipple 9s ease-out infinite; animation-delay: 5s; }
  .proces-timeline > .timeline-step:nth-child(5) .ts-node::after { animation: nodeRipple 9s ease-out infinite; animation-delay: 7s; }
}
@keyframes nodeBurst {
  /* short flash at delay (~0.3s peak, fully back to base by ~0.7s of the 9s cycle) */
  0% {
    border-color: #FFFFFF;
    box-shadow: 0 0 56px rgba(196,221,111,1), 0 0 110px rgba(196,221,111,0.45), inset 0 0 32px rgba(196,221,111,0.45);
    transform: scale(1.07);
  }
  3% {
    border-color: #FFFFFF;
    box-shadow: 0 0 56px rgba(196,221,111,1), 0 0 110px rgba(196,221,111,0.45), inset 0 0 32px rgba(196,221,111,0.45);
    transform: scale(1.07);
  }
  8%, 100% {
    border-color: rgba(196,221,111,0.55);
    box-shadow: 0 0 24px rgba(107,136,38,0.25), inset 0 0 16px rgba(196,221,111,0.10);
    transform: scale(1);
  }
}
@keyframes nodeRipple {
  0%   { opacity: 0.85; border-color: rgba(255,255,255,0.9); transform: scale(1); }
  6%   { opacity: 0; transform: scale(1.45); }
  100% { opacity: 0; transform: scale(1); }
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 6px;
}
.ts-node {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  /* fully opaque base so the timeline line is hidden behind the circle */
  background:
    radial-gradient(circle at 30% 30%, rgba(107,136,38,0.45), transparent 75%),
    #050B1F;
  border: 1.5px solid rgba(196,221,111,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: 0 0 24px rgba(107,136,38,0.25), inset 0 0 16px rgba(196,221,111,0.10);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-step:hover .ts-node {
  border-color: #C4DD6F;
  box-shadow: 0 0 32px rgba(196,221,111,0.5), inset 0 0 20px rgba(196,221,111,0.18);
}
.ts-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #6B8826 0%, #C4DD6F 50%, #6B8826 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ts-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: #C4DD6F;
  margin-bottom: 10px;
}
.timeline-step h3 {
  font-family: 'Clash Grotesk', 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: white;
  margin: 0 0 8px;
}
.timeline-step p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.68);
  margin: 0;
  max-width: 240px;
}

/* responsive overrides */
@media (max-width: 1024px) {
  .principles.principles-slab li { grid-template-columns: 130px 1fr; gap: 32px; padding: 28px 16px; }
  .valori-grid { grid-template-columns: 1fr; gap: 18px; }
  .proces-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .timeline-track { display: none; }
}
@media (max-width: 600px) {
  .principles.principles-slab li { grid-template-columns: 80px 1fr; gap: 20px; padding: 22px 12px; }
  .p-num-slab { font-size: 60px; }
  .proces-timeline { grid-template-columns: 1fr; gap: 28px; }
}

/* ===================================================== */
/* HERO V2 (2026-07-12) — static glass poster on mobile   */
/* where the 3D stack is skipped. REVERT: delete this     */
/* whole block + the .stack-poster markup in              */
/* front-page.php (and flip HERO_V2 in hero-stack.js).    */
/* ===================================================== */
.stack-poster { display: none; }
/* Desktop: trim the canvas height (was 1.05:1) and anchor the panel to the
   TOP of the hero grid (grid default was center -> panes floated low, far
   from the headline). Scoped ≥1025px so the tablet 4/3 rule still wins. */
@media (min-width: 1025px) {
  .hero-right { aspect-ratio: 1.18/1; align-self: start; margin-top: -8px; }
}
/* Card visuals live OUTSIDE the media query: this same card is both the mobile
   treatment and the desktop fallback when the 3D stack cannot run. They used to
   be mobile-only, so forcing the poster onto a desktop hero showed a bare,
   unstyled box. */
.poster-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 14px;
  padding: 24px 24px 26px;
  background: linear-gradient(160deg, rgba(15,27,51,0.9), rgba(5,11,31,0.95));
  border: 1px solid rgba(166,206,65,0.4);
  box-shadow: 0 24px 60px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.08);
  transform: rotate(-1.2deg);
}
/* two ghost cards behind — the "stack" read, pure CSS */
.poster-card::before,
.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 14px;
  border: 1px solid rgba(166,206,65,0.22);
  background: rgba(15,27,51,0.5);
  z-index: -1;
}
.poster-card::before { transform: rotate(1.6deg) translate(10px, -12px); }
.poster-card::after  { transform: rotate(3.4deg) translate(20px, -24px); opacity: 0.55; }
.poster-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(166,206,65,0.95);
}
.poster-heading {
  font-family: 'Clash Grotesk', 'Satoshi', sans-serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
.poster-body {
  font-family: 'Satoshi', sans-serif;
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
}

@media (max-width: 768px) {
  .hero-right { aspect-ratio: auto; max-width: 480px; margin: 0 auto; }
  /* !important: theme.css sets #stack-canvas { display: block } later in the cascade */
  #stack-canvas, .stack-legend { display: none !important; }
  /* top padding clears the ghost cards' upward offset so they don't graze the stats row */
  .stack-poster { display: block; padding: 44px 10px 6px; }
}

/* Applied by netitHeroFallback() when the 3D stack cannot start at any width,
   so the hero never renders as an empty rectangle. */
.stack-poster.poster-forced {
  display: block;
  padding: 40px 10px 6px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
/* ===================== /HERO V2 ====================== */

/* ===================================================== */
/* COPY V4 (2026-08-01) — messaging architecture pass     */
/* 1. .vendors-head sub-line (procurement promise)        */
/* 2. PROIECTE proof strip (replaces PROFIL principles)   */
/* ===================================================== */

.vendors-head p {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.70);
  max-width: 560px;
}

/* ---- PROIECTE: dark section shell (mirrors the retired .profil) ---- */
.proiecte {
  background: var(--bg-deep);
  color: white;
  padding: 120px 32px;
  position: relative;
  overflow: hidden;
}
.proiecte .kicker { color: var(--cyan) !important; }
.proiecte-head {
  max-width: 1180px;
  margin: 0 auto 56px;
}
.proiecte-head h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 14px;
}
.proiecte-head h2 em.grad { font-style: italic; font-weight: 600; }
.proiecte-head p {
  font-size: 17px;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
}

/* ---- proof cards: glass panels with a hero-stat-style numeral ---- */
.proof-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proof-card.glass-panel {
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 220ms, box-shadow 220ms;
}
.proof-card.glass-panel:hover {
  transform: translateY(-3px);
  border-color: var(--cyan) !important;
  box-shadow: 0 8px 24px rgba(107,136,38,0.25), 0 0 0 1px rgba(196,221,111,0.4);
}
.proof-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.08em;
}
.proof-stat { display: flex; flex-direction: column; gap: 4px; margin: 6px 0 2px; }
.proof-stat strong {
  font-family: 'Clash Grotesk', sans-serif;
  font-size: clamp(34px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1;
  color: white;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.proof-stat .plus { color: var(--cyan); font-weight: 400; }
.proof-stat span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-card h3 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  color: white;
  margin: 0;
}
.proof-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.72);
  margin: 0;
  flex-grow: 1;
}
.proof-link {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.proof-link .arrow { transition: transform 220ms; }
.proof-link:hover .arrow { transform: translateX(4px); }
.proof-link:hover { color: white; }

/* ---- Brammer retention band ---- */
.proof-band.glass-panel {
  max-width: 1180px;
  margin: 24px auto 0;
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.proof-band p {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  margin: 0;
  max-width: 720px;
}
.proof-band p strong { color: white; font-weight: 600; }

/* ---- responsive ---- */
@media (max-width: 1024px) {
  .proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .proiecte { padding: 90px 32px; }
  .proof-band.glass-panel { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .proiecte { padding: 72px 20px; }
  .proof-card.glass-panel { padding: 28px 24px 26px; }
}

/* ===================================================== */
/* PHASE 3 POLISH (2026-08-01) — scroll-reveal, hero      */
/* entrance, spacing rhythm, anchor + focus states.       */
/* Hidden states are gated behind html.js (set by an      */
/* inline head script) so no-JS never hides content;      */
/* the reveal JS bails under prefers-reduced-motion.      */
/* ===================================================== */

/* ---- scroll-reveal ---- */
html.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 640ms cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 640ms cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--rd, 0ms);
  will-change: opacity, transform;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  will-change: auto;
}
html.js .reveal.reveal-instant { transition: none !important; }

/* ---- hero entrance (load-time, CSS only; h1 untouched for LCP) ---- */
@media (prefers-reduced-motion: no-preference) {
  html.js .hero-left .kicker { animation: heroRise 480ms cubic-bezier(0.22, 0.61, 0.36, 1) 40ms both; }
  html.js .hero-sub          { animation: heroRise 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 140ms both; }
  html.js .hero-ctas         { animation: heroRise 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 240ms both; }
  html.js .hero-stats        { animation: heroRise 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 340ms both; }
  html.js .stack-legend      { animation: heroRise 560ms cubic-bezier(0.22, 0.61, 0.36, 1) 460ms both; }
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---- spacing rhythm: bring the two outliers up to the 110–140 cadence ---- */
.vendors { padding-top: 110px !important; padding-bottom: 96px !important; }
.services { padding-top: 110px; padding-bottom: 110px; }

/* ---- smooth anchors (hero “Vezi serviciile”, nav) + sticky-header offset ---- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
section[id] { scroll-margin-top: 84px; }

/* ---- consistent keyboard focus ---- */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}
.acc-row summary:focus-visible { outline-offset: -2px; }

/* ===================================================== */
/* LOGOS (2026-08-01) — vendor logos in v-cards + client  */
/* logo wall in PROIECTE. Treatment: monochrome white     */
/* silhouettes (brightness(0) invert(1)) so 24 brand      */
/* palettes never touch the navy/lime system. Muted at    */
/* rest, full white on hover. All assets have alpha.      */
/* ===================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* vendor card logos (replace the lowercase text names) */
.v-logo {
  display: block;
  height: 24px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 12px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 220ms;
}
.v-card:hover .v-logo { opacity: 1; }

/* VALORI V2 — icons removed (clip-art, foreign to the system); giant outline
   numeral watermark gets its own zone, content sits below it */
.valori-card.glass-panel {
  padding: 116px 36px 38px;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), border-color 220ms;
}
.valori-card.glass-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(196,221,111,0.45) !important;
}
.valori-card .val-num-big { top: 22px; right: 26px; }
@media (max-width: 1024px) {
  .valori-card.glass-panel { padding: 92px 30px 32px; }
}

/* ---- /parteneri/ (Phase 4): featured logo cards + categorized eco wall ---- */
.pv-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pv-grid .v-card { padding: 26px 24px; }
.eco-groups {
  max-width: 1180px;
  margin: 28px auto 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.eco-cat {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.eco-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 28px 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(196,221,111,0.14);
}
.eco-group:last-child .eco-wall { border-bottom: none; }
.eco-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.eco-item img {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 250ms;
}
.eco-item:hover img { opacity: 1; }
.eco-tier {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(196,221,111,0.75);
}
@media (max-width: 1024px) {
  .pv-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pv-grid { grid-template-columns: 1fr; }
  .eco-wall { gap: 22px 32px; }
  .eco-item img { height: 22px; max-width: 108px; }
}

/* partnership tier badge — the live site's own accreditation claims */
.v-tier {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 3px 8px;
  border: 1px solid rgba(196,221,111,0.28);
  border-radius: 999px;
  background: rgba(196,221,111,0.06);
  margin-bottom: 10px;
}

/* client logo marquee — dual-row opposing drift inside a glass band */
.client-marquee-wrap {
  max-width: 1180px;
  margin: 64px auto 0;
}
.client-wall-kicker {
  display: block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}
.client-marquee.glass-panel {
  padding: 36px 0 34px;
  border-radius: var(--radius-lg);
  /* fade the rows out under the band's edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeDrift 55s linear infinite;
  will-change: transform;
}
.marquee-track.reverse {
  margin-top: 34px;
  animation: marqueeDriftBack 70s linear infinite;
}
.marquee-seq {
  display: flex;
  align-items: center;
  gap: 76px;
  padding-right: 76px;
}
.client-marquee img {
  height: 30px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 250ms;
}
.client-marquee img.tall { height: 44px; }
.client-marquee img:hover { opacity: 1; }
.client-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeDrift     { to { transform: translateX(-50%); } }
@keyframes marqueeDriftBack { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* the retention band follows the marquee */
.client-marquee-wrap + .proof-band.glass-panel { margin-top: 56px; }

@media (max-width: 1024px) {
  .client-marquee-wrap { margin-top: 48px; }
}
@media (max-width: 600px) {
  .client-marquee.glass-panel { padding: 26px 0 24px; }
  .marquee-track.reverse { margin-top: 24px; }
  .marquee-seq { gap: 48px; padding-right: 48px; }
  .client-marquee img { height: 24px; max-width: 110px; }
  .client-marquee img.tall { height: 36px; }
}

/* ===================================================== */
/* ACCORDION V2 (2026-08-01) — de-boxed open state +      */
/* editorial reveal. Height animation lives in theme.js   */
/* (WAAPI, single-open, reduced-motion safe).             */
/* ===================================================== */

/* open row: no side borders, no gradient edge — flat editorial, subtle wash */
.acc-row[open] {
  background: linear-gradient(90deg, rgba(107,136,38,0.05) 0%, transparent 65%);
  border-left: none;
  border-right: none;
}
.acc-row[open]::before { content: none; }

/* deck folds away when open (body carries the full text); title owns the row */
.acc-row[open] > summary { grid-template-columns: 80px 1fr 40px; }
.acc-row[open] > summary .acc-deck { display: none; }
.acc-row[open] .acc-num { color: #C4DD6F; }

/* body: editorial block behind a lime rule, aligned to the title column */
.acc-body {
  margin: 2px 32px 36px 104px;
  padding: 4px 0 4px 28px;
  border-left: 2px solid rgba(196,221,111,0.45);
  max-width: 720px;
}
.acc-body p {
  font-size: 16.5px;
  line-height: 1.65;
  color: rgba(255,255,255,0.80);
  max-width: 640px;
  margin-bottom: 0;
}

/* meta pills */
.acc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.acc-chips span {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 6px 12px;
  border: 1px solid rgba(196,221,111,0.28);
  border-radius: 999px;
  background: rgba(196,221,111,0.06);
  white-space: nowrap;
}
.acc-link { margin-top: 18px; }

/* content entrance — plays when [open] lands; suppressed while closing */
.acc-row[open] .acc-body {
  animation: accBodyIn 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.acc-row.is-closing .acc-body { animation: none; }
@keyframes accBodyIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* softer toggle rotation already exists; slow the row hover slightly */
.acc-row { transition: background 280ms ease; }

@media (max-width: 1024px) {
  .acc-row[open] > summary { grid-template-columns: 60px 1fr 36px; }
  .acc-body {
    margin: 0 16px 30px 0;
    padding: 2px 0 2px 18px;
    max-width: none;
  }
  .acc-body p { font-size: 15.5px; }
}
