/* Digital Interaction - DESKTOP redesign
   Layered on top of styles.css. Targets 1280–1920 viewports. */

:root {
  --gutter: 56px;
  --col-max: 1440px;
  --content-max: 1320px;
}

/* reset desktop body */
body { background: var(--bone); min-height: 100vh; }

/* container helpers */
.dx-wrap   { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter); }
.dx-tight  { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.dx-section { padding: 120px 0; }
.dx-section.tight { padding: 80px 0; }

/* desktop type bumps */
.dx-h-display {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.92;
  font-size: clamp(72px, 8.5vw, 144px);
}
.dx-h1 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
  font-size: clamp(56px, 5.8vw, 96px);
}
.dx-h2 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-size: clamp(44px, 4.2vw, 68px);
}
.dx-h3 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  font-size: clamp(28px, 2vw, 36px);
}
.dx-body {
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.dx-body-lg {
  font-family: var(--f-body);
  font-size: 19px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.dx-it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

/* ─── topbar ─── */
.dx-topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dx-topbar .left-logo img { height: 32px; display: block; }
.dx-topbar .right { display: flex; align-items: center; gap: 24px; }
.dx-topbar .lang {
  font-family: var(--f-body);
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dx-topbar .lang .active { font-weight: 700; }
.dx-topbar .lang .slash { opacity: 0.3; }
.dx-topbar .menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: none;
}
.dx-topbar .menu-btn .icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
}
.dx-topbar .menu-btn .icon span { display: block; width: 12px; height: 1.6px; background: currentColor; border-radius: 2px; }

/* ─── hero ─── */
.dx-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
}
.dx-hero .left  { background: var(--bone); color: var(--ink); padding: 200px var(--gutter) 80px; display: flex; flex-direction: column; justify-content: space-between; }
.dx-hero .right { background: var(--ink);  color: var(--bone); padding: 200px var(--gutter) 80px; display: flex; flex-direction: column; justify-content: space-between; }
.dx-hero h1 { margin: 22px 0 0; max-width: 760px; }
.dx-hero .lede {
  margin-top: 28px;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.72;
}
.dx-hero .arrow-link {
  margin-top: 36px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.55;
  text-transform: lowercase;
}
.dx-hero .right .proof-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 40px;
  column-gap: 32px;
}
.dx-hero .right .proof-grid .num {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.88;
  font-size: clamp(56px, 4.5vw, 80px);
}
.dx-hero .right .proof-grid .num .muted { opacity: 0.4; }
.dx-hero .right .proof-grid .lbl {
  font-family: var(--f-body);
  font-size: 13px;
  margin-top: 12px;
  opacity: 0.55;
}
.dx-hero .right .cta-pill {
  margin-top: 48px;
  width: 100%;
  background: var(--bone);
  color: var(--ink);
  border-radius: 999px;
  padding: 18px 18px 18px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
}
.dx-hero .right .cta-pill .arr {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
}
.dx-hero .right .cta-pill:hover {
  background: #ffffff;
  box-shadow: 0 18px 34px -10px rgba(245, 242, 235, 0.30),
              0 4px 14px -2px rgba(245, 242, 235, 0.16);
}

/* ─── cine suntem ─── */
.cine-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
}
.cine-grid .heading h2 { margin: 0; max-width: 920px; }
.cine-grid .heading .lede {
  margin-top: 36px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.72;
}
.cine-photo {
  margin-top: 56px;
  width: 100%;
  height: clamp(420px, 44vw, 640px);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(10,10,10,0.06) 0 8px,
      rgba(10,10,10,0.02) 8px 16px);
  border: 1px solid var(--hair-l);
}
.cine-photo .corner,
.cine-photo .label {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.55;
}
.cine-photo .corner { top: 18px; right: 22px; }
.cine-photo .label  { bottom: 18px; left: 22px; }

.cine-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.cine-meta .stack {
  display: flex;
}
.cine-meta .stack span {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--bone);
  background: var(--mist);
}
.cine-meta .stack span + span { margin-left: -14px; background: var(--smoke); }
.cine-meta .stack span + span + span { background: var(--mist); }
.cine-meta .stack span + span + span + span { background: var(--smoke); }

/* ─── scale ─── */
.scale-section { background: var(--ink); color: var(--bone); }
.scale-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
}
.scale-grid .cell .num {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.86;
  font-size: clamp(120px, 14vw, 220px);
  display: block;
}
.scale-grid .cell .num .muted { opacity: 0.38; }
.scale-grid .cell .lbl {
  margin-top: 24px;
  font-family: var(--f-body);
  font-size: 14px;
  opacity: 0.6;
  max-width: 320px;
  line-height: 1.45;
}
.scale-partners {
  margin-top: 96px;
  padding-top: 36px;
  border-top: 1px solid var(--hair-d);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.scale-partners .col .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.5;
}
.scale-partners .col .v {
  margin-top: 12px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
}
.scale-rule-top {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 64px;
}
.scale-rule-top .line { flex: 1; height: 1px; background: currentColor; opacity: 0.35; }

/* ─── services ─── */
.services-section { background: var(--ink); color: var(--bone); }
.services-head {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 72px;
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.svc-card {
  border: 1px solid var(--hair-d);
  border-radius: 22px;
  padding: 32px 32px 32px;
  background: rgba(245,242,235,0.015);
  display: flex;
  flex-direction: column;
  min-height: 420px;
}
.svc-card .top-row {
  display: flex; justify-content: space-between; align-items: center;
}
.svc-card .idx {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  opacity: 0.55;
}
.svc-card h3 {
  margin: 32px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.98;
  font-size: 40px;
  text-transform: uppercase;
}
.svc-card .desc {
  margin-top: 20px;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.72;
  max-width: 460px;
}
.svc-card .chips { margin-top: 24px; }
.svc-card .footer-row {
  margin-top: auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}
.svc-card .footer-row .btn { padding: 12px 18px; font-size: 13px; }
.svc-card .footer-row .btn .arr { width: 22px; height: 22px; font-size: 12px; }

/* feature span service card - bigger / accent */
.svc-card.featured {
  grid-column: span 2;
  background: rgba(245,242,235,0.04);
  border-color: var(--hair-d2);
}
.svc-card.featured .inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}
.svc-card.featured .text-side { display: flex; flex-direction: column; }
.svc-card.featured.flipped .inner { grid-template-columns: 1.1fr 1fr; }
.svc-card.featured.flipped .text-side { order: 2; }
.svc-card.featured.flipped .ph-dark { order: 1; }
.svc-card.featured h3 { font-size: 56px; }
.svc-card.featured .ph-dark {
  border-radius: 14px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(245,242,235,0.05) 0 8px,
      rgba(245,242,235,0.015) 8px 16px);
  border: 1px solid var(--hair-d);
}
.svc-card.featured .ph-dark .label {
  position: absolute;
  left: 16px; bottom: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* ─── services motion graphic (featured card) ─── */
.perf-motion {
  display: flex;
  flex-direction: column;
  padding: 20px 22px 18px;
  background:
    linear-gradient(rgba(245,242,235,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,242,235,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.perf-motion .pm-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  opacity: 0.6;
}
.perf-motion .pm-live { display: inline-flex; align-items: center; gap: 8px; }
.perf-motion .pm-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #5BE49B;
  animation: pm-pulse 1.8s ease-in-out infinite;
}
@keyframes pm-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(91,228,155,0.45); }
  50%      { box-shadow: 0 0 0 6px rgba(91,228,155,0); }
}
.perf-motion .pm-kpi {
  margin-top: 18px;
  display: flex; align-items: baseline; gap: 12px;
}
.perf-motion .pm-kpi-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.perf-motion .pm-kpi-label {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  opacity: 0.55;
}
.perf-motion .pm-chart {
  flex: 1;
  width: 100%;
  min-height: 90px;
  margin-top: 10px;
}
.perf-motion .pm-area {
  fill: rgba(91,228,155,0.10);
  opacity: 0;
  transition: opacity 0.9s ease 1s;
}
.perf-motion .pm-line {
  fill: none;
  stroke: #5BE49B;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}
.perf-motion .pm-end {
  fill: #5BE49B;
  opacity: 0;
  transition: opacity 0.4s ease 1.7s;
}
.perf-motion .pm-bars {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  height: 92px;
  margin-top: 16px;
}
.perf-motion .pm-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  gap: 6px;
}
.perf-motion .pm-bar i {
  display: block;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, rgba(245,242,235,0.12), rgba(245,242,235,0.30));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
}
.perf-motion .pm-bar.hl i {
  background: linear-gradient(to top, rgba(91,228,155,0.25), rgba(91,228,155,0.55));
}
.perf-motion .pm-bar b {
  font-family: var(--f-mono);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease calc(var(--d, 0ms) + 500ms);
}
.perf-motion.in-view .pm-bar b { opacity: 0.7; }
.perf-motion .pm-bar span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: center;
  opacity: 0.45;
}
.perf-motion.in-view .pm-line { stroke-dashoffset: 0; }
.perf-motion.in-view .pm-area,
.perf-motion.in-view .pm-end { opacity: 1; }
.perf-motion.in-view .pm-bar i { transform: scaleY(1); }

/* services cards scroll reveal (armed by JS so no-JS still shows content) */
.anim-ready .svc-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.anim-ready .svc-card.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .anim-ready .svc-card { opacity: 1; transform: none; transition: none; }
  .perf-motion .pm-line { stroke-dashoffset: 0; transition: none; }
  .perf-motion .pm-area, .perf-motion .pm-end { opacity: 1; transition: none; }
  .perf-motion .pm-bar i { transform: none; transition: none; }
  .perf-motion .pm-dot { animation: none; }
}

/* ─── SEO audit ─── */
.audit-section { background: var(--ink); color: var(--bone); }
.audit-card {
  background: var(--bone);
  color: var(--ink);
  border-radius: 28px;
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.audit-card .head h3 {
  margin: 20px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  font-size: 56px;
}
.audit-card .lede {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.5;
  opacity: 0.7;
  max-width: 460px;
}
.audit-card .form-side { display: flex; flex-direction: column; gap: 14px; }
.audit-card .field {
  background: rgba(10,10,10,0.04);
  border: 1px solid var(--hair-l);
  border-radius: 14px;
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.audit-card .field .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  opacity: 0.55;
  text-transform: uppercase;
}
.audit-card .field input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--f-mono);
  font-size: 15px;
  color: var(--ink);
  padding: 2px 0;
}
.audit-card .submit {
  margin-top: 4px;
  background: var(--ink);
  color: var(--bone);
  border: none;
  border-radius: 999px;
  padding: 18px 22px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.audit-card .submit .arr {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
}
.audit-card .submit:hover {
  background: var(--smoke);
  box-shadow: 0 18px 30px -14px rgba(10, 10, 10, 0.55),
              0 4px 10px -4px rgba(10, 10, 10, 0.25);
}
.audit-card .reassure {
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}

/* audit step form */
.audit-card [hidden] { display: none !important; }
.audit-card .step-row {
  display: flex; justify-content: flex-end; align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.10em;
  opacity: 0.55;
}
.audit-card .step-dots { display: inline-flex; gap: 6px; }
.audit-card .step-dots .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink); opacity: 0.18;
}
.audit-card .step-dots .dot.on { opacity: 1; }
.audit-card .form-err {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #B3261E;
}
.audit-card .btn-row { display: flex; gap: 10px; margin-top: 4px; }
.audit-card .btn-row .submit { flex: 1; margin-top: 0; }
.audit-card .btn-back {
  width: 56px;
  border-radius: 999px;
  border: 1px solid var(--hair-l2);
  background: transparent;
  color: var(--ink);
  font-size: 16px;
  cursor: pointer;
}
.audit-card .btn-back:hover { background: rgba(10, 10, 10, 0.06); }
.audit-card .audit-success {
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.audit-card .audit-success .check {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink); color: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.audit-card .audit-success h4 {
  margin: 8px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 26px;
}
.audit-card .audit-success p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0.7;
}

/* ─── projects ─── */
.projects-section { background: var(--bone); color: var(--ink); }
.projects-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 80px;
  gap: 48px;
}
.projects-head h2 { margin: 24px 0 0; max-width: 920px; }
.projects-head .top-actions {
  display: flex; align-items: center; gap: 14px;
}
.projects-head .top-actions .btn { padding: 12px 18px; font-size: 13px; }
.project-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  padding: 56px 0;
  border-top: 1px solid var(--hair-l);
  align-items: center;
}
.project-row:last-child { border-bottom: 1px solid var(--hair-l); }
.project-row.flipped { grid-template-columns: 1.5fr 1fr; }
.project-row .info .idx-row {
  display: flex; justify-content: space-between; align-items: baseline;
}
.project-row .info h3 {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.0;
  font-size: 56px;
}
.project-row .info .num {
  font-family: var(--f-mono);
  font-size: 13px;
  opacity: 0.5;
  letter-spacing: 0.06em;
}
.project-row .info .desc {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.55;
  opacity: 0.72;
  max-width: 480px;
}
.project-row .info .chips { margin-top: 28px; }
.project-cover {
  height: clamp(360px, 32vw, 480px);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(10,10,10,0.06) 0 8px,
      rgba(10,10,10,0.02) 8px 16px);
  border: 1px solid var(--hair-l);
}
.project-cover .corner,
.project-cover .label {
  position: absolute;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.55;
}
.project-cover .corner { top: 18px; right: 22px; }
.project-cover .label  { bottom: 18px; left: 22px; }
.project-row.flipped .project-cover { order: -1; }

/* ─── formula ─── */
.formula-section { background: var(--ink); color: var(--bone); }
.formula-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 96px;
  align-items: start;
}
.formula-grid .left h2 { margin: 22px 0 0; max-width: 600px; }
.formula-grid .left .lede {
  margin-top: 36px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.72;
  max-width: 480px;
}
.formula-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.formula-step {
  border: 1px solid var(--hair-d);
  border-radius: 22px;
  padding: 32px 28px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.formula-step .n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 88px;
  letter-spacing: -0.06em;
  line-height: 0.8;
  -webkit-text-stroke: 1.2px var(--bone);
  color: transparent;
}
.formula-step .t {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
}
.formula-step .d {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.55;
  opacity: 0.72;
}

/* ─── reviews ─── */
.reviews-section { background: var(--ink); color: var(--bone); }
.reviews-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 56px;
}
.reviews-head .rule {
  display: flex; align-items: center; gap: 16px; width: 100%; max-width: 600px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  opacity: 0.55;
  text-transform: uppercase;
}
.reviews-head .rule .line { flex: 1; height: 1px; background: currentColor; opacity: 0.35; }
.reviews-head .badge {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair-d2);
}
.reviews-head .badge .g {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bone); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
}
.reviews-head .badge .score {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.reviews-head .badge .score .out { opacity: 0.5; font-weight: 400; }
.reviews-head .badge .stars { letter-spacing: 0.06em; opacity: 0.85; }
.reviews-head .badge .count { font-family: var(--f-mono); font-size: 12px; opacity: 0.55; }

.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.review-card {
  background: var(--bone);
  color: var(--ink);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.review-card .quote-mark {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  line-height: 0.4;
  height: 28px;
  opacity: 0.85;
}
.review-card .text {
  margin-top: 18px;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.review-card .text .it {
  font-size: 17px;
}
.review-card .person {
  margin-top: 28px;
  display: flex; align-items: center; gap: 14px;
}
.review-card .person .avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--mist);
  flex-shrink: 0;
}
.review-card .person .name {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 15px;
}
.review-card .person .role {
  margin-top: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  opacity: 0.55;
  text-transform: uppercase;
}
.review-dots {
  display: flex; justify-content: center; gap: 10px; margin-top: 36px;
}
.review-dots .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--bone); opacity: 0.25;
}
.review-dots .dot.on { opacity: 1; }

/* ─── brands ─── */
.brands-section { background: var(--ink); color: var(--bone); }
.brands-section h2 {
  text-align: center;
  margin: 0 auto;
  max-width: 900px;
}
.brands-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--hair-d);
  border-left: 1px solid var(--hair-d);
}
.brands-grid .brand-cell {
  border-right: 1px solid var(--hair-d);
  border-bottom: 1px solid var(--hair-d);
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  opacity: 0.78;
}
.brands-grid .brand-cell .serif-mark {
  font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 28px; letter-spacing: -0.01em;
}
.brands-grid .brand-cell .mono-mark {
  font-family: var(--f-mono); font-weight: 500; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase;
}
.brands-grid .brand-cell.extra { display: none; }
.brands-grid.expanded .brand-cell.extra { display: flex; }
.brands-more {
  margin-top: 48px;
  display: flex; justify-content: center;
}
.brands-more[hidden] { display: none; }
.brands-more .btn-ghost-bone {
  background: transparent;
  color: var(--bone);
  border: none;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer;
  padding: 12px 20px;
}

/* ─── contact ─── */
.contact-section { background: var(--bone); color: var(--ink); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 96px;
  align-items: center;
}
.contact-grid h2 { margin: 22px 0 0; }
.contact-grid .lede {
  margin-top: 32px;
  font-size: 18px;
  line-height: 1.5;
  opacity: 0.72;
  max-width: 480px;
}
.contact-grid .reassure {
  margin-top: 24px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.55;
}
.contact-cta {
  background: var(--ink);
  color: var(--bone);
  border-radius: 22px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-cta .k {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
}
.contact-cta .big-num {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 56px;
  letter-spacing: -0.035em;
  line-height: 0.95;
}
.contact-cta .submit {
  margin-top: 4px;
  background: var(--bone);
  color: var(--ink);
  border: none;
  border-radius: 999px;
  padding: 18px 22px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 15px;
  display: flex; align-items: center; justify-content: space-between;
  cursor: pointer;
}
.contact-cta .submit .arr {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bone);
  display: inline-flex; align-items: center; justify-content: center;
}
.contact-cta .submit:hover {
  background: #ffffff;
  box-shadow: 0 18px 34px -10px rgba(245, 242, 235, 0.30),
              0 4px 14px -2px rgba(245, 242, 235, 0.16);
}

/* ─── footer: shared partial views/partials/footer-redesign.ejs ─── */

/* chips bump for desktop */
.chip { font-size: 12px; height: 34px; padding: 0 14px; }

/* page chrome label (small dev label) */
.page-frame-label {
  position: fixed;
  top: 14px; left: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.45);
  z-index: 100;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .dx-hero { grid-template-columns: 1fr; }
  .dx-hero .left, .dx-hero .right { padding: 140px var(--gutter) 60px; }
  .cine-grid, .services-head, .formula-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid, .formula-steps, .audit-card { grid-template-columns: 1fr; }
  .scale-grid { grid-template-columns: 1fr; gap: 56px; }
  .review-grid { grid-template-columns: 1fr; }
  .project-row, .project-row.flipped { grid-template-columns: 1fr; }
  .project-row.flipped .project-cover { order: 0; }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card.featured { grid-column: span 1; }
  .svc-card.featured .inner, .svc-card.featured.flipped .inner { grid-template-columns: 1fr; }
  .svc-card.featured.flipped .text-side { order: 0; }
  .svc-card.featured.flipped .ph-dark { order: 1; }
}

/* ──────────────────────────────────────────────────────────────
   ADAPTATIONS: real images replacing the prototype placeholders
   + interactive review carousel overrides
   ────────────────────────────────────────────────────────────── */

/* image fills inside placeholder frames */
.cine-photo.has-img,
.project-cover.has-img,
.svc-card.featured .ph-dark.has-img {
  background: var(--mist);
  border: 0;
}
.cine-photo.has-img > img,
.project-cover.has-img > img,
.svc-card.featured .ph-dark.has-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cine-photo.has-img .corner,
.cine-photo.has-img .label,
.project-cover.has-img .corner,
.project-cover.has-img .label,
.svc-card.featured .ph-dark.has-img .label {
  display: none;
}
a.project-cover { text-decoration: none; color: inherit; display: block; }

/* team stack with real avatars instead of plain spans */
.cine-meta .stack.team-stack {
  display: flex;
}
.cine-meta .stack.team-stack img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bone);
  background: var(--mist);
  display: block;
}
.cine-meta .stack.team-stack img + img { margin-left: -14px; }

/* review-card avatar as image */
.review-card .person .avatar-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* brand cells now hold logo images instead of wordmarks */
.brands-grid .brand-cell .brand-logo {
  max-width: 70%;
  max-height: 44px;
  width: auto;
  height: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
}

/* review grid → scroll-snap carousel (5 cards, 3 visible on desktop) */
.review-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* break out of dx-wrap padding so the track edges touch the viewport */
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  padding: 4px var(--gutter);
}
.review-grid::-webkit-scrollbar { display: none; }
.review-grid .review-card.review-slide {
  flex: 0 0 calc((100% - var(--gutter) * 2 - 40px) / 3);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-width: 0;
}
@media (max-width: 1100px) {
  .review-grid .review-card.review-slide {
    flex-basis: calc(100% - var(--gutter) * 2);
    scroll-snap-align: center;
  }
}

/* review dots: clickable buttons */
.review-dots .dot {
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.review-dots .dot:hover { opacity: 0.7; }
.review-dots .dot.on { transform: scale(1.2); }

/* CTA pill in hero is an <a> now */
a.cta-pill { text-decoration: none; }

/* lang switch in topbar */
.dx-topbar .lang { cursor: default; user-select: none; }

/* mobile: hide the cine-photo placeholder corner labels when image fills */
@media (max-width: 1100px) {
  .cine-photo { margin-top: 32px; height: clamp(280px, 60vw, 480px); }
}

/* ──────────────────────────────────────────────────────────────
   MOBILE (≤ 700px): scale the dx-* desktop system down to phone.
   Aligned with the .phone design tokens in styles.css
   (22px gutters, mobile type scale).
   ────────────────────────────────────────────────────────────── */
@media (max-width: 700px) {
  :root { --gutter: 22px; }

  html, body { overflow-x: clip; }

  .dx-section { padding: 64px 0; }
  .dx-section.tight { padding: 48px 0; }

  /* type scale down to the mobile sizes from styles.css */
  .dx-h-display { font-size: clamp(44px, 13vw, 72px); }
  .dx-h1 { font-size: clamp(40px, 12vw, 56px); }
  .dx-h2 { font-size: clamp(32px, 10vw, 44px); }
  .dx-h3 { font-size: clamp(22px, 6.5vw, 28px); }
  .dx-body-lg { font-size: 17px; }

  /* cine suntem */
  .cine-grid .heading .lede { margin-top: 24px; font-size: 16px; }
  .cine-photo { margin-top: 28px; }

  /* scale */
  .scale-grid { gap: 40px; }
  .scale-grid .cell .num { font-size: clamp(80px, 24vw, 120px); }
  .scale-rule-top { margin-bottom: 40px; }
  .scale-partners {
    margin-top: 56px;
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .scale-partners .col .v { font-size: 24px; }

  /* services */
  .services-head { margin-bottom: 40px; }
  .svc-card {
    padding: 24px 20px;
    min-height: 0;
    border-radius: 18px;
  }
  .svc-card h3 { font-size: clamp(28px, 8.5vw, 36px); margin-top: 24px; }
  .svc-card .desc { font-size: 15px; }
  .svc-card.featured h3 { font-size: clamp(28px, 8.5vw, 36px); }
  .svc-card.featured .inner { gap: 28px; }
  .svc-card.featured .ph-dark { min-height: 220px; }
  .svc-card .footer-row { padding-top: 24px; }

  /* audit */
  .audit-card {
    padding: 32px 22px;
    gap: 36px;
    border-radius: 22px;
  }
  .audit-card .head h3 { font-size: clamp(32px, 10vw, 44px); }
  .audit-card .lede { font-size: 16px; }

  /* projects */
  .projects-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
  }
  .project-row, .project-row.flipped { gap: 28px; padding: 40px 0; }
  .project-row .info h3 { font-size: clamp(30px, 9vw, 40px); }
  .project-row .info .desc { margin-top: 16px; font-size: 15px; }
  .project-cover { height: clamp(240px, 64vw, 360px); }

  /* formula */
  .formula-grid { gap: 48px; }
  .formula-grid .left .lede { margin-top: 24px; font-size: 16px; }
  .formula-step { min-height: 0; padding: 24px 20px; }
  .formula-step .n { font-size: 64px; }

  /* reviews */
  .review-card { min-height: 0; padding: 28px 22px; }

  /* brands */
  .brands-grid { margin-top: 48px; grid-template-columns: repeat(2, 1fr); }
  .brands-grid .brand-cell { height: 104px; font-size: 18px; }
  .brands-grid .brand-cell .serif-mark { font-size: 22px; }
  .brands-grid .brand-cell .mono-mark { font-size: 13px; }

  /* contact */
  .contact-grid { gap: 40px; }
  .contact-grid .lede { margin-top: 24px; font-size: 16px; }
  .contact-cta { padding: 28px 24px; }
  .contact-cta .big-num { font-size: clamp(34px, 10.5vw, 44px); }

}
