/* =========================================================
   Office Container — new.officecontainer.ro
   Direcția A „Fișa tehnică” (docs/design.md). Mobil întâi.
   ========================================================= */

/* ---------- Fonturi (găzduite local, subset română, OFL) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-ro.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plex-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokeni ---------- */
:root {
  --bg: #F4F3F0;
  --surface: #FFFFFF;
  --ink: #16181B;
  --ink-2: #5A5F66;
  --line: #D9D7D2;
  --line-strong: #7A7F86;
  --brand-red: #DF3A3A;      /* roșul exact al logoului: doar logo/grafică/text ≥ 24 px */
  --action: #C62828;         /* roșu de acțiune: butoane, linkuri (AA) */
  --action-hover: #A81F1F;
  --action-tint: #FBEDEC;
  --dark: #16181B;
  --on-dark-2: #B8BCC2;
  --red-on-dark: #F26B6B;
  --success: #1E7A46;
  --error: #B3261E;
  --error-tint: #FDF0EF;
  --focus: #16181B;
  --wa: #25D366;

  --font: "Archivo", "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --r-s: 4px;
  --r-m: 8px;
  --cut: 12px;
  --shadow-1: 0 1px 2px rgba(22, 24, 27, .06);
  --shadow-2: 0 2px 4px rgba(22, 24, 27, .06), 0 12px 28px rgba(22, 24, 27, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --header-h: 56px;
  --bar-h: 64px;
  --gutter: 20px;
  --section-y: 64px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --section-y: 96px; --cut: 16px; }
}
@media (min-width: 1100px) {
  :root { --header-h: 72px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 48px; --section-y: 120px; }
}

/* ---------- Bază ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  font-variant-numeric: lining-nums;
}
@media (min-width: 1280px) { body { font-size: 1.125rem; } }
@media (max-width: 767.98px) {
  body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
strong { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sprite { display: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--r-s); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; outline-color: var(--action); }
.nowrap { white-space: nowrap; }
.mono { font-family: var(--mono); font-weight: 500; font-size: .94em; letter-spacing: -.01em; white-space: nowrap; }

.wrap {
  width: 100%;
  max-width: calc(1200px + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
}
.icon--lg { width: 28px; height: 28px; }
.icon--wa { color: var(--wa); }

/* ---------- Tipografie ---------- */
h1 {
  font-size: clamp(2rem, 1.25rem + 3.4vw, 3.75rem);
  font-weight: 800;
  font-stretch: 108%;
  line-height: 1.08;
  letter-spacing: -.01em;
}
h2 {
  font-size: clamp(1.625rem, 1.2rem + 1.9vw, 2.5rem);
  font-weight: 750;
  font-stretch: 104%;
  line-height: 1.15;
  letter-spacing: -.005em;
}
h3 {
  font-size: clamp(1.25rem, 1.1rem + .5vw, 1.625rem);
  font-weight: 700;
  line-height: 1.2;
}
.eyebrow, .kicker {
  font-size: .8125rem;
  font-weight: 600;
  font-stretch: 125%;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1.35;
  color: var(--ink-2);
}
@media (min-width: 768px) { .eyebrow, .kicker { font-size: .875rem; } }
.kicker { color: var(--ink); margin-bottom: var(--s-4); }

/* ---------- Butoane și linkuri ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border-radius: var(--r-s);
  border: 1.5px solid transparent;
  font-size: 1.0625rem; font-weight: 700; line-height: 1.15;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn--primary { background: var(--action); color: #fff; }
.btn--primary:hover { background: var(--action-hover); }
.btn--primary:active { transform: translateY(1px); }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: rgba(22, 24, 27, .06); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 0 28px; }
.btn__arrow { transition: transform .15s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  font-weight: 600;
}
.text-link:hover { text-decoration-color: var(--action); text-decoration-thickness: 2px; }
.text-link--action { color: var(--action); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .15s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__bar {
  display: flex; align-items: center; gap: var(--s-4);
  min-height: var(--header-h);
}
.logo { display: block; flex: none; padding: 4px 0; margin-right: auto; }
.logo img { height: 36px; width: auto; }
@media (min-width: 1100px) { .logo img { height: 40px; } }

.site-header__actions { display: flex; align-items: center; gap: var(--s-3); }
.header-phone, .header-wa {
  display: none; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 10px;
  font-weight: 700; text-decoration: none; white-space: nowrap;
  border-radius: var(--r-s);
}
.header-wa { width: 44px; justify-content: center; border: 1.5px solid var(--ink); }
.header-wa .icon { width: 22px; height: 22px; }
.header-phone:hover, .header-wa:hover { background: rgba(22, 24, 27, .06); }
.btn--header { display: none; --btn-h: 44px; padding: 0 18px; font-size: 1rem; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 12px;
  border: 1.5px solid var(--ink); border-radius: var(--r-s);
  background: transparent; font-weight: 700; text-decoration: none; cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }

.nav {
  display: none;
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--bg);
  padding: var(--s-5) var(--gutter);
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.nav:target, .nav.is-open { display: block; }
.nav__list { list-style: none; }
.nav__list a {
  display: flex; align-items: center;
  min-height: 56px;
  font-size: 1.375rem; font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav__list a:hover { color: var(--action); }
.nav__close {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: var(--s-5); min-height: 48px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: var(--r-s);
  font-weight: 700; text-decoration: none;
}
.nav-open { overflow: hidden; }

@media (min-width: 768px) {
  .btn--header { display: inline-flex; }
}
@media (min-width: 1100px) {
  .menu-toggle, .nav__close { display: none; }
  .nav, .nav:target {
    display: block; position: static; padding: 0; border: 0; background: none; overflow: visible;
  }
  .nav__list { display: flex; gap: 4px; }
  .nav__list a {
    min-height: 44px; padding: 0 10px; border: 0;
    font-size: 1rem; font-weight: 600;
    border-radius: var(--r-s);
  }
  .nav__list a:hover { background: rgba(22, 24, 27, .06); color: var(--ink); }
  .header-phone, .header-wa { display: inline-flex; }
}

/* ---------- Secțiuni ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--surface); }
.section__head { max-width: 46rem; margin-bottom: var(--s-7); }
.section__head h2 { margin-bottom: var(--s-4); }
.section__head p { max-width: 38rem; color: var(--ink); }
.section__cta { margin: var(--s-7) 0 0; }

/* Colț teșit (doar pe fotografii și etichete pline) */
.chamfer { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }
.photo { border-radius: var(--r-m); overflow: hidden; background: #E4E2DD; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 1. Hero ---------- */
.hero { padding-block: var(--s-6) var(--s-7); }
.hero__grid { display: grid; gap: var(--s-6); }
.hero .eyebrow { margin-bottom: var(--s-4); max-width: 30rem; }
.hero__vat { margin: var(--s-3) 0 var(--s-5); font-size: 1.0625rem; color: var(--ink-2); font-weight: 500; }
.hero__lead { max-width: 36rem; margin-bottom: var(--s-5); }
.hero__actions { display: flex; flex-direction: column; align-items: stretch; gap: var(--s-4); }
.hero__actions .text-link { align-self: flex-start; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
.hero__media { margin: 0; }
.hero__media .photo { aspect-ratio: 4 / 3; }
.dim-line { width: 100%; height: 22px; margin-top: 10px; overflow: visible; }
.dim-line line { stroke: var(--brand-red); vector-effect: non-scaling-stroke; }
.dim-line__ext { stroke-width: 1; }
.dim-line__main { stroke-width: 2; }
.dim-label {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px;
  margin-top: 4px; text-align: center;
}
.dim-label .mono { color: var(--ink); font-size: 1rem; }
.dim-label__sub { font-size: .875rem; color: var(--ink-2); }

.trust {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4);
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: .9375rem; font-weight: 600; line-height: 1.35;
}
.trust li { display: flex; gap: 8px; align-items: flex-start; }
.trust .icon { color: var(--success); margin-top: 1px; }

@media (min-width: 600px) {
  .hero__actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: var(--s-5); }
}
@media (min-width: 1024px) {
  .hero { padding-block: var(--s-8) var(--s-8); }
  .hero__grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: var(--s-8); }
  .trust { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 2. Containere / carduri ---------- */
.diff { list-style: none; display: grid; gap: var(--s-4); margin-top: var(--s-5); }
.diff li { display: flex; gap: var(--s-4); align-items: flex-start; max-width: 38rem; }
.pict { width: 64px; height: 40px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.5; }
.pict--sm { width: 48px; height: 30px; margin-top: 2px; }

.cards { display: grid; gap: var(--s-5); }
@media (min-width: 768px) { .cards { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--s-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), transform .15s var(--ease), background-color .15s var(--ease);
}
@media (min-width: 1024px) { .card { padding: var(--s-6); } }
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); transform: translateY(-2px); }
}
.card__photo {
  margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-5);
  aspect-ratio: 16 / 9; overflow: hidden; background: #E4E2DD;
  max-width: none;
}
@media (min-width: 1024px) { .card__photo { margin: calc(var(--s-6) * -1) calc(var(--s-6) * -1) var(--s-5); } }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__tags { margin: 0 0 var(--s-4); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 18px 6px 10px;
  background: var(--ink); color: #fff;
  font-size: .8125rem; font-weight: 600; font-stretch: 125%;
  text-transform: uppercase; letter-spacing: .12em; line-height: 1.2;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}
.tag .icon { width: 14px; height: 14px; }
.tag--chosen { display: none; background: var(--action); }
.card__head { display: flex; justify-content: space-between; gap: var(--s-4); align-items: flex-start; }
.card__head h3 { max-width: 20ch; }
.card__short { margin: var(--s-2) 0 var(--s-4); color: var(--ink-2); }
.price { padding-block: var(--s-4); border-block: 1px solid var(--line); margin-bottom: var(--s-4); }
.price__main { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price__num {
  font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  font-weight: 800; line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.price__vat { font-size: clamp(1.125rem, 1rem + .3vw, 1.25rem); font-weight: 600; white-space: nowrap; }
.price__inc { margin: var(--s-2) 0 0; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.card__incl { display: flex; gap: 10px; align-items: flex-start; margin-bottom: var(--s-4); }
.card__incl .icon { color: var(--success); margin-top: 3px; }
.specs { list-style: none; margin-bottom: var(--s-4); font-size: .9375rem; line-height: 1.5; }
.specs li { padding-block: 10px; border-bottom: 1px solid var(--line); }
.specs li:first-child { border-top: 1px solid var(--line); }
.card__for { font-size: .9375rem; color: var(--ink-2); margin-bottom: var(--s-5); }
.card__cta { margin-top: auto; }

/* stare „Ales” */
.card.is-selected { border: 2px solid var(--action); background: var(--action-tint); box-shadow: var(--shadow-2); }
.card.is-selected .tag--default { display: none; }
.card.is-selected .tag--chosen { display: inline-flex; }
.card.is-selected .pict { stroke: var(--action); }

.price-note { max-width: 46rem; margin-top: 0; font-size: .9375rem; color: var(--ink-2); }
.price-note strong { color: var(--ink); font-weight: 600; }
.price-note .em { font-weight: 700; }

.example {
  margin-top: 0;
  max-width: 40rem;
  border: 1px solid var(--line); border-radius: var(--r-m);
  background: var(--bg);
  padding: var(--s-5);
}
.example__table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.example__table caption {
  text-align: left; font-weight: 700; font-size: 1.0625rem; margin-bottom: var(--s-3); line-height: 1.35;
}
.example__table th, .example__table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.example__table thead th { font-size: .8125rem; color: var(--ink-2); font-weight: 600; }
.example__table td, .example__table thead th { text-align: right; white-space: nowrap; padding-left: var(--s-4); font-variant-numeric: tabular-nums; }
.example__table tbody th { font-weight: 400; }
.example__table tfoot th, .example__table tfoot td { font-weight: 800; border-bottom: 0; padding-top: 12px; font-size: 1.0625rem; }
.example__note { margin: var(--s-4) 0 0; font-size: .9375rem; color: var(--ink-2); }
.unsure { margin: var(--s-6) 0 0; max-width: 46rem; font-weight: 500; }
.unsure .text-link { white-space: nowrap; }

/* ---------- 3. Ce include ---------- */
.incl { display: grid; gap: var(--s-5); }
.incl__col {
  background: var(--surface);
  border-radius: var(--r-m);
  border-top: 3px solid var(--line-strong);
  padding: var(--s-5);
  box-shadow: var(--shadow-1);
}
.incl__col--yes { border-top-color: var(--success); }
.incl__col--extra { border-top-color: var(--ink); }
.incl__head { display: flex; gap: var(--s-3); align-items: flex-start; margin-bottom: var(--s-4); }
.incl__col--yes .incl__head .icon { color: var(--success); }
.incl__sub { margin: 4px 0 0; font-size: .9375rem; color: var(--ink-2); }
.incl__list { list-style: none; font-size: .9375rem; line-height: 1.5; }
.incl__list li {
  position: relative;
  padding: 10px 0 10px 30px;
  border-top: 1px solid var(--line);
}
.incl__list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
}
.incl__col--yes li::before {
  border-color: var(--success);
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.6L13 6.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.incl__col--extra li::before {
  border-color: var(--ink);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M9 5.5v7M5.5 9h7' fill='none' stroke='%2316181B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.incl__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  min-height: 48px; padding: 0 14px; margin-bottom: var(--s-3);
  background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  font-weight: 700; cursor: pointer; text-align: left;
}
.incl__toggle::after {
  content: ""; width: 10px; height: 10px; margin-left: 12px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s var(--ease);
}
.incl__toggle[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-2px); }

@media (min-width: 768px) {
  .incl { grid-template-columns: 1fr 1fr; }
  .incl__col--yes { grid-column: 1 / -1; }
  .incl__col--yes .incl__list { columns: 2; column-gap: var(--s-6); }
  .incl__col--yes .incl__list li { break-inside: avoid; }
}
@media (min-width: 1024px) {
  .incl { grid-template-columns: repeat(3, 1fr); }
  .incl__col--yes { grid-column: auto; }
  .incl__col--yes .incl__list { columns: 1; }
  .incl__col { padding: var(--s-6) var(--s-5); }
}

.shots {
  list-style: none;
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: var(--s-4);
  margin-top: var(--s-7);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: var(--s-2);
}
.shots li { scroll-snap-align: start; }
.shots figure { margin: 0; }
.shots .photo { aspect-ratio: 3 / 4; }
@media (min-width: 600px) { .shots .photo { aspect-ratio: 4 / 5; } }
.shots figcaption { margin-top: var(--s-3); font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.shots figcaption strong { color: var(--ink); }
@media (min-width: 600px) {
  .shots { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
}

/* Schița de dimensiuni */
.sketch {
  margin-top: var(--s-7);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: var(--s-5);
}
@media (min-width: 1024px) { .sketch { padding: var(--s-6); } }
.sketch__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-5); }
.sketch__bar .eyebrow { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); }
.sketch__bar .eyebrow .icon { color: var(--brand-red); width: 24px; height: 24px; }
.seg { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--r-s); overflow: hidden; }
.seg__btn {
  min-height: 44px; padding: 0 18px;
  background: transparent; border: 0; cursor: pointer; font-weight: 700;
}
.seg__btn + .seg__btn { border-left: 1.5px solid var(--ink); }
.seg__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg__btn:focus-visible { outline-offset: -5px; outline-color: var(--action); }

.sketch__views { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .sketch__views { grid-template-columns: 1fr 1fr; gap: var(--s-6); } }
.sketch__view { margin: 0; }
.drawing { width: 100%; max-width: 520px; height: auto; margin-inline: auto; overflow: visible; }
.drawing .dr-out { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.drawing .dr-in { fill: none; stroke: var(--brand-red); stroke-width: 1.2; stroke-dasharray: 4 3; opacity: 0; transition: opacity .25s var(--ease); }
.drawing .dr-thin { fill: none; stroke: var(--ink); stroke-width: 1; }
.drawing .dr-open { stroke: var(--surface); stroke-width: 3; }
.drawing .dr-fill { fill: var(--ink); }
.drawing .dr-ground { stroke: var(--line-strong); stroke-width: 1; }
.dim__ext { stroke: var(--brand-red); stroke-width: 1; }
.dim__line { stroke: var(--brand-red); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 0; }
.dim__bg { fill: var(--surface); }
.dim__txt { font-family: var(--mono); font-weight: 500; font-size: 20px; fill: var(--ink); transition: opacity .2s var(--ease); }
.sketch__views[data-mode="int"] .dr-in { opacity: 1; }
.sketch__views.is-switching .dim__txt { opacity: 0; }
@media (min-width: 900px) { .dim__txt { font-size: 17px; } }
.sketch__values { list-style: none; margin-top: var(--s-5); display: grid; gap: 6px; font-size: .9375rem; }
@media (min-width: 900px) { .sketch__values { grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--s-6); } }
.sketch__legend { margin: var(--s-4) 0 0; color: var(--ink-2); font-size: .9375rem; }

/* ---------- 4. Utilizări ---------- */
.uses { list-style: none; display: grid; gap: var(--s-4); }
.use {
  display: grid; grid-template-columns: 40px 1fr; gap: 4px var(--s-4);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  align-content: start;
}
.use .icon--use { width: 32px; height: 32px; grid-row: span 2; color: var(--ink); }
.use h3 { font-size: 1.1875rem; }
.use p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
@media (min-width: 768px) {
  .uses { grid-template-columns: 1fr 1fr; gap: 0 var(--s-6); }
}
@media (min-width: 1024px) {
  .uses { grid-template-columns: repeat(3, 1fr); }
  .use { grid-template-columns: 1fr; padding: var(--s-6) 0; }
  .use .icon--use { grid-row: auto; margin-bottom: var(--s-3); width: 36px; height: 36px; }
}

/* ---------- 5. Pași ---------- */
.steps { list-style: none; counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  position: relative;
  padding: 0 0 var(--s-6) 44px;
  border-left: 1px solid var(--line);
  margin-left: 20px;
}
.step:last-child { border-left-color: transparent; padding-bottom: 0; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -21px; top: -2px;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--bg); border: 1.5px solid var(--ink); border-radius: var(--r-s);
  font-family: var(--mono); font-weight: 500; font-size: 1rem;
}
.step p { margin: 0; }
.step__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px !important; }
.step__sep { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.step__title { display: block; font-size: 1.1875rem; line-height: 1.3; margin-bottom: 4px; }
.who, .pay {
  display: inline-block; padding: 3px 8px;
  font-size: .8125rem; font-weight: 600; font-stretch: 125%; letter-spacing: .1em; text-transform: uppercase;
  border-radius: var(--r-s); line-height: 1.3;
}
.who--us { border: 1.5px solid var(--ink); }
.who--you { background: var(--surface); border: 1.5px solid var(--line); }
.who--both { border: 1.5px dashed var(--ink); }
.pay { background: var(--ink); color: #fff; border: 1.5px solid var(--ink); }
.steps__note { margin: var(--s-6) 0 0; color: var(--ink-2); font-size: .9375rem; max-width: 46rem; }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-7) var(--s-6); }
  .step { border-left: 0; margin-left: 0; padding: 64px 0 0; border-top: 1px solid var(--line); }
  .step:last-child { padding-bottom: 0; }
  .step::before { left: 0; top: -21px; }
}

/* ---------- 6. Despre ---------- */
.about__dark { background: var(--dark); color: #fff; padding-block: var(--section-y); }
.about__dark :focus-visible { outline-color: #fff; }
.about__grid { display: grid; gap: var(--s-7); }
.about__text h2 { margin-bottom: var(--s-5); }
.about__text p { color: var(--on-dark-2); max-width: 38rem; }
.stats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5) var(--s-4); margin-top: var(--s-6); }
.stats li { border-top: 1px solid rgba(255, 255, 255, .2); padding-top: var(--s-3); }
.stats strong { display: block; font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; }
.stats span { display: block; color: var(--on-dark-2); font-size: .9375rem; margin-top: 4px; }
.about__media { margin: 0; }
.about__media .photo { aspect-ratio: 16 / 9; }
.about__media figcaption { margin-top: var(--s-3); font-size: .875rem; color: var(--on-dark-2); }
.benefits { list-style: none; display: grid; gap: var(--s-5); }
.benefits li { display: flex; gap: var(--s-4); align-items: flex-start; border-top: 1px solid rgba(255, 255, 255, .2); padding-top: var(--s-4); }
.benefits .icon { color: var(--red-on-dark); }
.benefits p { margin: 0; color: var(--on-dark-2); }
.benefits strong { color: #fff; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1.15fr 1fr; align-items: start; gap: var(--s-7) var(--s-8); }
  .benefits { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

.about__light { padding-block: var(--section-y); }
.proof { display: grid; gap: var(--s-7); }
.clients { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.clients li {
  padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-s);
  font-weight: 600; font-size: .9375rem; line-height: 1.3;
}
.proof__photo { margin: var(--s-5) 0 0; }
.proof__photo .photo { aspect-ratio: 960 / 443; }
@media (min-width: 1024px) { .proof { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

.gallery-block { margin-top: var(--s-8); }
.gallery-scroll { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--s-3); }
.gallery-scroll:focus-visible { outline-offset: 4px; }
.gallery { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--s-4); }
.gallery li { scroll-snap-align: start; }
.gallery figure { margin: 0; }
.gallery .photo { aspect-ratio: 3 / 2; }
.gallery .photo--portrait img { object-position: 50% 45%; }
.gallery figcaption { margin-top: var(--s-3); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
@media (min-width: 768px) {
  .gallery-scroll { overflow: visible; }
  .gallery { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
}

/* ---------- 7. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  min-height: 56px; padding: var(--s-4) 0;
  font-weight: 700; font-size: 1.0625rem; line-height: 1.35;
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 7v14M7 14h14' fill='none' stroke='%2316181B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--action); }
.faq details p { margin: 0 0 var(--s-5); max-width: 42rem; color: var(--ink); }
@media (min-width: 768px) { .faq summary { font-size: 1.1875rem; } }

/* ---------- 8. Formular ---------- */
.offer__grid { display: grid; gap: var(--s-7); }
@media (min-width: 1024px) { .offer__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s-8); align-items: start; } }
.offer__main h2 { margin-bottom: var(--s-3); }
.offer__main h2:focus { outline: none; }
.offer__main h2:focus-visible { outline: 3px solid var(--focus); }
.reassure {
  display: flex; gap: 10px; align-items: flex-start;
  padding: var(--s-4); background: var(--surface); border-left: 4px solid var(--success); border-radius: var(--r-s);
  font-weight: 600; margin-bottom: var(--s-5);
}
.reassure .icon { color: var(--success); margin-top: 2px; }

.form {
  background: var(--surface);
  border-radius: var(--r-m);
  padding: var(--s-5);
  box-shadow: var(--shadow-1);
  max-width: 640px;
}
@media (min-width: 768px) { .form { padding: 40px; } }
.form__req { font-size: .9375rem; color: var(--ink-2); }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field > label, .field legend {
  display: block; margin-bottom: 8px; padding: 0;
  font-weight: 700; font-size: 1rem; line-height: 1.35;
}
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  display: block; width: 100%;
  min-height: 52px; padding: 12px 14px;
  font-size: 1rem; line-height: 1.4;
  background: #fff; color: var(--ink);
  border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  transition: border-color .15s var(--ease);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select { appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%2316181B' stroke-width='1.8'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.field input::placeholder, .field textarea::placeholder { color: #6B7077; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  border-color: var(--ink); border-width: 2px; outline-offset: 2px;
}
.field__meta { display: flex; justify-content: space-between; gap: var(--s-4); margin: 8px 0 0; font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.counter { flex: none; font-variant-numeric: tabular-nums; }
.field__error { display: none; margin: 8px 0 0; color: var(--error); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.field__error::before {
  content: "!"; display: inline-grid; place-items: center;
  width: 18px; height: 18px; margin-right: 8px; border-radius: 50%;
  background: var(--error); color: #fff; font-size: .75rem; font-weight: 800; vertical-align: 1px;
}
.field.has-error .field__error { display: block; animation: fade .15s var(--ease); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); border-width: 2px; }

.plates { display: grid; gap: 10px; }
@media (min-width: 600px) { .plates { grid-template-columns: repeat(3, 1fr); } }
.plate {
  display: flex; align-items: flex-start; gap: 10px;
  min-height: 56px; padding: 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  background: #fff; cursor: pointer;
  transition: border-color .15s var(--ease), background-color .15s var(--ease);
}
.plate:hover { border-color: var(--ink); }
.plate input, .chip input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--action); flex: none; }
.plate__body { display: flex; flex-direction: column; gap: 2px; }
.plate__name { font-weight: 700; line-height: 1.25; }
.plate__price { font-size: .875rem; color: var(--ink-2); }
.plate:has(input:checked) { border: 2px solid var(--action); background: var(--action-tint); }
.plate:has(input:focus-visible), .chip:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.plate input:focus-visible, .chip input:focus-visible { outline: none; }
.choice-note { margin: 10px 0 0; font-size: .9375rem; color: var(--ink); line-height: 1.45; }
.choice-note:empty { display: none; }
.field--choice.has-error .plate { border-color: var(--error); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  background: #fff; cursor: pointer; font-weight: 600;
}
.chip:hover { border-color: var(--ink); }
.chip:has(input:checked) { border-color: var(--action); background: var(--action-tint); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { margin-top: var(--s-5); }
.form__submit .btn { width: 100%; }
@media (min-width: 768px) { .form__submit .btn { width: auto; } }
.form__micro { margin: var(--s-3) 0 0; font-size: .875rem; color: var(--ink-2); }
.form__privacy { margin: var(--s-4) 0 0; font-size: .875rem; color: var(--ink-2); }
.form__privacy a { color: var(--ink); font-weight: 600; }
.btn__busy { display: none; align-items: center; gap: 10px; }
.form.is-sending .btn__label, .form.is-sending .btn__arrow { display: none; }
.form.is-sending .btn__busy { display: inline-flex; }
.form.is-sending button[type="submit"] { opacity: .6; cursor: progress; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: spin .8s linear infinite;
}

.err-summary {
  margin-bottom: var(--s-5); padding: var(--s-4);
  background: var(--error-tint); border-left: 4px solid var(--error); border-radius: var(--r-s);
}
.err-summary:focus { outline: none; }
.err-summary:focus-visible { outline: 3px solid var(--focus); }
.err-summary__title { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; font-weight: 700; color: var(--error); }
.err-summary__title .icon { margin-top: 2px; }
.err-summary__list { padding-left: 28px; }
.err-summary__list a { color: var(--error); font-weight: 600; }

.status { display: none; padding: var(--s-5); border-radius: var(--r-m); margin-bottom: var(--s-5); }
.status:target, .status.is-visible { display: block; }
.status:focus { outline: none; }
.status--ok { background: var(--surface); border: 2px solid var(--success); }
.status--ok:target ~ .form { display: none; }
.status--err { background: var(--error-tint); border-left: 4px solid var(--error); }
.status__title { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: 1.25rem; line-height: 1.3; margin-bottom: 8px; }
.status--err .status__title { color: var(--error); font-size: 1.0625rem; }
.status__icon { width: 48px; height: 48px; margin-bottom: var(--s-3); fill: none; stroke: var(--success); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.status__tick { stroke-dasharray: 1; stroke-dashoffset: 0; }
.status__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-4) 0 0; }
.status a:not(.btn) { color: inherit; font-weight: 700; }

.offer__aside { padding-top: var(--s-2); }
.direct__btns { display: grid; gap: var(--s-3); margin-bottom: var(--s-5); }
.direct { list-style: none; display: grid; gap: var(--s-4); font-size: .9375rem; }
.direct li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.direct .icon { margin-top: 2px; color: var(--ink-2); }
.direct a { color: var(--ink); }
@media (min-width: 1024px) { .offer__aside { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark); color: var(--on-dark-2);
  padding-block: var(--s-8) var(--s-6);
  font-size: .9375rem;
}
.site-footer :focus-visible { outline-color: #fff; }
.site-footer a { color: #fff; }
.footer__logo { height: 40px; width: auto; margin-bottom: var(--s-4); }
.footer__slogan { color: #fff; font-size: 1.125rem; font-weight: 500; }
.footer__about { max-width: 40rem; }
.footer__cols { display: grid; gap: var(--s-6); margin-top: var(--s-6); padding-top: var(--s-6); border-top: 1px solid rgba(255, 255, 255, .16); }
.footer__h { color: #fff; font-weight: 600; font-stretch: 125%; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: var(--s-3); }
.footer__label { color: #fff; }
.anpc { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.anpc a { display: block; border-radius: var(--r-s); }
.anpc img { width: 200px; height: auto; }
.footer__copy { margin: var(--s-6) 0 0; padding-top: var(--s-5); border-top: 1px solid rgba(255, 255, 255, .16); font-size: .875rem; }
@media (min-width: 900px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Bara fixă mobil ---------- */
.quickbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: auto auto 1fr; gap: 4px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(22, 24, 27, .06);
  transition: transform .2s var(--ease);
}
.quickbar__item {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 48px; padding: 0 10px; white-space: nowrap;
  font-size: .9375rem; font-weight: 600; text-decoration: none; color: var(--ink);
  border-radius: var(--r-s);
}
.quickbar__item--cta { background: var(--action); color: #fff; font-weight: 700; }
.quickbar__item--cta:hover { background: var(--action-hover); }
.js .quickbar:not(.is-shown) { transform: translateY(110%); }
@media (min-width: 768px) { .quickbar { display: none; } }

/* ---------- Mișcare discretă (CSS + IntersectionObserver) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes rise-only { from { transform: translateY(12px); } to { transform: none; } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes join-l { from { transform: translateX(-8px); } to { transform: none; } }
@keyframes join-r { from { transform: translateX(8px); } to { transform: none; } }
@keyframes join-t { from { transform: translateY(-8px); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  /* Hero: pornește din CSS, fără să aștepte JS; H1 nu e estompat (LCP) */
  .hero .eyebrow.hero__in { animation: rise .5s var(--ease) both; }
  .hero__title { animation: rise-only .5s var(--ease) .06s both; }
  .hero__vat.hero__in { animation: rise .5s var(--ease) .12s both; }
  .hero__lead.hero__in { animation: rise .5s var(--ease) .18s both; }
  .hero__actions.hero__in { animation: rise .5s var(--ease) .24s both; }
  .dim-line__main { stroke-dasharray: 1; animation: draw .7s var(--ease) .3s both; }
  .dim-label { animation: fade .4s var(--ease) .9s both; }

  /* Apariții la intrarea în ecran (doar când main.js a pornit observatorul) */
  .io .reveal { transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .io .reveal:not(.is-in) { opacity: 0; transform: translateY(16px); }
  .io .cards .card.reveal:nth-child(2) { transition-delay: .08s; }
  .io .use.reveal:nth-child(3n+2), .io .step.reveal:nth-child(3n+2) { transition-delay: .06s; }
  .io .use.reveal:nth-child(3n), .io .step.reveal:nth-child(3n) { transition-delay: .12s; }
  .io .card.reveal.is-in { transition-delay: 0s; transition-duration: .15s; }

  .io .pict--modular rect { transition: transform .5s var(--ease) .2s; }
  .io .card:not(.is-in) .pict--modular .m1 { transform: translateX(-6px); }
  .io .card:not(.is-in) .pict--modular .m2 { transform: translateX(6px); }
  .io .card:not(.is-in) .pict--modular .m3 { transform: translateY(-6px); }

  .io .sketch .dim__line { transition: stroke-dashoffset .6s var(--ease) .15s; }
  .io .sketch:not(.is-in) .dim__line { stroke-dashoffset: 1; }

  .status.is-visible .status__tick { animation: draw .3s var(--ease) .1s both; }
  .status.is-visible { animation: fade .2s var(--ease); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .spinner { animation: none; border-top-color: rgba(255, 255, 255, .4); }
}

/* ---------- Pagina de confidențialitate ---------- */
.legal { padding-block: var(--s-7) var(--section-y); }
.legal h1 { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); margin-bottom: var(--s-5); }
.legal h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin: var(--s-6) 0 var(--s-3); }
.legal p, .legal li { max-width: 42rem; }
.legal ul { padding-left: 1.25em; margin-bottom: 1em; }
.legal a { color: var(--action); font-weight: 600; }
.legal .note { padding: var(--s-4); background: var(--surface); border-left: 4px solid var(--line-strong); border-radius: var(--r-s); color: var(--ink-2); }

/* ---------- Print ---------- */
@media print {
  .site-header, .quickbar, .form, .offer__aside .direct__btns, .seg { display: none !important; }
  body { background: #fff; padding: 0; }
  .about__dark, .site-footer { background: #fff; color: #000; }
}
@media (max-width: 767.98px) { body.page-legal { padding-bottom: 0; } }


/* =========================================================
   Runda QA final (design.md §13 + decizii client) — 2026-12-01
   ========================================================= */

/* Hero: supratitlu scurt pe mobil, fără text duplicat în HTML */
.eyebrow__short::before { content: " · Fabrică în"; }
@media (max-width: 599.98px) {
  .eyebrow__long { display: none; }
}
@media (min-width: 600px) {
  .eyebrow__short { display: none; }
}
@media (min-width: 1280px) {
  h1 { font-size: 3.25rem; }
}
.trust__clients { margin: var(--s-4) 0 0; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
.trust__clients-label { color: var(--ink); font-weight: 600; }
.trust__clients .text-link { font-size: .875rem; white-space: nowrap; }

/* #containere: mini-comparativ pe mobil în locul listei .diff */
.minicmp { list-style: none; display: none; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: var(--s-4); }
.minicmp a {
  display: block; height: 100%;
  padding: 12px; border: 1.5px solid var(--line-strong); border-radius: var(--r-s);
  text-decoration: none; font-size: .9375rem; line-height: 1.4; background: var(--surface);
}
.minicmp a:hover { border-color: var(--ink); }
.minicmp__name { font-weight: 800; }
.minicmp strong { display: inline-block; font-size: 1.0625rem; }
@media (max-width: 767.98px) {
  .hide-m { display: none; }
  .diff { display: none; }
  .minicmp { display: grid; }
  #containere .section__head { margin-bottom: var(--s-5); }
  .card__photo { aspect-ratio: 2 / 1; }
}

/* Carduri */
.card__caption { margin: calc(var(--s-3) * -1) 0 var(--s-4); font-size: .875rem; color: var(--ink-2); line-height: 1.45; }
.specs-more { margin-bottom: var(--s-4); border-top: 1px solid var(--line); }
.specs-more > summary {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 48px; cursor: pointer; list-style: none; font-weight: 700; font-size: .9375rem;
}
.specs-more > summary::-webkit-details-marker { display: none; }
.specs-more > summary::after {
  content: ""; width: 9px; height: 9px; margin-right: 4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease);
}
.specs-more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.specs-more .specs { margin-bottom: 0; }
.specs-more .specs li:first-child { border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .card__head h3 { max-width: none; }
}

/* Notă de preț + exemplu alăturate pe ecrane late */
.pricing-extra { display: grid; gap: var(--s-5); margin-top: var(--s-6); }
@media (min-width: 1024px) {
  .pricing-extra { grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: start; }
  .pricing-extra .example { max-width: none; }
}

/* Ce include: „Inclus” arată primele 5 rânduri pe mobil */
.incl__list.is-clipped li:nth-child(n+6) { display: none; }
.incl__toggle--after { margin: var(--s-3) 0 0; }

/* Schița: o singură vedere pe ecrane înguste, comutator Plan / Fațadă */
.sketch__cap { margin-top: var(--s-2); text-align: right; color: var(--ink-2); max-width: 520px; margin-inline: auto; }
.sketch__bar { gap: var(--s-3); }
.sketch__bar .seg { flex: none; }
@media (max-width: 899.98px) {
  .sketch__views.is-single[data-view="plan"] .sketch__view[data-view="fatada"],
  .sketch__views.is-single[data-view="fatada"] .sketch__view[data-view="plan"] { display: none; }
  .sketch__bar .eyebrow { flex-basis: 100%; }
}
@media (min-width: 900px) {
  .seg--view { display: none !important; }
}

/* Utilizări pe mobil: 2 coloane, icon + titlu */
@media (max-width: 767.98px) {
  .uses { grid-template-columns: 1fr 1fr; gap: 10px; }
  .use {
    display: flex; flex-direction: column; gap: 10px;
    padding: var(--s-4); border: 1px solid var(--line); border-radius: var(--r-s);
  }
  .use .icon--use { width: 28px; height: 28px; }
  .use h3 { font-size: 1rem; line-height: 1.3; }
  .use p { display: none; }
}

/* Despre pe mobil: fără beneficii (repetă banda din hero) și fără poză */
@media (max-width: 767.98px) {
  .benefits, .about__media { display: none; }
  .about__grid { gap: var(--s-5); }
}

/* Galerie: 2 poze + listă text */
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
.gallery__more { margin: var(--s-4) 0 0; font-size: .9375rem; color: var(--ink-2); max-width: 46rem; }

/* FAQ: „Alte întrebări (6)” */
.faq__more > summary { color: var(--ink-2); }
.faq__more[open] > summary { color: var(--ink); }
.faq__more-list { border-top: 1px solid var(--line); margin-left: var(--s-4); }
.faq__more-list details:last-child { border-bottom: 0; }

/* Formular */
.legend__hint { font-weight: 400; color: var(--ink-2); font-size: .9375rem; }

/* Footer: „Setări cookie-uri” */
.link-btn {
  padding: 0; border: 0; background: none; cursor: pointer;
  color: #fff; text-decoration: underline; text-underline-offset: 3px; font: inherit;
}

/* Banner consimțământ cookie-uri (consent.js) */
.cookie {
  position: fixed; z-index: 45; left: 8px; right: 8px;
  bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px) + 8px);
  max-width: 560px;
  padding: var(--s-4);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--r-m);
  box-shadow: var(--shadow-2);
  font-size: .9375rem; line-height: 1.45;
}
.cookie__text { margin: 0 0 var(--s-3); }
.cookie__text a { color: var(--ink); font-weight: 600; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn--choice { --btn-h: 44px; padding: 0 16px; background: var(--ink); color: #fff; font-size: 1rem; }
.btn--choice:hover { background: #2B2E33; }
@media (min-width: 768px) {
  .cookie { left: auto; right: 24px; bottom: 24px; }
}
@media print { .cookie { display: none !important; } }
.link-btn--dark { color: var(--action); font-weight: 600; }

/* Scurtare pe mobil (țintă ~15 ecrane la 390 px) — nimic șters din HTML */
@media (max-width: 767.98px) {
  :root { --section-y: 48px; }
  .section__head { margin-bottom: var(--s-6); }
  .card { padding: var(--s-5) var(--s-4); }
  .card__photo { margin: calc(var(--s-5) * -1) calc(var(--s-4) * -1) var(--s-4); }
  .card__short { margin-bottom: var(--s-3); }
  .price { padding-block: var(--s-3); margin-bottom: var(--s-3); }
  .card__for { font-size: .875rem; margin-bottom: var(--s-4); }
  .example { padding: var(--s-4); }
  .shots { grid-auto-columns: 62%; margin-top: var(--s-6); }
  .sketch { margin-top: var(--s-6); padding: var(--s-4); }
  .step { padding-bottom: var(--s-5); }
  .step p { font-size: .9375rem; line-height: 1.55; }
  .stats { margin-top: var(--s-5); }
  .clients li { padding: 6px 10px; font-size: .875rem; }
  .gallery-block { margin-top: var(--s-6); }
  .proof { gap: var(--s-6); }
  .direct__btns { display: none; }
  .field { margin-bottom: 16px; }
  .field textarea { min-height: 104px; }
  .site-footer { padding-block: var(--s-7) var(--s-5); }
  .footer__about { display: none; }
  .footer__cols { gap: var(--s-5); margin-top: var(--s-5); padding-top: var(--s-5); }
  .footer__copy { margin-top: var(--s-5); }
}
@media (max-width: 767.98px) {
  .hero { padding-bottom: var(--s-6); }
  .trust { margin-top: var(--s-6); padding-top: var(--s-4); }
  .incl__col { padding: var(--s-4); }
  .incl { gap: var(--s-4); }
  .reassure { padding: var(--s-3); margin-bottom: var(--s-4); }
  .form { padding: var(--s-4); }
}

/* Card C1: legendă pe poză (prețurile rămân aliniate între carduri) */
.card__fig { position: relative; margin: calc(var(--s-5) * -1) calc(var(--s-5) * -1) var(--s-5); }
.card__fig .card__photo { margin: 0; }
.card__fig .card__caption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: 6px 12px; background: rgba(22, 24, 27, .78); color: #fff;
  font-size: .8125rem; line-height: 1.4;
}
@media (min-width: 1024px) { .card__fig { margin: calc(var(--s-6) * -1) calc(var(--s-6) * -1) var(--s-5); } }
@media (max-width: 767.98px) { .card__fig { margin: calc(var(--s-5) * -1) calc(var(--s-4) * -1) var(--s-4); } }
