/* =====================================================================
   Kinder Print — Tipografie · Chișinău
   style.css

   Paletă CMYK (preluată din logo):
     cyan    #29ABE2
     magenta #E6007E
     galben  #FBB03B  (accent lizibil pe alb: --yellow-strong)
     negru   #1B2434  (--ink)
   Fundal: alb / gri foarte deschis
   ===================================================================== */

/* ------------------------- Variabile ------------------------- */
:root {
  --cyan:          #00AEEF;
  --magenta:       #E4007C;
  --yellow:        #FFC800;
  --yellow-strong: #B07D00;   /* galben lizibil ca text/iconiță pe fundal deschis */
  --ink:           #15161B;

  --bg:        #FAF9F5;        /* alb-hârtie */
  --bg-soft:   #F1EFE7;
  --text:      #15161B;
  --text-soft: #5a5b63;
  --border:    #e0ddd2;        /* hairline pe hârtie */

  --radius:    14px;
  --radius-sm: 10px;
  --shadow:    0 2px 10px rgba(21, 22, 27, .05);
  --shadow-lg: 0 10px 30px rgba(21, 22, 27, .09);

  --container: 1180px;
  --header-h:  78px;

  --font-head: "Big Shoulders Display", "Arial Narrow", "Segoe UI", system-ui, sans-serif;
  --font-body: "Work Sans", "Segoe UI", system-ui, sans-serif;
}

/* ------------------------- Reset ------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Link „sari la conținut" pentru accesibilitate */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 10px 0;
  font-family: var(--font-head, sans-serif);
}
.skip-link:focus { left: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
p { margin: 0 0 1em; }

/* ------------------------- Layout ------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section.about { background: var(--bg-soft); }

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  color: var(--magenta);
  margin: 0 0 .7em;
}

.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.section-lead { color: var(--text-soft); font-size: 1.06rem; margin: 0; }

/* ------------------------- Butoane ------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 10px 26px rgba(230, 0, 126, .35);
}
.btn-primary:hover { background: #cc0070; }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }

.btn-call { background: var(--cyan); color: #fff; box-shadow: 0 10px 26px rgba(41, 171, 226, .32); }
.btn-call:hover { background: #1c9bd0; }
.btn-call strong { font-weight: 700; }

.btn-telegram { background: #229ED9; color: #fff; }
.btn-telegram:hover { background: #1b8ec4; }
.btn-viber { background: #7360F2; color: #fff; }
.btn-viber:hover { background: #5f4de0; }

/* ===================================================================
   HEADER
   =================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled {
  border-color: var(--border);
  box-shadow: 0 4px 22px rgba(27, 36, 52, .07);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}
.logo-text em {
  font-style: normal;
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.main-nav { margin-left: auto; }
.main-nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.main-nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { width: 100%; }

.header-call { flex-shrink: 0; }

/* ---------- Comutator de limbă RO / RU ---------- */
.lang-switch { position: relative; flex-shrink: 0; }

.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lang-current:hover { border-color: var(--cyan); }
.lang-switch.open .lang-current {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(41, 171, 226, .15);
}

.lang-flag {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(27, 36, 52, .12) inset;
}
.lang-flag svg { width: 100%; height: 100%; display: block; }

.lang-caret {
  width: 16px; height: 16px;
  fill: var(--text-soft);
  transition: transform .2s ease;
}
.lang-switch.open .lang-caret { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 190px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 120;
}
.lang-switch.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.lang-menu li { margin: 0; }
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--ink);
  text-align: left;
}
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu button.is-active { background: color-mix(in srgb, var(--cyan) 12%, #fff); font-weight: 600; }
.lang-menu button .lang-code-mini {
  margin-left: auto;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  color: var(--text-soft);
  letter-spacing: .06em;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 96px;
  background:
    radial-gradient(55% 55% at 88% 0%, rgba(41, 171, 226, .13), transparent 60%),
    radial-gradient(45% 45% at 5% 100%, rgba(230, 0, 126, .10), transparent 60%);
}

/* benzi CMYK în partea de sus */
.hero-stripes {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  height: 6px;
}
.hero-stripes span { flex: 1; }
.hero-stripes span:nth-child(1) { background: var(--cyan); }
.hero-stripes span:nth-child(2) { background: var(--magenta); }
.hero-stripes span:nth-child(3) { background: var(--yellow); }
.hero-stripes span:nth-child(4) { background: var(--ink); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 54px;
}
.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* linkuri interne rapide sub hero */
.hero-points {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-points li a {
  font-size: .9rem;
  color: var(--text-soft);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 2px;
}
.hero-points li a:hover { color: var(--magenta); border-color: var(--magenta); }

/* card cu emblema */
.hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.hero-card img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 20px;
  animation: floaty 5s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-card-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.hero-card-badges span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--c);
}

/* ===================================================================
   DESPRE NOI
   =================================================================== */
.about-text {
  max-width: 780px;
  margin: 0 auto 48px;
}
.about-text p { color: var(--text-soft); font-size: 1.04rem; }

.strengths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.strength {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--c);
  transition: transform .2s ease, box-shadow .2s ease;
}
.strength:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.strength-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: color-mix(in srgb, var(--c) 15%, #fff);
}
.strength-icon svg { width: 26px; height: 26px; fill: var(--c); }
.strength h3 { font-size: 1.1rem; margin-bottom: .3em; }
.strength p { color: var(--text-soft); font-size: .92rem; margin: 0; }

@supports not (background: color-mix(in srgb, red, blue)) {
  .strength-icon, .contact-list .ci, .svc-card-ic, .svc-panel-ic { background: var(--bg-soft); }
}

/* ===================================================================
   SERVICII — grilă de produse + panouri cu calculator
   =================================================================== */

/* --- Grila: carduri-link simple (nume + iconiță) --- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;          /* nu se lățește exagerat pe ecrane mari */
  margin-inline: auto;
}
.svc-card {
  --c: var(--cyan);
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 88px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--c);        /* tab colorat, ca la cardurile de servicii */
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
  font-family: inherit;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.svc-card:hover { transform: translateY(-2px); border-color: var(--c); }
.svc-card[aria-expanded="true"] {
  background: var(--bg-soft);
  border-color: var(--c);
}
.svc-card-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
}
.svc-card-ic svg { width: 24px; height: 24px; fill: var(--c); }
.svc-card-name {
  flex: 1;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.42rem;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: .01em;
  text-transform: uppercase;
}
.svc-card-go {
  flex-shrink: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
}
.svc-card[aria-expanded="true"] .svc-card-go { color: var(--c); }

/* --- Panoul de detaliu al produsului --- */
.svc-detail { margin-top: 22px; }
.svc-panel {
  --c: var(--cyan);
  max-width: 780px;              /* lățime confortabilă pentru un formular; centrat pe ecrane mari */
  margin-inline: auto;
  border: 1px solid var(--border);
  border-top: 4px solid var(--c);
  border-radius: var(--radius);
  background: #fff;
  padding: 30px;
}
.svc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
}
.svc-back:hover { border-color: var(--c); color: var(--c); }

.svc-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.svc-panel-ic {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--c) 14%, #fff);
}
.svc-panel-ic svg { width: 28px; height: 28px; fill: var(--c); }
.svc-panel-head h3 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: .01em;
}
.svc-panel-lead {
  max-width: 70ch;
  color: var(--text-soft);
  margin-bottom: 22px;
}
.svc-sub {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 10px;
}
.svc-specs {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.svc-specs li {
  position: relative;
  padding-left: 22px;
  color: var(--text-soft);
  font-size: .95rem;
}
.svc-specs li::before {
  content: "";
  position: absolute;
  left: 0; top: .55em;
  width: 9px; height: 9px;
  background: var(--c);
}

/* --- Calculatorul: „comandă de tipar" cu semne de tăiere --- */
.calc {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--bg);
  padding: 28px;
}
/* crop marks pe cele 4 colțuri */
.calc .cm {
  position: absolute;
  width: 16px; height: 16px;
}
.calc .cm::before, .calc .cm::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.calc .cm::before { width: 16px; height: 1.5px; }
.calc .cm::after  { width: 1.5px; height: 16px; }
.calc .cm-tl { top: -9px; left: -9px; }
.calc .cm-tr { top: -9px; right: -9px; }
.calc .cm-tr::after { right: 0; }
.calc .cm-bl { bottom: -9px; left: -9px; }
.calc .cm-bl::before { bottom: 0; }
.calc .cm-br { bottom: -9px; right: -9px; }
.calc .cm-br::before { bottom: 0; }
.calc .cm-br::after  { right: 0; }

.calc-tab {
  display: inline-block;
  margin: -40px 0 22px;
  padding: 7px 16px;
  background: var(--c);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ===================================================================
   WIDGET DE COMANDĂ ÎN 3 PAȘI
   =================================================================== */
.wz-step {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.wz-step:first-of-type { border-top: 0; padding-top: 4px; }
.wz-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border: 2px solid var(--c);
  color: var(--c);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
}
.wz-body { flex: 1; min-width: 0; }
.wz-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 4px 0 16px;
}

.wz-field { margin-bottom: 16px; }
.wz-field:last-child { margin-bottom: 0; }
.wz-label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.wz-optgroup {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-soft);
  margin: 10px 0 6px;
}
.wz-opts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-opt {
  padding: 9px 15px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.wz-opt:hover { border-color: var(--c); }
.wz-opt[aria-pressed="true"] {
  border-color: var(--c);
  box-shadow: inset 0 0 0 1px var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff);
  font-weight: 600;
}

/* Pasul 2 — cantitate */
.wz-qty {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
}
.wz-qty-opt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.wz-qty-opt:hover { border-color: var(--c); }
.wz-qty-opt[aria-pressed="true"] {
  border-color: var(--c);
  box-shadow: inset 0 0 0 1px var(--c);
  background: color-mix(in srgb, var(--c) 12%, #fff);
}
.wz-qty-n {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}
.wz-qty-price { font-size: .9rem; color: var(--text-soft); }
.wz-qty-opt[aria-pressed="true"] .wz-qty-price { color: var(--ink); font-weight: 600; }

.wz-numqty {
  width: 100%;
  max-width: 220px;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.wz-numqty:focus { outline: none; border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); }

.wz-dims { display: flex; align-items: center; gap: 10px; }
.wz-dims input { flex: 1; min-width: 0; max-width: 160px; padding: 11px 12px; font-family: var(--font-body); font-size: .98rem; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.wz-dims span { color: var(--text-soft); font-weight: 600; }

.wz-derived {
  margin-top: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--c) 10%, #fff);
  border: 1px dashed var(--c);
  font-size: .88rem;
  font-weight: 500;
}
.wz-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .9rem;
  color: var(--text-soft);
}
.wz-subtotal strong { font-size: 1.15rem; color: var(--ink); }
.wz-term {
  margin: 12px 0 0;
  font-size: .9rem;
  color: var(--text-soft);
  padding-left: 22px;
  position: relative;
}
.wz-term::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 10px; height: 10px;
  background: var(--c);
}

/* Pasul 3 — servicii suplimentare */
.wz-suppl { display: grid; gap: 10px; margin-bottom: 18px; }
.wz-suppl .wz-field { margin-bottom: 6px; }
.wz-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.wz-total > span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.wz-total-val {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
}

/* Bloc de încărcare fișier */
.wz-upload {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.wz-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 10px 0;
}
.wz-file-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 11px 20px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  cursor: pointer;
}
.wz-file-btn input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.wz-file-name { font-size: .9rem; color: var(--text-soft); }
.wz-file-name.has-file { color: var(--ink); font-weight: 600; }
.wz-file-hint { font-size: .85rem; color: var(--text-soft); margin: 8px 0 12px; }
.wz-file-hint a { color: var(--magenta); font-weight: 600; }
.wz-file-hint a:hover { text-decoration: underline; }

@supports not (background: color-mix(in srgb, red, blue)) {
  .wz-opt[aria-pressed="true"], .wz-qty-opt[aria-pressed="true"], .wz-derived { background: var(--bg-soft); }
}

.calc-form { margin: 0; }
.calc-row, .calc-grid2 {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
.calc-row { grid-template-columns: 1fr 1fr; }
.calc-grid2 { grid-template-columns: repeat(2, 1fr); }

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.calc-field > span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ink);
}
.calc-field select,
.calc-field input,
.calc-field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 12px;
  width: 100%;
}
.calc-field select:focus,
.calc-field input:focus,
.calc-field textarea:focus {
  outline: none;
  border-color: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent);
}
.calc-field textarea { resize: vertical; }
.calc-file input { padding: 8px; }
.calc-hint {
  font-size: .82rem;
  color: var(--text-soft);
  margin: 4px 0 0;
}

.calc-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px dashed var(--ink);
}
.calc-result-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
}
.calc-price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1;
  color: var(--ink);
}
.calc-note {
  font-size: .84rem;
  color: var(--text-soft);
  margin: 12px 0 18px;
}
.calc-order-toggle,
.calc-order-link,
.calc-quote-submit { width: 100%; justify-content: center; margin-top: 4px; }
.calc-order {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.calc-order .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* --- servicii adiționale / extras (checkbox) --- */
.calc-sub2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-soft);
  margin: 18px 0 8px;
}
.calc-addons {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}
.calc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink);
  cursor: pointer;
}
.calc-check input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--c, var(--magenta));
  flex-shrink: 0;
}
.calc-check > span { flex: 1; }
.calc-addn {
  width: 68px;
  padding: 6px 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

/* --- linia derivată (coli necesare la stickere) --- */
.calc-derived {
  margin-top: 14px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--c) 10%, #fff);
  border: 1px dashed var(--c);
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
}

/* --- mesaj „ofertă personalizată" (bannere / format mare) --- */
.calc-quote-msg {
  margin: 18px 0;
  padding: 14px 16px;
  background: var(--bg-soft);
  border-left: 4px solid var(--c);
  font-size: .92rem;
  color: var(--ink);
}

/* --- listă informativă design --- */
.design-list {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 2px;
}
.design-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border);
}
.design-list li:last-child { border-bottom: 0; }
.design-list strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
@supports not (background: color-mix(in srgb, red, blue)) {
  .calc-derived { background: var(--bg-soft); }
}

.services-cta {
  text-align: center;
  margin: 44px auto 0;
  max-width: 640px;
  color: var(--text-soft);
}
.services-cta a { color: var(--magenta); font-weight: 600; }
.services-cta a:hover { text-decoration: underline; }

/* zone de atingere ≥ 44px pentru opțiunile selectabile și checkbox-uri (toate ecranele) */
.wz-opt { min-height: 44px; }
.wz-file-btn { min-height: 44px; }
.calc-check { min-height: 40px; }
.calc-check input[type="checkbox"] { width: 20px; height: 20px; }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tabletă îngustă / mobil mare */
@media (max-width: 680px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-panel { padding: 24px 16px; }
  .calc { padding: 20px 14px; }
  .calc-row, .calc-grid2 { grid-template-columns: 1fr; }
  .calc-tab { margin-top: -34px; }
  .svc-card-name { font-size: 1.3rem; }
  .wz-step { gap: 12px; }
  .wz-num { width: 38px; height: 38px; font-size: 1.15rem; }
  .wz-qty { grid-template-columns: repeat(2, 1fr); }
  .wz-numqty, .wz-dims input { max-width: none; }
  .wz-file { gap: 10px; }

  /* iOS nu mai face zoom la focus dacă inputul are ≥16px */
  .calc-field select, .calc-field input, .calc-field textarea,
  .wz-numqty, .wz-dims input, .calc-addn { font-size: 16px; }

  /* fără text sub ~14px pentru textul de citit */
  .calc-note, .calc-hint, .wz-file-hint, .wz-term, .wz-derived,
  .wz-qty-price, .svc-specs li, .services-cta { font-size: 14px; }

  /* zone de atingere mai mari pe mobil */
  .wz-opt { min-height: 46px; padding: 11px 16px; }
  .wz-qty-opt { min-height: 60px; }
  .calc-check { min-height: 44px; }
}

/* Telefoane mici (360–390px) */
@media (max-width: 400px) {
  .svc-panel { padding: 20px 13px; }
  .calc { padding: 18px 12px; }
  .wz-qty { grid-template-columns: 1fr; }
  .svc-card { min-height: 78px; padding: 18px 16px; }
  .svc-card-go { display: none; }               /* săgeata „Deschide" — spațiu prea strâmt */

  /* dimensiuni lățime×înălțime (bannere/tablouri): stivuite, nu înghesuite pe un rând */
  .wz-dims { flex-direction: column; align-items: stretch; gap: 6px; }
  .wz-dims input { max-width: none; }
  .wz-dims span { display: none; }
}

/* ===================================================================
   CONTACT
   =================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.contact-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 22px;
}
.contact-list .contact-item { display: flex; gap: 16px; }
.contact-list { font-style: normal; }
.contact-list .ci {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  flex-shrink: 0;
  border-radius: 13px;
  background: color-mix(in srgb, var(--c) 15%, #fff);
}
.contact-list .ci svg { width: 22px; height: 22px; fill: var(--c); }
.contact-list strong {
  display: block;
  font-family: var(--font-head);
  color: var(--ink);
  margin-bottom: 3px;
}
.contact-list a,
.contact-list span { display: block; color: var(--text-soft); }
.contact-list a:hover { color: var(--magenta); }

.quick-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 420px;
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--ink);
  color: #b9c0cc;
  padding: 62px 0 22px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.3fr .8fr;
  gap: 40px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 14px; }
.footer-brand .logo-img { width: 54px; height: 54px; }
.footer-brand strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 4px;
}
.footer-brand p { margin: 0; font-size: .9rem; color: #8b93a1; }

.footer-heading {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-head);
  margin: 0 0 14px;
}
.footer-col p { margin: 0 0 8px; font-size: .92rem; }
.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: .85rem; color: #8b93a1; }

/* ===================================================================
   BARĂ STICKY DE APEL (doar mobil)
   =================================================================== */
.sticky-call {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: var(--magenta);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .96rem;
  box-shadow: 0 -6px 20px rgba(27, 36, 52, .18);
}
.sticky-call svg { width: 20px; height: 20px; fill: #fff; }

/* ===================================================================
   ANIMAȚII LA SCROLL
   =================================================================== */
/* Animația e activă doar dacă JS a rulat (clasa .has-js e adăugată din <head>).
   Fără ea, conținutul .reveal rămâne vizibil implicit — nu depinde de JS ca să se vadă. */
html.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

.strengths .strength:nth-child(2) { transition-delay: .08s; }
.strengths .strength:nth-child(3) { transition-delay: .16s; }
.strengths .strength:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-card img { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* Tabletă */
@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 2; }
  .hero-card { order: 1; max-width: 420px; margin: 0 auto; }
  .hero-sub { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .strengths { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Mobil */
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .hero { padding: 52px 0 68px; }

  .nav-toggle { display: flex; }
  .header-call { display: none; }

  /* Selectorul de limbă rămâne mereu vizibil, lipit lângă hamburger */
  .lang-switch { margin-left: auto; }
  .header-inner { gap: 12px; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .main-nav li { border-bottom: 1px solid var(--border); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 14px 0; }
  .main-nav a::after { display: none; }

  .sticky-call { display: flex; }
  /* spațiu ca bara sticky de apel să nu acopere conținutul de jos */
  body { padding-bottom: 68px; }

  .contact-card { padding: 26px; }
  .contact-map, .contact-map iframe { min-height: 340px; }
  .footer-inner { grid-template-columns: 1fr; }
}

/* Ecrane mici */
@media (max-width: 430px) {
  .logo-text em { display: none; }
  .strengths { grid-template-columns: 1fr; }
  .sticky-call { font-size: .88rem; }
  .quick-actions .btn { flex: 1; justify-content: center; }
}
