/* ==========================================================================
   EXPVIBRA V3 — "Precision Engineering" in paleta unitara de BLEU a logo-ului
   Alb pur (#FFFFFF) + Gri-bleu glaciar (#F3F8FC) + Bleu-noapte (#07131F)
   Accent brand: #009CE0 (bleu logo) / #0077B6 (bleu accesibil pe alb)
   ========================================================================== */

:root {
  --dark: #07131f;
  --dark-2: #0c1d2e;
  --dark-card: #102438;
  --dark-line: rgba(125, 211, 252, 0.16);

  --white: #ffffff;
  --ice: #f3f8fc;
  --ice-2: #eaf3fa;
  --ink: #0a1929;
  --ink-soft: #334659;
  --muted: #566b80;
  --line: #dce8f1;
  --line-strong: #c2d7e8;

  --bleu: #009ce0;
  --bleu-deep: #0077b6;
  --bleu-hover: #005f94;
  --bleu-light: #38bdf8;
  --bleu-soft: #e6f6fd;
  --bleu-line: #b4e4fa;

  --muted-warn: #64748b;
  --warn-dot: #dc2626;
  --ok: #0284c7;

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

  --shadow-sm: 0 1px 3px rgba(7, 19, 31, 0.05);
  --shadow-md: 0 14px 36px rgba(7, 19, 31, 0.08);
  --shadow-dark: 0 24px 60px rgba(3, 10, 18, 0.45);

  --font-display: "Space Grotesk", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-sans);
  color: var(--ink-soft);
  background: var(--white);
  line-height: 1.62;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--bleu-deep);
  text-decoration: none;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

a:hover {
  color: var(--bleu-hover);
}

:focus-visible {
  outline: 2.5px solid var(--bleu);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografie geometrica moderna ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  margin-bottom: 0.35em;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 0.3em;
}

.tag-mono {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bleu-deep);
  margin-bottom: 0.8rem;
}

.tag-mono::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--bleu);
  border-radius: 2px;
}

.tag-mono-dark {
  color: var(--bleu-light);
}

.sec-head {
  max-width: 680px;
  margin-bottom: 2.8rem;
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.sec-head.center .tag-mono {
  justify-content: center;
}

.sec-head p {
  font-size: 1.03rem;
  color: var(--muted);
}

.sec-head-dark h2 {
  color: var(--white);
}

.sec-head-dark p {
  color: #9bb4ca;
}

/* ---------- Sectiuni ---------- */

section {
  padding: 92px 0;
  scroll-margin-top: 84px;
}

.sec-white {
  background: var(--white);
}

.sec-ice {
  background: var(--ice);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-dark {
  background: var(--dark);
  color: #c7d9e8;
}

/* ---------- Header (transparent-glass / alb curat) ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--ink-soft);
  font-size: 0.89rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 4px 0;
}

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

.nav-links .mobile-only {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-phone:hover {
  background: var(--bleu-soft);
  color: var(--bleu-deep);
}

.nav-phone svg {
  width: 15px;
  height: 15px;
  stroke: var(--bleu);
  fill: none;
  stroke-width: 2;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.burger svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ---------- Butoane ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.94rem;
  font-family: inherit;
  cursor: pointer;
  border: 1.5px solid transparent;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
}

.btn-bleu {
  background: var(--bleu-deep);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 119, 182, 0.24);
}

.btn-bleu:hover {
  background: var(--bleu-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-hero {
  background: var(--bleu);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 156, 224, 0.34);
}

.btn-hero:hover {
  background: #0088c4;
  color: var(--white);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(186, 230, 253, 0.34);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--white);
  color: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-outline:hover {
  border-color: var(--bleu-deep);
  color: var(--bleu-deep);
  background: var(--bleu-soft);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* ---------- 1. HERO CINEMATOGRAFIC (FULL-BLEED) ---------- */

.hero-cinema {
  position: relative;
  min-height: calc(100vh - 70px);
  max-height: 760px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--dark);
  background-image:
    linear-gradient(90deg, rgba(7, 19, 31, 0.94) 0%, rgba(7, 19, 31, 0.84) 44%, rgba(7, 19, 31, 0.32) 78%, rgba(7, 19, 31, 0.18) 100%),
    linear-gradient(180deg, rgba(7, 19, 31, 0.35) 0%, rgba(7, 19, 31, 0) 35%, rgba(7, 19, 31, 0.92) 100%),
    url("hero_structura.jpg");
  background-size: cover;
  background-position: right center;
  color: var(--white);
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  padding: 58px 24px 40px;
}

.hero-content {
  max-width: 610px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #bae6fd;
  background: rgba(0, 156, 224, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.34);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bleu-light);
}

.hero-cinema h1 {
  color: var(--white);
  font-size: clamp(2.35rem, 4.5vw, 3.65rem);
  line-height: 1.07;
  margin-bottom: 0.45em;
}

.hero-cinema h1 span {
  display: block;
  color: var(--bleu-light);
}

.hero-sub {
  font-size: 1.12rem;
  color: #d4e6f4;
  max-width: 48ch;
  margin-bottom: 1.9rem;
  line-height: 1.62;
}

.hero-bar {
  border-top: 1px solid rgba(186, 230, 253, 0.16);
  background: rgba(7, 19, 31, 0.72);
  backdrop-filter: blur(10px);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.hm-item {
  padding: 18px 20px 18px 0;
  border-right: 1px solid rgba(186, 230, 253, 0.12);
  padding-left: 20px;
}

.hm-item:first-child {
  padding-left: 0;
}

.hm-item:last-child {
  border-right: none;
}

.hm-item strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.hm-item span {
  display: block;
  font-size: 0.82rem;
  color: #93b3cc;
}

/* ---------- 2. BENTO GRID SITUATII (ALB PUR, ZERO ROMANE) ---------- */

.bento-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bento-card {
  position: relative;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bento-card:hover {
  border-color: var(--bleu);
  background: #fafdff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bleu-soft);
  color: var(--bleu-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bento-norm {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--bleu-deep);
  background: var(--ice);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 6px;
}

.bento-card h3 {
  font-size: 1.08rem;
  margin-top: 4px;
}

.bento-card p {
  font-size: 0.91rem;
  color: var(--muted);
  flex: 1;
}

.bento-go {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--bleu-deep);
  margin-top: 4px;
}

/* ---------- 3. DARK LAB: GEORADAR & APARATURA PROPRIE ---------- */

.sec-lab {
  position: relative;
  background:
    radial-gradient(760px 420px at 80% 10%, rgba(0, 156, 224, 0.16), transparent 68%),
    var(--dark);
  color: #c7d9e8;
}

.lab-methods {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.lab-m {
  background: var(--dark-card);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  padding: 20px;
}

.lab-m-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bleu-light);
  margin-bottom: 8px;
}

.lab-m h3 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 5px;
}

.lab-m p {
  font-size: 0.87rem;
  color: #93b3cc;
  line-height: 1.52;
}

.lab-showcase {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.lab-main-fig,
.lab-sub-fig {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lab-sub-col {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 14px;
}

.lab-sub-fig {
  flex-direction: row;
  align-items: stretch;
}

.zoom-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: #0a1826;
  cursor: zoom-in;
  padding: 10px;
  overflow: hidden;
}

.lab-main-fig .zoom-trigger {
  width: 100%;
  flex: 1;
  min-height: 360px;
  background: #ffffff;
}

.lab-sub-fig .zoom-trigger {
  width: 148px;
  flex-shrink: 0;
  background: #0d1f30;
  padding: 6px;
}

.zoom-trigger img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.28s ease;
}

.zoom-trigger:hover img {
  transform: scale(1.04);
}

.zoom-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(7, 19, 31, 0.86);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  pointer-events: none;
}

.lab-main-fig figcaption {
  padding: 16px 20px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.9rem;
  color: #b4cce0;
}

.lab-main-fig figcaption b {
  color: var(--white);
}

.lab-sub-fig figcaption {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.85rem;
  color: #9bb4ca;
}

.lab-sub-fig figcaption b {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 3px;
}

/* ---------- 4. COMPARATOR CURAT (DOSAR REAL VS. STAMPILA) ---------- */

.tabs-row {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: var(--ice);
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.d-tab {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.d-tab:hover {
  color: var(--ink);
}

.d-tab[aria-selected="true"] {
  background: var(--white);
  color: var(--bleu-deep);
  box-shadow: var(--shadow-sm);
}

.d-tab span.tn {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.72;
}

.d-panel {
  display: none;
}

.d-panel.active {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 20px;
}

.cmp-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cmp-fake {
  background: #f6f8fa;
  border: 1px solid var(--line);
}

.cmp-real {
  background: var(--white);
  border: 1.5px solid var(--bleu);
  box-shadow: var(--shadow-md);
}

.cmp-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.cmp-fake .cmp-tag {
  background: #e9eef3;
  color: var(--muted-warn);
}

.cmp-real .cmp-tag {
  background: var(--bleu-soft);
  color: var(--bleu-deep);
}

.cmp-card h3 {
  font-size: 1.24rem;
}

.cmp-list {
  list-style: none;
  display: grid;
  gap: 11px;
}

.cmp-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.92rem;
  line-height: 1.55;
}

.cmp-fake .cmp-list li::before {
  content: "×";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--warn-dot);
  font-weight: 800;
  font-size: 1.05rem;
}

.cmp-real .cmp-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--bleu);
  font-weight: 800;
}

.quote-fake {
  background: var(--white);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.86rem;
  color: var(--muted);
  font-style: italic;
}

/* Macheta Raport Sintetic (in paleta unitara de bleu) */

.sheet-mock {
  background: var(--ice);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1.5px solid var(--ink);
}

.sheet-top strong {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.sheet-top span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--bleu-deep);
  background: var(--white);
  border: 1px solid var(--bleu-line);
  padding: 2px 7px;
  border-radius: 4px;
}

.sheet-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.sheet-tbl td {
  padding: 5px 6px;
  border-bottom: 1px solid var(--line);
}

.sheet-tbl tr:last-child td {
  border-bottom: none;
}

.sheet-tbl td:first-child {
  color: var(--muted);
  font-weight: 600;
  width: 44%;
}

.sheet-tbl td:last-child {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--ink);
}

.chk {
  margin-right: 7px;
  color: var(--muted);
}

.chk.on {
  color: var(--bleu-deep);
  font-weight: 800;
}

/* Bare calcul R3 */

.bars-box {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: grid;
  gap: 9px;
}

.bar-row {
  display: grid;
  grid-template-columns: 120px 1fr 78px;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
}

.bar-label {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.bar-track {
  height: 8px;
  background: #dbe8f3;
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bleu-deep), var(--bleu));
  border-radius: 999px;
}

.bar-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink);
  text-align: right;
  white-space: nowrap;
}

/* Scara compacta RsI - RsIV pe 1 rand */

.rs-bar {
  margin-top: 24px;
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 170px repeat(4, 1fr);
  gap: 14px;
  align-items: center;
}

.rs-bar-lead strong {
  display: block;
  font-size: 0.88rem;
  color: var(--ink);
}

.rs-bar-lead span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.rs-chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.rs-chip b {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--bleu-deep);
  background: var(--bleu-soft);
  padding: 1px 7px;
  border-radius: 4px;
  margin-bottom: 4px;
}

/* ---------- 5. DIAGNOSTIC INTERACTIV IN 30 SEC (APLICATIE AERISITA) ---------- */

.diag-app {
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  overflow: hidden;
}

.diag-left {
  padding: 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diag-step-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 9px;
}

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

.chip {
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--ice);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--bleu);
  color: var(--bleu-deep);
}

.chip[aria-pressed="true"] {
  background: var(--bleu-deep);
  border-color: var(--bleu-deep);
  color: var(--white);
}

.diag-right {
  padding: 32px;
  background: linear-gradient(180deg, #fafdff 0%, var(--ice) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.diag-res-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.diag-res-head h3 {
  font-size: 1.24rem;
}

.norm-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--bleu-deep);
  background: var(--white);
  border: 1px solid var(--bleu-line);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
}

.diag-points {
  display: grid;
  gap: 12px;
}

.diag-pt {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.diag-pt strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bleu-deep);
  margin-bottom: 4px;
}

.diag-pt.diag-warn {
  border-left: 3px solid var(--bleu);
  background: var(--bleu-soft);
  border-color: var(--bleu-line);
}

.diag-pt.diag-warn strong {
  color: var(--ink);
}

.diag-act {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.diag-docs {
  font-size: 0.82rem;
  color: var(--muted);
  flex: 1;
  min-width: 180px;
}

/* ---------- 6. TRANSPARENTA + STUDIO PHOTO + FAQ COMPACT ---------- */

.trust-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: start;
}

.studio-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  margin-bottom: 22px;
}

.studio-frame img {
  width: 100%;
  height: auto;
}

.rules-4 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rule-box {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
}

.rule-box strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.rule-box p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

.faq-stack {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease;
}

.faq-item[open] {
  border-color: var(--bleu-line);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.faq-item summary::after {
  content: "+";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--bleu-deep);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--bleu-deep);
  color: var(--white);
}

.faq-body {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- 7. CONTACT DIRECT (BLEU-NOAPTE) ---------- */

.sec-contact {
  background:
    radial-gradient(640px 380px at 12% 15%, rgba(0, 156, 224, 0.16), transparent 68%),
    var(--dark);
  color: var(--white);
  padding: 88px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.contact-left h2 {
  color: var(--white);
}

.contact-left .lead {
  color: #b4cce0;
  font-size: 1.02rem;
  margin-bottom: 1.6rem;
}

.direct-list {
  display: grid;
  gap: 14px;
  padding-top: 1.4rem;
  border-top: 1px solid var(--dark-line);
}

.phone-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.phone-big {
  font-family: var(--font-mono);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--white);
}

.phone-big:hover {
  color: var(--bleu-light);
}

.btn-wa {
  background: rgba(56, 189, 248, 0.14);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.36);
}

.btn-wa:hover {
  background: var(--bleu);
  border-color: var(--bleu);
  color: var(--white);
}

.contact-note {
  font-size: 0.85rem;
  color: #8aa7c0;
}

.email-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.94rem;
  color: #d4e6f4;
}

.email-row a {
  color: var(--bleu-light);
  font-weight: 600;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(186, 230, 253, 0.24);
  border-radius: 6px;
  padding: 5px 11px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.form-card {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-dark);
}

.form-card h3 {
  font-size: 1.24rem;
  margin-bottom: 4px;
}

.form-card .sub {
  font-size: 0.87rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

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

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.93rem;
  color: var(--ink);
  background: var(--ice);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--bleu);
  box-shadow: 0 0 0 3px rgba(0, 156, 224, 0.15);
}

.field textarea {
  min-height: 106px;
  resize: vertical;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.81rem;
  color: var(--muted);
}

.consent input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--bleu-deep);
  flex-shrink: 0;
}

.form-status {
  margin-top: 14px;
  padding: 12px 15px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  display: none;
}

.form-status.show { display: block; }
.form-status.ok { background: var(--bleu-soft); color: var(--bleu-deep); border: 1px solid var(--bleu-line); }
.form-status.err { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-status.info { background: var(--ice); color: var(--ink); border: 1px solid var(--line-strong); }

/* Banda P1000 & Footer */

.p1000-bridge {
  background: var(--ice);
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.p1000-bridge-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.p1000-bridge strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
}

.p1000-bridge span {
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer {
  background: #040c14;
  color: #829cb3;
  padding: 36px 0;
  font-size: 0.86rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 3px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: #b4cce0;
}

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

/* ---------- Pagina dedicata P1000 (Precision Engineering Bleu) ---------- */

.p1000-hero-v3 {
  background:
    radial-gradient(760px 380px at 50% 0%, rgba(0, 156, 224, 0.24), transparent 70%),
    var(--dark);
  color: var(--white);
  padding: 76px 0 80px;
  text-align: center;
}

.p1000-hero-v3 h1 {
  color: var(--white);
  font-size: clamp(2.15rem, 4.2vw, 3.3rem);
  max-width: 780px;
  margin: 0 auto 0.45em;
}

.p1000-hero-v3 p {
  color: #c2d8ea;
  font-size: 1.08rem;
  max-width: 650px;
  margin: 0 auto 1.8rem;
}

.p1000-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.p1000-code {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.86rem;
  background: var(--bleu);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.08em;
}

.p1000-dev {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: #bae6fd;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.34);
  padding: 6px 13px;
  border-radius: 999px;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 2rem;
}

.pain-card {
  background: var(--ice);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.94rem;
  color: var(--ink);
}

.pain-q {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bleu);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.pillars-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 2.2rem;
}

.p-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--bleu);
  border-radius: var(--radius-md);
  padding: 24px;
}

.p-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.mod-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 1.8rem 0 1.4rem;
}

.mod-pill {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  background: var(--white);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
}

.bonus-strip {
  max-width: 780px;
  margin: 0 auto;
  background: var(--bleu-soft);
  border: 1px dashed var(--bleu);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.93rem;
}

.bonus-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--bleu-deep);
  color: var(--white);
  padding: 4px 9px;
  border-radius: 5px;
  flex-shrink: 0;
}

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

.shot-fig {
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.shot-fig .zoom-trigger {
  width: 100%;
  height: 270px;
  background: var(--white);
}

.shot-fig figcaption {
  padding: 13px 16px;
  font-size: 0.88rem;
  color: #9bb4ca;
}

.shot-fig figcaption b {
  color: var(--white);
}

.impact-bleu {
  background: linear-gradient(135deg, var(--bleu-deep) 0%, var(--dark-2) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  text-align: center;
  margin: 2.6rem 0;
}

.impact-bleu h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.impact-bleu p {
  color: #d4e8f7;
  max-width: 680px;
  margin: 0 auto;
}

.benefits-3 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 2.4rem;
}

.benefits-3 li {
  background: var(--ice);
  border: 1px solid var(--line);
  border-left: 3px solid var(--bleu);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.9rem;
  color: var(--muted);
}

.benefits-3 li b {
  display: block;
  color: var(--ink);
  margin-bottom: 3px;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 12, 20, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox-dialog {
  max-width: 1060px;
  width: 100%;
  max-height: 92vh;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-dark);
}

.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--dark);
  color: var(--white);
}

.lightbox-title {
  font-size: 0.92rem;
  font-weight: 700;
}

.lightbox-close {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-body {
  padding: 16px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice);
  flex: 1;
}

.lightbox-body img {
  max-height: 70vh;
  width: auto;
  object-fit: contain;
  background: var(--white);
  border-radius: 6px;
}

.lightbox-caption {
  padding: 13px 18px;
  font-size: 0.89rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .lab-showcase,
  .d-panel.active,
  .diag-app,
  .trust-split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .diag-left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .hero-metrics,
  .lab-methods,
  .rs-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-item {
    padding: 14px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(186, 230, 253, 0.1);
  }

  .rs-bar-lead {
    grid-column: 1 / -1;
  }

  .bento-6,
  .pillars-3,
  .benefits-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 24px 18px;
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-links .mobile-only {
    display: block;
    margin-top: 10px;
  }

  .nav-links .mobile-only a {
    border-bottom: none;
    width: 100%;
    text-align: center;
    padding: 11px 16px;
    color: var(--white);
  }

  .nav-links .mobile-only a:hover {
    color: var(--white);
  }

  .nav-phone {
    display: none;
  }

  .burger {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .container {
    padding: 0 16px;
  }

  .nav-bar {
    min-height: 62px;
    gap: 10px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-sub,
  .nav-actions .btn {
    display: none;
  }

  .nav-links {
    top: 62px;
  }

  section,
  .sec-contact {
    padding: 60px 0;
  }

  .hero-cinema {
    min-height: auto;
    max-height: none;
    background-image:
      linear-gradient(180deg, rgba(7, 19, 31, 0.88) 0%, rgba(7, 19, 31, 0.84) 65%, rgba(7, 19, 31, 0.96) 100%),
      url("hero_structura.jpg");
    background-position: center;
  }

  .hero-inner {
    padding: 44px 16px 36px;
  }

  .hero-metrics,
  .bento-6,
  .lab-methods,
  .rs-bar,
  .rules-4,
  .form-grid,
  .pain-grid,
  .pillars-3,
  .shots-2,
  .benefits-3 {
    grid-template-columns: 1fr;
  }

  .hm-item {
    padding: 12px 0;
  }

  .lab-sub-fig {
    flex-direction: column;
  }

  .lab-sub-fig .zoom-trigger {
    width: 100%;
    height: 180px;
  }

  .diag-left,
  .diag-right,
  .cmp-card,
  .form-card {
    padding: 22px 18px;
  }

  .bonus-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
