/* Brandworks site — layout, colours and type after the Apple product-page reference
   (SF Pro system stack, #1d1d1f / #6e6e73 / #f5f5f7, blue actions, 28px tiles),
   with the Brandworks wordmark, lens graphic and red labels kept as brand marks. */
:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --hair: #d2d2d7;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --dark: #000000;
  --dark-tile: #1d1d1f;
  --red: #d90006;

  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --radius: 28px;
  --radius-sm: 18px;
  --wide: 1260px;
  --narrow: 980px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(80px, 10vw, 160px);
  --gnav-h: 72px;
}
@media (max-width: 834px) { :root { --gnav-h: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gnav-h) + 72px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.47 var(--text); letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }
.center { text-align: center; }

/* ---------- Type ---------- */
.eyebrow { margin: 0 0 10px; font: 600 clamp(19px, 1.9vw, 28px)/1.14 var(--display); letter-spacing: .007em; }
.eyebrow .red, .tag-red { color: var(--red); }
.headline { margin: 0; font: 600 clamp(44px, 7vw, 96px)/1.04 var(--display); letter-spacing: -.015em; }
.title { margin: 0; font: 600 clamp(34px, 4.8vw, 64px)/1.06 var(--display); letter-spacing: -.009em; }
.title-sm { margin: 0; font: 600 clamp(26px, 3vw, 40px)/1.1 var(--display); letter-spacing: -.003em; }
.intro { margin: 0; font: 600 clamp(19px, 1.9vw, 24px)/1.25 var(--display); letter-spacing: .009em; color: rgba(0, 0, 0, .88); }
.intro .mute, .mute { color: var(--ink-3); }
.lede { margin: 0; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.43; letter-spacing: .011em; color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.43; letter-spacing: -.016em; }
.label { font: 600 12px/1.33 var(--text); letter-spacing: -.01em; color: var(--ink-3); text-transform: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 28px; padding: 12px 22px; border-radius: 980px; border: 0;
  background: var(--blue); color: #fff; font: 400 17px/1.18 var(--text); letter-spacing: -.022em;
  cursor: pointer; transition: background-color .2s ease;
}
.btn:hover { background: var(--blue-hover); text-decoration: none; }
.btn--small { padding: 6px 14px; font-size: 12px; line-height: 1.33; }
.btn--ghost { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn--ghost:hover { background: var(--link); color: #fff; }
.more { font-size: clamp(17px, 1.5vw, 19px); letter-spacing: -.02em; white-space: nowrap; }
.more::after { content: " ›"; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; }
.center .actions { justify-content: center; }
.on-dark a:not(.btn) { color: var(--link-dark); }

/* ---------- Global nav (sticky, translucent; .scrolled after the first scroll, see site.js) ---------- */
.gnav { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.gnav.scrolled { background: rgba(255, 255, 255, .86); border-bottom-color: rgba(0, 0, 0, .08); box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .4); }
.gnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; height: var(--gnav-h); }
.gnav .logo { flex: none; }
.gnav .logo img { height: 25px; width: auto; transform-origin: left center; transition: transform .3s ease; }
.gnav.scrolled .logo img { transform: scale(.88); }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.nav a { position: relative; padding: 8px 0; color: rgba(29, 29, 31, .72); font: 500 15px/1.2 var(--text); letter-spacing: -.012em; white-space: nowrap; transition: color .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 50%; width: 6px; height: 6px; margin-top: -3px; background: var(--red); }
/* Contact = invitația la acțiune din meniu */
.nav a[href="/contact/"] { margin-left: 4px; padding: 11px 22px; border-radius: 980px; background: var(--ink); color: #fff; transition: background-color .2s ease, transform .2s ease; }
.nav a[href="/contact/"]::after { display: none; }
.nav a[href="/contact/"]:hover { background: #000; transform: translateY(-1px); }
.nav a[href="/contact/"][aria-current="page"]::before { left: -16px; }
.menu-btn { display: none; border: 0; background: none; padding: 8px; margin-right: -8px; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 1.5px; background: var(--ink); margin: 5px 0; transition: transform .25s ease; }
@media (max-width: 834px) {
  .menu-btn { display: block; }
  .gnav .logo img { height: 21px; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--gutter) 28px; background: #fff; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .08); display: none; }
  .nav a, .nav a[href="/contact/"] { margin: 0; padding: 6px 0; border-radius: 0; background: none; font: 600 26px/1.5 var(--display); color: var(--ink); transform: none; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"]::before, .nav a[href="/contact/"][aria-current="page"]::before { position: static; display: inline-block; vertical-align: middle; margin: -4px 12px 0 0; }
  .gnav.open { background: #fff; }
  .gnav.open .nav { display: flex; }
  .gnav.open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
  .gnav.open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
}

/* ---------- Local nav (sticky: page title left, blue pill right) ---------- */
.lnav { position: sticky; top: var(--gnav-h); z-index: 50; background: rgba(255, 255, 255, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .16); }
.lnav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.lnav-title { margin: 0; font: 600 21px/1.14 var(--display); letter-spacing: .011em; color: var(--ink); white-space: nowrap; }
.lnav-links { display: flex; align-items: center; gap: 24px; font-size: 12px; }
.lnav-links a { color: var(--ink); }
.lnav-links a.on { color: var(--ink-3); }
@media (max-width: 680px) { .lnav-links a:not(.btn) { display: none; } .lnav-title { font-size: 19px; } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark, .on-dark { background: var(--dark); color: #f5f5f7; }
.on-dark .intro, .on-dark .title, .on-dark .headline { color: #f5f5f7; }
.on-dark .lede, .on-dark .mute { color: #86868b; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(32px, 4vw, 56px); }

/* ---------- Hero ---------- */
/* Homepage hero, in the same composition as /metodologie/: black, centered copy, large animated lens underneath. */
.hero { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 80px); overflow: hidden; }
.hero-copy { max-width: calc(var(--narrow) + 2 * var(--gutter)); text-align: center; }
.hero-kicker { margin: 0 0 10px; font: 600 clamp(19px, 1.9vw, 28px)/1.14 var(--display); letter-spacing: .007em; color: #f5f5f7; }
.hero-title { margin: 0 auto; max-width: 12em; font: 600 clamp(44px, 7vw, 96px)/1.04 var(--display); letter-spacing: -.015em; color: #f5f5f7; text-wrap: balance; }
.hero-lede { margin: 20px auto 0; max-width: 32em; font: 600 clamp(19px, 1.9vw, 24px)/1.25 var(--display); letter-spacing: .009em; color: #86868b; }
.hero .actions { justify-content: center; margin-top: 32px; }
.hero-facts { display: flex; justify-content: center; margin: clamp(36px, 4vw, 52px) auto 0; padding: 0; list-style: none; max-width: 30em; }
.hero-facts li { flex: 1 1 0; min-width: 0; padding: 0 16px; font-size: 13px; line-height: 1.35; color: #86868b; }
.hero-facts li + li { border-left: 1px solid rgba(255, 255, 255, .16); }
.hero-facts strong { display: block; margin-bottom: 2px; font: 600 24px/1.1 var(--display); letter-spacing: -.02em; color: #f5f5f7; }
.hero-visual { width: 100%; max-width: 1000px; margin: clamp(40px, 5vw, 64px) auto 0; }

/* ---------- Lens (Brandworks graphic): ellipses at black 25% sharing the poles, meridians turning ---------- */
.lens { width: 100%; height: auto; overflow: visible; }
.lens .layer { fill: #000; fill-opacity: .25; }
.lens .turning { transform-box: fill-box; transform-origin: center; }
.lens .meridians ellipse { fill: none; stroke: #000; stroke-width: 1.1; vector-effect: non-scaling-stroke; }
.lens .axis { stroke: #000; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.lens .dots rect { fill: #000; }
.on-dark .lens .layer { fill: #fff; fill-opacity: .2; }
.on-dark .lens .meridians ellipse, .on-dark .lens .axis { stroke: #fff; }
.on-dark .lens .dots rect { fill: #fff; }
.lens .layer.turning:nth-of-type(2) { transform: scaleX(.78); }
.lens .layer.turning:nth-of-type(3) { transform: scaleX(.42); }
.lens .layer.turning:nth-of-type(4) { transform: scaleX(.3); }
.lens .layer.turning:nth-of-type(5) { transform: scaleX(.17); }
.lens .meridians .turning { transform: scaleX(.6); }
@media (prefers-reduced-motion: no-preference) {
  .lens .turning { animation: lens-turn 10s cubic-bezier(.45, 0, .55, 1) var(--d, 0s) infinite alternate; }
  .lens .dots rect { animation: lens-flicker 4.8s ease-in-out infinite; animation-delay: var(--d, 0s); }
  .float { animation: lens-float 9s ease-in-out infinite; }
}
@keyframes lens-turn { from { transform: scaleX(1); } to { transform: scaleX(.02); } }
@keyframes lens-flicker { 0%, 100% { opacity: 1; } 50% { opacity: .12; } }
@keyframes lens-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Mini lens icon */
.icon { width: 56px; height: 40px; }
.icon ellipse { fill: none; stroke: currentColor; stroke-width: 1.4; }
.icon .fill { fill: currentColor; fill-opacity: .25; stroke: none; }

/* ---------- Tiles ---------- */
.tile { position: relative; background: var(--bg); border-radius: var(--radius); overflow: hidden; }
.alt .tile, .tile.on-alt { background: var(--bg); }
.tile.grey { background: var(--bg-alt); }
.tile.dark { background: var(--dark-tile); color: #f5f5f7; }
.tile-pad { padding: clamp(28px, 3.4vw, 48px); }
.tiles { display: grid; gap: 20px; }
.tiles.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tiles.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .tiles.two, .tiles.three { grid-template-columns: 1fr; } }
.tile h3 { margin: 0 0 10px; font: 600 clamp(21px, 2vw, 28px)/1.14 var(--display); letter-spacing: .007em; }
.tile p { margin: 0; color: var(--ink-2); }
.tile.dark p { color: #a1a1a6; }
.tile .icon { margin-bottom: 22px; color: var(--ink); }
.tile.dark .icon { color: #f5f5f7; }
a.tile { display: block; color: inherit; transition: transform .35s ease, box-shadow .35s ease; }
a.tile:hover { text-decoration: none; transform: scale(1.012); box-shadow: 0 4px 24px rgba(0, 0, 0, .08); }
a.tile .more { display: inline-block; margin-top: 18px; color: var(--link); }
a.tile.dark .more { color: var(--link-dark); }

/* Stat tiles */
.stat .num { display: block; font: 600 clamp(48px, 6vw, 80px)/1 var(--display); letter-spacing: -.015em; margin-bottom: 12px; }

/* ---------- Gallery (horizontal, snapping) ---------- */
.gallery { display: grid; grid-auto-flow: column; grid-auto-columns: min(372px, 78vw); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gutter) 8px; margin: 0 calc(-1 * var(--gutter)); scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery > * { scroll-snap-align: start; }
.gallery-nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.gallery-nav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(210, 210, 215, .64); color: rgba(0, 0, 0, .56); font-size: 20px; line-height: 1; cursor: pointer; }
.gallery-nav button:hover { background: rgba(223, 223, 227, .7); color: rgba(0, 0, 0, .64); }
.gallery-nav button:disabled { opacity: .42; cursor: default; }
.shot { display: block; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.shot:hover { text-decoration: none; }
.shot .img { aspect-ratio: 4 / 5; overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.shot:hover img { transform: scale(1.03); }
.shot .cap { padding: 20px 24px 26px; }
.shot .cap strong { display: block; font: 600 21px/1.19 var(--display); letter-spacing: .011em; }
.shot .cap span { color: var(--ink-2); font-size: 14px; }

/* ---------- Project grid ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.filter { font: 400 14px/1 var(--text); letter-spacing: -.016em; padding: 10px 16px; border-radius: 980px; cursor: pointer; background: var(--bg); color: var(--ink); border: 1px solid var(--hair); transition: border-color .2s ease, background-color .2s ease; }
.filter:hover { border-color: var(--ink-3); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter .count { opacity: .55; margin-left: 4px; }
.status { margin: 0 0 40px; text-align: center; font-size: 12px; color: var(--ink-3); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (max-width: 1068px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 734px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card[hidden] { display: none; }
.card a { display: block; height: 100%; color: inherit; background: var(--bg); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .3s ease, transform .3s ease; }
.card a:hover { text-decoration: none; transform: scale(1.015); box-shadow: 0 4px 24px rgba(0, 0, 0, .08); }
.card .frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #e8e8ed; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card .kind { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 980px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(8px); color: var(--ink); font-size: 12px; letter-spacing: -.01em; }
.card h3 { margin: 16px 18px 4px; font: 600 19px/1.21 var(--display); letter-spacing: .012em; }
.card p { margin: 0 18px; font-size: 14px; line-height: 1.43; color: var(--ink-2); }
.card p:last-child { margin-bottom: 20px; }
.card .note { margin-top: 8px; color: var(--ink); }
.card .note::before { content: "Studiu de caz: "; color: var(--ink-3); }

/* ---------- Dark feature list (bold term + grey text) ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(40px, 6vw, 96px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 734px) { .features { grid-template-columns: 1fr; gap: 40px; } }
.features li { font: 600 clamp(17px, 1.6vw, 21px)/1.38 var(--display); letter-spacing: .011em; color: #86868b; max-width: 30em; }
.features li strong { color: #f5f5f7; font-weight: 600; }
.features .icon { color: #f5f5f7; margin-bottom: 16px; }
.section:not(.dark) .features li { color: var(--ink-2); }
.section:not(.dark) .features li strong, .section:not(.dark) .features .icon { color: var(--ink); }

/* ---------- Statement list (questions, formula) ---------- */
.stack { margin: 0; padding: 0; list-style: none; }
.stack li { font: 600 clamp(26px, 3.6vw, 48px)/1.12 var(--display); letter-spacing: -.003em; padding: 14px 0; color: var(--ink-3); }
.stack li.on, .stack.all li { color: var(--ink); }
.on-dark .stack li { color: #6e6e73; }
.on-dark .stack li.on { color: #f5f5f7; }
@media (prefers-reduced-motion: no-preference) { .stack li { transition: color .5s ease; } }

/* ---------- Footer (dark, same width as the content: invitation, columns, legal bar) ---------- */
.site-footer { background: #000; color: #86868b; font-size: 15px; line-height: 1.47; letter-spacing: -.012em; border-top: 1px solid rgba(255, 255, 255, .08); }
.site-footer a { color: #a1a1a6; transition: color .2s ease; }
.site-footer a:hover { color: #f5f5f7; text-decoration: none; }
.site-footer .wrap { padding-top: clamp(64px, 8vw, 112px); padding-bottom: 28px; }
.foot-cta { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 48px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.foot-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 600 13px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #a1a1a6; }
.foot-kicker::before { content: ""; width: 7px; height: 7px; background: var(--red); }
.foot-title { margin: 0; font: 600 clamp(34px, 4.8vw, 64px)/1.05 var(--display); letter-spacing: -.012em; color: #f5f5f7; }
.foot-cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.site-footer .foot-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 980px; background: #f5f5f7; color: #000; font: 500 17px/1.2 var(--text); transition: background-color .2s ease, transform .2s ease; }
.site-footer .foot-btn::after { content: "→"; transition: transform .2s ease; }
.site-footer .foot-btn:hover { background: #fff; color: #000; transform: translateY(-1px); }
.site-footer .foot-btn:hover::after { transform: translateX(3px); }
.site-footer .foot-mail { color: #f5f5f7; font: 500 clamp(17px, 1.6vw, 21px)/1.3 var(--display); border-bottom: 1px solid rgba(255, 255, 255, .3); padding-bottom: 2px; }
.site-footer .foot-mail:hover { border-bottom-color: #f5f5f7; }

.foot-main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 3fr); gap: 48px clamp(40px, 6vw, 96px); padding: clamp(48px, 6vw, 80px) 0; }
.foot-logo { display: inline-block; color: #f5f5f7 !important; }
.foot-logo svg { height: 28px; width: auto; }
.foot-brand p { margin: 20px 0 0; max-width: 26em; }
.site-footer .foot-bb { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: #f5f5f7; }
.foot-bb span { width: 7px; height: 7px; background: var(--red); }
.foot-social { display: flex; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); transition: border-color .2s ease, background-color .2s ease, color .2s ease; }
.foot-social a:hover { border-color: #f5f5f7; background: #f5f5f7; color: #000; }
.foot-social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.foot-cols h4 { margin: 0 0 18px; font: 600 13px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #f5f5f7; }
.foot-cols ul { margin: 0; padding: 0; list-style: none; }
.foot-cols li { margin-bottom: 11px; }
.foot-cols li:not(:has(a)) { color: #86868b; }
.foot-post { display: block; margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-sm); background: #1d1d1f; transition: background-color .2s ease; }
.foot-post:hover { background: #2c2c2e; }
.foot-label { display: block; margin-bottom: 6px; font: 600 12px/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: #86868b; }
.foot-post strong { display: block; color: #f5f5f7; font: 600 15px/1.35 var(--display); }

.foot-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13px; }
.foot-bottom p { margin: 0; }
.foot-legal { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.foot-top span { display: inline-block; margin-left: 4px; transition: transform .2s ease; }
.foot-top:hover span { transform: translateY(-3px); }

@media (max-width: 1068px) { .foot-main { grid-template-columns: 1fr; } }
@media (max-width: 834px) { .foot-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .foot-cols { grid-template-columns: 1fr; gap: 32px; } .foot-bottom { flex-direction: column; align-items: flex-start; } }

/* Legal pages */
.legal-todo { margin: 24px 0 0; padding: 14px 18px; border-radius: 12px; background: rgba(217, 0, 6, .06); color: var(--red); font-size: 15px; }
.legal-body { margin-top: clamp(40px, 5vw, 64px); }
.legal-body h2 { margin-top: 44px; font-size: clamp(22px, 2.4vw, 30px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h2 + p { margin-top: 14px; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Project pages ---------- */
.meta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; margin: 36px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid var(--hair); }
.meta-row li { display: flex; flex-direction: column; gap: 4px; font-size: 17px; }
.project-body { padding-bottom: var(--section-y); }
.project-body > * + * { margin-top: 20px; }
.project-body .prose + .ph-wrap, .project-body .ph-wrap + .prose { margin-top: clamp(48px, 6vw, 88px); }
.project-body .prose + .prose { margin-top: 12px; }
.prose h2 { margin-top: 12px; }
.prose p { margin: 14px 0 0; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.53; letter-spacing: .005em; color: var(--ink-2); }
.prose p:first-child { margin-top: 0; }
.prose .label { margin: 0; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.sep { border: 0; height: 0; margin: clamp(56px, 7vw, 104px) auto !important; max-width: var(--narrow); }
.ph-wrap { max-width: calc(1068px + 2 * var(--gutter)); }
.ph-row { display: grid; gap: 20px; }
.ph-row + .ph-row { margin-top: 20px; }
.ph-row.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ph-row.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 734px) { .ph-row.n3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ph-row { gap: 12px; } .ph-row + .ph-row { margin-top: 12px; } }
.ph { display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); cursor: zoom-in; }
.ph img { width: 100%; height: auto; transition: transform .6s ease; }
.ph-row.n2 .ph img, .ph-row.n3 .ph img { height: 100%; object-fit: cover; }
.ph:hover img { transform: scale(1.015); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.next-project { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; }
.next-project .np-img { aspect-ratio: 4 / 5; overflow: hidden; }
.next-project img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 734px) { .next-project { grid-template-columns: 1fr; } .next-project .np-img { aspect-ratio: 16 / 10; } }

/* Lightbox */
.zoom { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 48px 20px; background: rgba(0, 0, 0, .9); cursor: zoom-out; }
.zoom[hidden] { display: none; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; }
.zoom-x { position: absolute; top: 14px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }

/* ---------- Blog (lista /blog/, cardurile de pe homepage, articolul) ---------- */
.on-dark a.hero-news, .hero-news { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; margin: 0 0 28px; padding: 6px 16px 6px 6px; border-radius: 980px; background: rgba(255, 255, 255, .08); color: #d2d2d7; font-size: 14px; line-height: 1.3; text-align: left; transition: background-color .2s ease; }
.on-dark a.hero-news:hover, .hero-news:hover { background: rgba(255, 255, 255, .14); text-decoration: none; color: #f5f5f7; }
.hero-news span { flex: none; padding: 4px 10px; border-radius: 980px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; }
.hero-news::after { content: "›"; flex: none; color: var(--link-dark); }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .posts { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; min-height: 340px; padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); background: var(--bg-alt); color: inherit; transition: transform .35s ease, box-shadow .35s ease; }
.alt .post-card { background: var(--bg); }
.post-card:hover { text-decoration: none; transform: scale(1.012); box-shadow: 0 4px 24px rgba(0, 0, 0, .08); }
.post-card h3 { margin: 10px 0 14px; font: 600 clamp(21px, 2vw, 26px)/1.18 var(--display); letter-spacing: .007em; }
.post-card p:not(.label) { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.47; }
.post-card .more { margin-top: auto; padding-top: 24px; color: var(--link); }
.article { padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(64px, 8vw, 120px); }
.article-head, .article-body, .article-end { max-width: calc(760px + 2 * var(--gutter)); }
.article-head .title { margin: 12px 0 0; text-wrap: balance; }
.article-head .intro { margin-top: 24px; color: var(--ink-2); }
.byline { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--hair); font-size: 14px; color: var(--ink-3); }
.article-body { margin-top: clamp(40px, 5vw, 64px); font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink); }
.article-body p { margin: 0 0 1.1em; }
.article-body h2 { margin: 2em 0 .6em; font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--display); letter-spacing: -.003em; }
.article-body ul { margin: 0 0 1.2em; padding-left: 1.2em; }
.article-body li { margin-bottom: .55em; }
.article-body li::marker { color: var(--red); }
.article-body blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--red); font: 600 clamp(21px, 2.2vw, 27px)/1.3 var(--display); color: var(--ink); }
.article-end { margin-top: clamp(48px, 6vw, 80px); }
.article-end .actions { margin-top: 24px; }

/* Articol interactiv: bara de lectură, rezumat, widgeturi (blog.js) */
.read-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 70; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tldr { margin: 0 0 2.2em; padding: 24px 28px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.tldr ul { margin: 8px 0 0; padding-left: 1.1em; font-size: 17px; line-height: 1.5; }
.tldr li { margin-bottom: .4em; }
.tldr li:last-child { margin-bottom: 0; }
.article-body h2[id] { scroll-margin-top: calc(var(--gnav-h, 72px) + 72px); }

.bw-widget { --w: min(1000px, calc(100vw - 2 * var(--gutter))); width: var(--w); margin: 2.4em 0 2.6em calc(50% - var(--w) / 2); padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius); background: var(--bg-alt); font-size: 17px; line-height: 1.47; }
.widget-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.widget-head .label { color: var(--red); }
.widget-head strong { font: 600 clamp(21px, 2.2vw, 28px)/1.15 var(--display); letter-spacing: .005em; }
.widget-head > span:last-child { flex-basis: 100%; color: var(--ink-3); font-size: 15px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 980px; background: rgba(0, 0, 0, .06); }
.seg button { border: 0; padding: 8px 16px; border-radius: 980px; background: none; color: var(--ink); font: 400 14px/1.2 var(--text); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Straturile */
.layers-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.layers-visual { width: 100%; height: auto; overflow: visible; }
.layers-visual g { cursor: pointer; outline: none; }
.layers-visual ellipse { fill: #000; fill-opacity: .07; stroke: #000; stroke-opacity: .35; stroke-width: 1.2; transition: fill .3s ease, fill-opacity .3s ease, stroke-opacity .3s ease; vector-effect: non-scaling-stroke; }
.layers-visual g:hover ellipse, .layers-visual g:focus-visible ellipse { fill-opacity: .14; stroke-opacity: .8; }
.layers-visual g.on ellipse { fill: var(--red); fill-opacity: .9; stroke: var(--red); stroke-opacity: 1; }
.layers-visual .axis { stroke: #000; stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.layers-panel h3 { margin: 6px 0 10px; font: 600 clamp(22px, 2.3vw, 30px)/1.15 var(--display); }
.layers-panel p { margin: 0 0 12px; color: var(--ink-2); }
.layers-panel .q { padding-left: 14px; border-left: 2px solid var(--red); color: var(--ink); font-weight: 600; }
.layers-panel .risk { margin: 0; font-size: 15px; }
.layers-panel .risk span { color: var(--ink); font-weight: 600; }
.layers-tabs { margin-top: 24px; }
@media (max-width: 734px) { .layers-grid { grid-template-columns: 1fr; } }

/* Declarat / nearticulat */
.flip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 834px) { .flip-grid { grid-template-columns: 1fr; } }
.flip { position: relative; display: grid; min-height: 230px; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; perspective: 1200px; }
.flip .face { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-sm); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.flip .front { background: var(--bg); font: 600 clamp(20px, 2vw, 24px)/1.25 var(--display); }
.flip .front::after { content: "Întoarce ›"; margin-top: auto; font: 400 14px/1 var(--text); color: var(--link); }
.flip .back { background: var(--dark-tile); color: #f5f5f7; transform: rotateY(180deg); font-size: 16px; }
.flip .back .label { color: #86868b; }
.flip .back em { margin-top: auto; font-style: normal; font-weight: 600; color: #fff; }
.flip[aria-pressed="true"] .front { transform: rotateY(-180deg); }
.flip[aria-pressed="true"] .back { transform: rotateY(0); }
@media (prefers-reduced-motion: reduce) { .flip .face { transition: none; } }

/* Fraza */
.sentence textarea { width: 100%; padding: 18px 20px; border: 1px solid var(--hair); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font: 600 clamp(19px, 2vw, 24px)/1.35 var(--display); resize: vertical; }
.sentence textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-color: transparent; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--ink-2); }
@media (max-width: 734px) { .checks { grid-template-columns: 1fr; } }
.checks li { display: flex; gap: 10px; align-items: baseline; }
.checks .dot { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink-3); transform: translateY(1px); }
.checks li[data-state="ok"] { color: var(--ink); }
.checks li[data-state="ok"] .dot { background: #1d1d1f; border-color: #1d1d1f; }
.checks li[data-state="no"] .dot { background: var(--red); border-color: var(--red); }
.sentence-note { margin: 18px 0 0; font-weight: 600; min-height: 1.5em; }

/* Două trasee */
.delay-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; counter-reset: none; }
@media (max-width: 834px) { .delay-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .delay-track { grid-template-columns: 1fr; } }
.delay-track li { position: relative; padding: 22px; border-radius: var(--radius-sm); background: var(--bg); transition: background-color .4s ease, color .4s ease; }
.delay-track .step { display: block; font: 600 13px/1 var(--text); color: var(--ink-3); margin-bottom: 14px; }
.delay-track strong { display: block; font: 600 19px/1.2 var(--display); margin-bottom: 8px; }
.delay-track p { margin: 0; font-size: 15px; color: var(--ink-2); }
.delay[data-mode="fara"] .delay-track li { border-top: 3px solid var(--red); }
.delay[data-mode="cu"] .delay-track li { background: var(--dark-tile); color: #f5f5f7; border-top: 3px solid #f5f5f7; }
.delay[data-mode="cu"] .delay-track p { color: #a1a1a6; }

/* Ordinea */
.article-body ol.order { margin: 0 0 1.2em; padding: 0; list-style: none; counter-reset: ord; }
.article-body ol.order li { counter-increment: ord; position: relative; padding: 14px 0 14px 56px; border-top: 1px solid var(--hair); margin: 0; }
.article-body ol.order li::before { content: "0" counter(ord); position: absolute; left: 0; top: 14px; font: 600 15px/1.6 var(--display); color: var(--red); }

/* Diagnostic */
.diag-count { color: var(--ink-3); }
.diag-list { margin: 0; padding: 0; list-style: none; counter-reset: dq; }
.diag-list li { counter-increment: dq; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 16px 0; border-top: 1px solid var(--hair); }
.diag-list .stmt { flex: 1 1 340px; }
.diag-list .stmt::before { content: counter(dq) ". "; color: var(--ink-3); }
.diag-list .opts { display: inline-flex; gap: 6px; }
.diag-list .opts button { min-width: 72px; padding: 8px 14px; border: 1px solid var(--hair); border-radius: 980px; background: var(--bg); color: var(--ink); font: 400 14px/1.1 var(--text); cursor: pointer; transition: all .2s ease; }
.diag-list .opts button:hover { border-color: var(--ink-3); }
.diag-list .opts button[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.diag-list li.done .stmt { color: var(--ink-2); }
.diag-result { margin-top: 28px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-sm); background: var(--dark-tile); color: #f5f5f7; }
.diag-score { display: flex; align-items: baseline; gap: 10px; }
.diag-score .num { font: 600 clamp(56px, 7vw, 88px)/1 var(--display); letter-spacing: -.02em; }
.diag-score .of { color: #86868b; font-size: 17px; }
.diag-bar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; margin: 16px 0 24px; }
.diag-bar span { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .16); }
.diag-bar span[data-v="1"] { background: rgba(255, 255, 255, .55); }
.diag-bar span[data-v="2"] { background: #f5f5f7; }
.diag-title { margin: 0 0 10px; font: 600 clamp(24px, 2.6vw, 32px)/1.15 var(--display); }
.diag-text { margin: 0; color: #a1a1a6; max-width: 40em; }
.diag-start { margin-top: 22px; }
.diag-start .label { color: #86868b; }
.diag-start ul { margin: 8px 0 0; padding-left: 1.1em; }
.diag-start li::marker { color: var(--red); }
.diag-result .actions { margin-top: 28px; }
.diag-result a.more { color: var(--link-dark); }

/* ---------- Clienți: „Au avut încredere în noi” (logo-uri monocrome din manage/clients.json, vezi build_site.py) ---------- */
.logo-item { display: flex; align-items: center; justify-content: center; }
.logo-item img { width: calc(var(--lw) * var(--lk, 1)); max-width: 100%; height: auto; opacity: .58; transition: opacity .4s ease, transform .4s cubic-bezier(.2, .7, .2, 1); }
a.logo-item:hover { text-decoration: none; }
a.logo-item:hover img, a.logo-item:focus-visible img { opacity: 1; transform: scale(1.05); }
.clients-label { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font: 600 12px/1.33 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.clients-label::before { content: ""; width: 6px; height: 6px; background: var(--red); flex: none; }

/* Banda care derulează (home, contact) */
.clients-band { padding: clamp(44px, 5.5vw, 76px) 0; background: var(--bg); border-bottom: 1px solid rgba(0, 0, 0, .06); }
.clients-band .clients-label { margin-bottom: clamp(28px, 3.4vw, 44px); }
.marquee { --lk: .9; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; animation: logos-scroll 70s linear infinite; }
.marquee-track li { flex: none; display: flex; align-items: center; height: 80px; margin-right: clamp(56px, 6vw, 96px); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes logos-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 28px 0; padding: 0 var(--gutter); }
  .marquee-track .dup { display: none; }
}

/* Grila completă (/despre/, în tile-ul de sub „Cu cine lucrăm”) */
.clients-tile { margin-top: 20px; }
.clients-tile-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 48px; align-items: end; margin-bottom: clamp(28px, 3.5vw, 48px); }
.clients-tile-head .label { grid-column: 1 / -1; margin: 0; }
.clients-tile-head .title-sm { margin: 0; }
.clients-tile-head .mute { margin: 0; font-size: 17px; line-height: 1.47; }
.logo-grid { --lk: 1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; overflow: hidden; }
.logo-grid li { display: flex; align-items: center; justify-content: center; min-height: clamp(112px, 10vw, 148px); padding: 18px; box-shadow: 1px 0 0 var(--hair), 0 1px 0 var(--hair); }
.logo-grid .logo-item { width: 100%; height: 100%; }
@media (max-width: 1068px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 734px) {
  .clients-tile-head { grid-template-columns: 1fr; }
  .logo-grid { --lk: .78; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marquee { --lk: .75; }
  .marquee-track li { height: 64px; }
}

/* Rândul de pe /proiecte/ (clienții fără pagină de proiect) */
.clients-more .title-sm { margin-top: 14px; }
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(32px, 4vw, 48px) clamp(40px, 4.6vw, 72px); margin: clamp(36px, 4.5vw, 56px) auto 0; max-width: 1180px; padding: 0; list-style: none; }

/* ---------- Servicii (/servicii/ și paginile de etapă; vezi SERVICE_PAGES în build_site.py) ---------- */
.svc-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.svc-jump a { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 9px; border-radius: 980px; background: var(--bg-alt); color: var(--ink); font-size: 14px; letter-spacing: -.01em; transition: background-color .2s ease; }
.svc-jump a:hover { background: #e8e8ed; text-decoration: none; }
.svc-jump span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; }

.svc-index .wrap { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 28px); }
.svc-group { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 5vw, 80px); padding: clamp(28px, 4vw, 56px); background: var(--bg); border-radius: var(--radius); scroll-margin-top: calc(var(--gnav-h) + 72px); }
.svc-group-head { position: sticky; top: calc(var(--gnav-h) + 76px); align-self: start; }
.svc-letter { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 16px; background: var(--ink); color: #fff; font: 600 26px/1 var(--display); }
.svc-group-head .title-sm { margin: 0; }
.svc-group-head .mute { margin: 12px 0 0; font-size: 17px; line-height: 1.47; max-width: 22em; }
.svc-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hair); }
.svc-list li { border-bottom: 1px solid var(--hair); }
.svc-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 24px; align-items: center; gap: 16px; padding: 22px 4px; color: var(--ink); }
.svc-row:hover { text-decoration: none; }
.svc-num { font: 600 13px/1 var(--text); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.svc-main strong { font: 600 clamp(19px, 1.7vw, 23px)/1.2 var(--display); letter-spacing: -.01em; }
.svc-desc { flex-basis: 100%; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.svc-arrow { justify-self: end; font-size: 26px; line-height: 1; color: var(--ink-3); transition: transform .3s cubic-bezier(.2, .7, .2, 1), color .2s ease; }
.svc-row:hover .svc-arrow { transform: translateX(4px); color: var(--ink); }
.svc-row:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.svc-opt { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 980px; background: #fff1f0; color: var(--red); font: 600 11px/1.3 var(--text); letter-spacing: .02em; vertical-align: middle; }

.svc-hero .eyebrow a { color: var(--ink-2); }
.svc-hero-num { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 6px 0 10px; font: 600 15px/1 var(--text); color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc-steps { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.svc-steps .tile { display: flex; flex-direction: column; gap: 10px; background: var(--bg-alt); }
.svc-steps .tile h3 { margin: 0; font: 600 clamp(19px, 1.6vw, 22px)/1.25 var(--display); letter-spacing: -.005em; }

.svc-path { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.svc-path a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 980px; background: var(--bg); color: var(--ink-2); font-size: 13px; letter-spacing: -.01em; box-shadow: inset 0 0 0 1px var(--hair); transition: color .2s ease, box-shadow .2s ease; }
.svc-path a:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); text-decoration: none; }
.svc-path span { font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.svc-path .on a { background: var(--ink); color: #fff; box-shadow: none; }
.svc-path .on span { color: rgba(255, 255, 255, .6); }
.svc-path .gA + .gB, .svc-path .gB + .gC { margin-left: 14px; }
.svc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(32px, 4vw, 48px); }
.svc-pager a { display: flex; flex-direction: column; gap: 6px; padding: 22px 26px; border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); transition: transform .3s ease, box-shadow .3s ease; }
.svc-pager a:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 14px 32px -24px rgba(0, 0, 0, .45); }
.svc-pager strong { font: 600 19px/1.25 var(--display); }
.svc-pager-next { grid-column: 2; text-align: right; }

@media (max-width: 834px) {
  .svc-group { grid-template-columns: 1fr; }
  .svc-group-head { position: static; }
  .svc-letter { width: 44px; height: 44px; border-radius: 12px; font-size: 21px; margin-bottom: 16px; }
}
@media (max-width: 734px) {
  .svc-row { grid-template-columns: 34px minmax(0, 1fr) 16px; gap: 12px; padding: 18px 0; }
  .svc-path .gA + .gB, .svc-path .gB + .gC { margin-left: 0; }
  .svc-pager { grid-template-columns: 1fr; }
  .svc-pager-next { grid-column: auto; }
}

/* ---------- Pagini de servicii dezvoltate: widgeturi (assets/brandworks/services.js, conținut în manage/services/<slug>.html) ---------- */
.sx-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.sx-intro .title-sm { margin: 8px 0 0; }
.sx-not { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sx-not li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-2); font-size: 17px; }
.sx-not li::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--red); transform: translateY(-3px); }

.sx-widget { margin: 0; padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius); background: var(--bg-alt); }
.section.alt .sx-widget { background: var(--bg); }
.sx-head { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.sx-head .label { color: var(--red); }
.sx-head strong { font: 600 clamp(21px, 2vw, 26px)/1.2 var(--display); }
.sx-head span:last-child { color: var(--ink-2); font-size: 15px; }

/* taburi */
.sx-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 980px; background: var(--bg); width: fit-content; max-width: 100%; }
.section.alt .sx-tabs { background: var(--bg-alt); }
.sx-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; padding: 10px 18px; border-radius: 980px; background: none; color: var(--ink-2); font: 500 15px/1.2 var(--text); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.sx-tabs button span { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.sx-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.sx-tabs button[aria-selected="true"] span { color: rgba(255, 255, 255, .55); }
.sx-panels { margin-top: 28px; }
.sx-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; animation: sx-in .35s ease; }
@keyframes sx-in { from { opacity: 0; transform: translateY(6px); } }
.sx-def h3 { margin: 6px 0 12px; font: 600 clamp(22px, 2.2vw, 30px)/1.15 var(--display); }
.sx-def p:last-child { margin: 0; color: var(--ink-2); }
.sx-example { margin: 0; padding: 28px 30px; border-radius: var(--radius-sm); background: var(--ink); color: #f5f5f7; font: 400 clamp(18px, 1.6vw, 21px)/1.45 var(--display); }
.sx-example .label { display: block; margin-bottom: 10px; color: #86868b; }
.sx-example strong { color: #fff; }

/* generativitate */
.sx-cands { display: flex; flex-wrap: wrap; gap: 10px; }
.sx-cands button { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 980px; border: 0; background: var(--bg-alt); color: var(--ink); font: 500 15px/1.2 var(--text); cursor: pointer; box-shadow: inset 0 0 0 1px transparent; transition: background-color .25s ease, box-shadow .25s ease; }
.sx-cands button span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); font-weight: 600; font-size: 13px; }
.sx-cands button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sx-cands button[aria-pressed="true"] span { background: #fff; color: var(--ink); }
.sx-gen-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 40px; align-items: end; margin: 28px 0 24px; }
.sx-reframe { margin: 0; font: 600 clamp(21px, 2.1vw, 28px)/1.2 var(--display); max-width: 24em; }
.sx-score { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 2px 10px; min-width: 220px; }
.sx-score-num { font: 600 52px/1 var(--display); font-variant-numeric: tabular-nums; }
.sx-score-of { color: var(--ink-2); font-size: 14px; max-width: 9em; line-height: 1.3; }
.sx-score-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--hair); overflow: hidden; margin-top: 10px; }
.sx-score-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.sx-branches { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sx-branch { padding: 18px; border-radius: var(--radius-sm); background: var(--bg-alt); }
.sx-branch .label { margin: 0 0 12px; }
.sx-branch ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sx-branch li { padding: 12px 14px; border-radius: 12px; background: var(--bg); display: grid; gap: 3px; animation: sx-in .4s ease both; }
.sx-branch li:nth-child(2) { animation-delay: .05s; } .sx-branch li:nth-child(3) { animation-delay: .1s; } .sx-branch li:nth-child(4) { animation-delay: .15s; }
.sx-branch li strong { font: 600 15px/1.3 var(--text); }
.sx-branch li span { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.sx-branch li.coh { box-shadow: inset 3px 0 0 var(--ink); }
.sx-branch li.frc { box-shadow: inset 0 0 0 1px var(--hair); background: transparent; border: 1px dashed #b8b8bf; }
.sx-branch li.gen { box-shadow: inset 3px 0 0 var(--red); }
.sx-branch li.gen strong { color: var(--red); }
.sx-branch li.none { background: transparent; border: 1px dashed var(--hair); color: var(--ink-3); }
.sx-branch li.none strong { color: var(--ink-3); }
.sx-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-2); }
.sx-legend li { display: flex; align-items: center; gap: 8px; }
.sx-legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; }
.sx-legend .coh::before { background: var(--ink); }
.sx-legend .frc::before { border: 1px dashed #b8b8bf; }
.sx-legend .gen::before { background: var(--red); }
.sx-verdict { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--hair); font: 600 clamp(17px, 1.5vw, 19px)/1.45 var(--display); max-width: 46em; }

/* pași */
.sx-steps { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 3vw, 40px); }
.sx-step-nav { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; align-content: start; }
.sx-step-nav button { width: 100%; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 0; border-radius: 16px; background: transparent; color: var(--ink-2); font: 500 16px/1.3 var(--text); text-align: left; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.sx-step-nav button span { font-size: 12px; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sx-step-nav button:hover { background: rgba(0, 0, 0, .04); color: var(--ink); }
.sx-step-nav button[aria-selected="true"] { background: var(--bg); color: var(--ink); font-weight: 600; box-shadow: 0 10px 30px -22px rgba(0, 0, 0, .4); }
.sx-step-nav button[aria-selected="true"] span { color: var(--red); }
.sx-step { display: grid; gap: 22px; padding: clamp(22px, 3vw, 36px); border-radius: var(--radius-sm); background: var(--bg); animation: sx-in .35s ease; }
.sx-step h3 { margin: 6px 0 10px; font: 600 clamp(21px, 2vw, 27px)/1.2 var(--display); }
.sx-step p { margin: 0; color: var(--ink-2); }
.sx-ex { padding: 22px 24px; border-radius: 16px; background: var(--bg-alt); }
.sx-ex .label { margin: 0 0 10px; color: var(--red); }
.sx-ex p, .sx-ex li { color: var(--ink); font-size: 16px; line-height: 1.5; }
.sx-ex ul { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.sx-ex blockquote { margin: 0 0 12px; font: 600 19px/1.4 var(--display); }
.sx-checks { list-style: none; padding: 0 !important; display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-bottom: 12px !important; }
.sx-checks li { padding: 6px 12px; border-radius: 980px; background: var(--bg); font-size: 14px !important; }
.sx-checks li::before { content: "✓ "; font-weight: 700; }
.sx-checks li[data-v="partial"]::before { content: "◐ "; }

/* autotest */
.sx-self { background: #1d1d1f; color: #f5f5f7; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(28px, 5vw, 72px); }
.sx-self .label { color: var(--red); }
.sx-self-head .title-sm { margin: 8px 0 12px; color: #f5f5f7; }
.sx-self-list { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 10px; }
.sx-self-list li { counter-increment: q; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); transition: background-color .25s ease; }
.sx-self-list li.done { background: rgba(255, 255, 255, .1); }
.sx-stmt { font-size: 16px; line-height: 1.45; }
.sx-stmt::before { content: counter(q, decimal-leading-zero) "  "; color: #86868b; font-weight: 600; font-size: 13px; }
.sx-opts { display: inline-flex; gap: 4px; padding: 4px; border-radius: 980px; background: rgba(255, 255, 255, .08); }
.sx-opts button { border: 0; padding: 7px 14px; border-radius: 980px; background: none; color: #d2d2d7; font: 500 13px/1.2 var(--text); cursor: pointer; }
.sx-opts button[aria-checked="true"] { background: #f5f5f7; color: var(--ink); }
.sx-self-result { grid-column: 2; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; padding: 24px; border-radius: 18px; background: #f5f5f7; color: var(--ink); animation: sx-in .4s ease; }
.sx-self-score { font: 600 44px/1 var(--display); font-variant-numeric: tabular-nums; }
.sx-self-result h3 { margin: 0 0 6px; font: 600 21px/1.25 var(--display); }
.sx-self-result p { margin: 0; color: var(--ink-2); }

/* concepte din portofoliu */
.sx-cases .sx-tabs { margin-bottom: 4px; }
.sx-case { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.sx-case-idea h3 { margin: 8px 0 14px; font: 600 clamp(26px, 3vw, 40px)/1.1 var(--display); letter-spacing: -.01em; }
.sx-case-idea p { color: var(--ink-2); margin: 0 0 18px; }
.sx-case-gen ol { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: g; display: grid; gap: 10px; }
.sx-case-gen li { counter-increment: g; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--bg-alt); font-size: 16px; line-height: 1.45; }
.sx-case-gen li::before { content: counter(g, decimal-leading-zero); font-weight: 600; font-size: 13px; color: var(--red); padding-top: 2px; }

@media (max-width: 960px) {
  .sx-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-steps, .sx-self { grid-template-columns: minmax(0, 1fr); }
  .sx-step-nav { min-width: 0; }
  .sx-self-result { grid-column: auto; }
  .sx-step-nav { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 734px) {
  .sx-intro, .sx-panel, .sx-case, .sx-gen-top { grid-template-columns: 1fr; }
  .sx-branches { grid-template-columns: 1fr; }
  .sx-tabs { border-radius: 18px; }
  .sx-self-list li { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sx-panel, .sx-step, .sx-branch li, .sx-self-result { animation: none; } .sx-score-bar i { transition: none; } }
.sx-panel[hidden], .sx-step[hidden], .sx-self-result[hidden] { display: none; }
.sx-branches { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }

/* comutator înainte / după (data-sx="toggle") */
.sx-modes { display: inline-flex; gap: 4px; padding: 5px; border-radius: 980px; background: var(--bg); margin-bottom: 24px; flex-wrap: wrap; }
.section.alt .sx-modes { background: var(--bg-alt); }
.sx-modes button { border: 0; padding: 10px 18px; border-radius: 980px; background: none; color: var(--ink-2); font: 500 15px/1.2 var(--text); cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.sx-modes button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sx-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sx-rows li { display: grid; grid-template-columns: minmax(140px, 3fr) minmax(0, 9fr); gap: 8px 28px; align-items: baseline; padding: 18px 20px; border-radius: 16px; background: var(--bg); }
.section.alt .sx-rows li, .sx-widget .sx-rows li { background: var(--bg); }
.section.alt .sx-widget .sx-rows li { background: var(--bg-alt); }
.sx-rows .label { margin: 0; }
.sx-rows p { margin: 0; font: 500 clamp(17px, 1.5vw, 20px)/1.45 var(--display); transition: opacity .2s ease; }
.sx-widget[data-mode="b"] .sx-rows p { color: var(--ink); }
.sx-widget[data-mode="a"] .sx-rows p { color: var(--ink-2); }
@media (max-width: 960px) { .sx-branches { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .sx-branches { grid-template-columns: 1fr; } .sx-rows li { grid-template-columns: 1fr; } }

/* ---------- Proiecte · hero compact ---------- */
/* Titlu pe un rând (a doua parte gri), numărul de proiecte în dreapta, filtrele dedesubt și grila imediat după. */
.work-top { padding-top: clamp(28px, 3.6vw, 52px); }
.work-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 32px; margin-bottom: 20px; }
.work-title { margin: 0; max-width: 22em; font: 600 clamp(28px, 3.4vw, 44px)/1.1 var(--display); letter-spacing: -.012em; color: var(--ink); text-wrap: balance; }
.work-title span { color: var(--ink-3); }
.work-intro .status { margin: 0; text-align: right; white-space: nowrap; font-size: 14px; color: var(--ink-3); }
.work-filters { justify-content: flex-start; margin: 0 0 28px; }
@media (max-width: 734px) {
  .work-intro .status { text-align: left; }
  .work-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 22px; padding: 0 var(--gutter) 2px; }
  .work-filters::-webkit-scrollbar { display: none; }
  .work-filters .filter { white-space: nowrap; }
}
/* Bara locală: titlurile lungi (ex. etapele de servicii) se taie cu „…” în loc să împingă butonul în afara ecranului */
.lnav-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.lnav-links { flex: none; }

/* ---------- Galerii (Proiecte recente etc.): carduri cu etichetă, contor și bară de progres ---------- */
.gallery { scroll-padding-inline: var(--gutter); }
.gallery > .shot { display: flex; flex-direction: column; }
.shot .cap { position: relative; flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 64px 22px 22px; }
.shot .cap .tag { padding: 5px 10px; border-radius: 980px; background: var(--bg-alt); color: var(--ink-2); font: 600 11px/1.2 var(--text); letter-spacing: .03em; text-transform: uppercase; }
.shot .cap strong { margin-top: 4px; }
.shot .cap .sub { color: var(--ink-2); font-size: 14px; line-height: 1.42; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shot .go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); color: var(--ink); font-size: 20px; line-height: 1; transition: background-color .25s ease, color .25s ease, transform .25s ease; }
.shot:hover .go { background: var(--ink); color: #fff; transform: translateX(2px); }
.gallery-nav { align-items: center; }
.gallery-progress { display: flex; align-items: center; gap: 16px; margin-right: auto; min-width: 0; flex: 1; max-width: 360px; }
.gp-count { flex: none; color: var(--ink-3); font: 500 13px/1 var(--text); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.gp-count b { color: var(--ink); font-weight: 600; }
.gp-bar { position: relative; flex: 1; height: 3px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.gp-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--ink); transition: transform .15s linear; }
.on-dark .gp-count b { color: #f5f5f7; }
.on-dark .gp-bar { background: rgba(255, 255, 255, .2); }
.on-dark .gp-bar i { background: #f5f5f7; }
@media (max-width: 734px) {
  .gallery { grid-auto-columns: 84vw; gap: 12px; }
  .shot .img { aspect-ratio: 1 / 1; }
  .shot .cap strong { font-size: 20px; }
  .gallery-nav { margin-top: 18px; gap: 10px; }
  .gallery-nav button { width: 40px; height: 40px; }
  .gallery-progress { gap: 12px; }
}

/* „Au avut încredere în noi” pe telefon: grilă fixă 3 × 4 în locul benzii care derulează */
.clients-proof, .clients-grid-m { display: none; }
@media (max-width: 734px) {
  .clients-band { padding: 32px 0 36px; }
  .clients-band .clients-label { margin-bottom: 10px; font-size: 11px; letter-spacing: .12em; }
  .clients-proof { display: block; max-width: 19em; margin: 0 auto 20px; text-align: center; font: 600 18px/1.3 var(--display); letter-spacing: -.01em; color: var(--ink); text-wrap: balance; }
  .clients-band .marquee { display: none; }
  .clients-grid-m { display: block; }
  .clients-grid-m ul { --lk: .7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-radius: 20px; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 1px var(--hair), 0 18px 40px -32px rgba(0, 0, 0, .35); }
  .clients-grid-m li { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / .62; padding: 8px 10px; box-shadow: 1px 0 0 var(--hair), 0 1px 0 var(--hair); }
  .clients-grid-m .logo-item { width: 100%; height: 100%; }
  .clients-grid-m .logo-item img { opacity: .72; }
  .clients-grid-m .more-cell a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 100%; height: 100%; color: var(--ink); text-decoration: none; }
  .clients-grid-m .more-cell strong { font: 600 20px/1 var(--display); }
  .clients-grid-m .more-cell span { font-size: 12px; color: var(--ink-2); }
}

/* ---------- „Programează o discuție”: formularul în 4 pași (assets/brandworks/wizard.js) ---------- */
html.wz-open { overflow: hidden; }
.wz { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 24px; }
.wz[hidden] { display: none; }
.wz-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .44); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .25s ease; }
.wz-panel { position: relative; width: min(760px, 100%); max-height: min(880px, calc(100vh - 48px)); overflow: auto; overscroll-behavior: contain; border-radius: 28px; background: var(--bg); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .55); opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
.wz.in .wz-scrim { opacity: 1; }
.wz.in .wz-panel { opacity: 1; transform: none; }
.wz-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 18px 22px 14px 32px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.wz-brand { margin: 0; display: flex; align-items: center; gap: 10px; font: 600 14px/1 var(--text); color: var(--ink-2); }
.wz-brand::before { content: ""; width: 6px; height: 6px; background: var(--red); }
.wz-x { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-alt); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; }
.wz-x:hover { background: #e8e8ed; }
.wz-bar { height: 3px; margin: 0 32px; border-radius: 2px; background: var(--hair); overflow: hidden; }
.wz-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.wz-steps { display: flex; gap: 6px 18px; flex-wrap: wrap; margin: 14px 32px 0; padding: 0; list-style: none; font-size: 13px; color: var(--ink-3); }
.wz-steps li { display: flex; align-items: center; gap: 7px; }
.wz-steps span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--bg-alt); font-size: 11px; font-weight: 600; }
.wz-steps li.on { color: var(--ink); font-weight: 600; }
.wz-steps li.on span { background: var(--ink); color: #fff; }
.wz-steps li.done span { background: var(--ink-3); color: #fff; }
.wz-form { padding: 28px 32px 0; }
.wz-kicker { margin: 0 0 6px; font: 600 12px/1.3 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.wz-body h2 { margin: 0; font: 600 clamp(28px, 4vw, 40px)/1.08 var(--display); letter-spacing: -.015em; outline: none; }
.wz-lead { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.45; max-width: 34em; }
.wz-fields { display: grid; gap: 22px; margin-top: 28px; }
.wz-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.wz-field legend { padding: 0; }
.wz-label { display: block; margin-bottom: 9px; font: 600 15px/1.35 var(--text); color: var(--ink); }
.wz-label em { font-style: normal; font-weight: 400; color: var(--ink-3); margin-left: 4px; }
.wz-field input[type="text"], .wz-field input[type="email"], .wz-field input[type="tel"], .wz-field textarea { width: 100%; padding: 14px 16px; border: 1px solid var(--hair); border-radius: 14px; background: var(--bg); font: 400 17px/1.4 var(--text); color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.wz-field textarea { resize: vertical; min-height: 96px; }
.wz-field input:focus, .wz-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(29, 29, 31, .08); }
.wz-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-chip { padding: 10px 16px; border: 1px solid var(--hair); border-radius: 980px; background: var(--bg); color: var(--ink); font: 400 15px/1.25 var(--text); text-align: left; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.wz-chip:hover { border-color: var(--ink-3); }
.wz-chip[aria-checked="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.wz-chip[role="checkbox"][aria-checked="true"]::before { content: "✓ "; }
.wz-check label { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--ink-2); cursor: pointer; }
.wz-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.wz-err { margin: 8px 0 0; font-size: 13px; color: var(--red); }
.wz-field.bad input, .wz-field.bad textarea { border-color: var(--red); }
.wz-field.bad .wz-chip { border-color: rgba(217, 0, 6, .4); }
.wz-foot { position: sticky; bottom: 0; display: flex; align-items: center; gap: 16px; margin: 32px -32px 0; padding: 16px 32px 20px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid rgba(0, 0, 0, .06); }
.wz-foot[hidden] { display: none; }
.wz-back { border: 0; background: none; padding: 10px 4px; color: var(--link); font: 400 17px/1 var(--text); cursor: pointer; }
.wz-back[hidden] { display: none; }
.wz-note { margin-right: auto; font-size: 13px; color: var(--ink-3); }
.wz-next { min-width: 140px; }
.wz-done { padding: 12px 0 36px; }
.wz-done-mark { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 26px; }
.wz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 26px; }
.wz-copy { border: 0; background: none; padding: 0; color: var(--link); font: 400 17px/1 var(--text); cursor: pointer; }
.wz-sum { margin-top: 26px; padding: 16px 18px; border-radius: 16px; background: var(--bg-alt); }
.wz-sum summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.wz-sum pre { margin: 12px 0 0; white-space: pre-wrap; font: 400 14px/1.55 var(--text); color: var(--ink-2); }
.wz-next-steps { margin: 22px 0 0; font-size: 15px; color: var(--ink-2); }
@media (max-width: 734px) {
  .wz { padding: 0; place-items: end stretch; }
  .wz-panel { width: 100%; max-height: 94vh; border-radius: 24px 24px 0 0; transform: translateY(40px); }
  .wz-head { padding: 14px 14px 12px 20px; }
  .wz-bar, .wz-steps { margin-left: 20px; margin-right: 20px; }
  .wz-steps li:not(.on) { font-size: 0; gap: 0; }
  .wz-steps li:not(.on) span { font-size: 11px; }
  .wz-form { padding: 22px 20px 0; }
  .wz-foot { margin: 28px -20px 0; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); }
  .wz-note { display: none; }
  .wz-next { margin-left: auto; }
  .wz-chip { font-size: 14px; padding: 9px 14px; }
}
@media (prefers-reduced-motion: reduce) { .wz-panel, .wz-scrim, .wz-bar i { transition: none; } }
.wz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
