/* ============================================================
   services.css - service-detail redesign (phone / ink-on-bone)
   Loads AFTER styles.css + conversion.css. Only defines the
   service-page-specific components; base classes (.phone, .stage,
   .ink-bg, .section, .eyebrow, .h1/.h2/.h3, .btn, .mono, .video,
   .faq-item, .num-cell, .cta-secondary …) come from those files.
   ============================================================ */

/* Centered button label (mirrors case-study.css .btn-center) */
.btn-center {
  position: relative;
  justify-content: center;
}

.btn-center .arr {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

/* ───────── Hero video (real <video>) ───────── */
.svc-video {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hair-d);
  background: #000;
}

.svc-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* ───────── Stat pills ───────── */
.stat-pill {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--hair-d);
  border-radius: 14px;
  background: rgba(245, 242, 235, 0.03);
}

.stat-pill .v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1;
  color: var(--bone);
}

.stat-pill .v sup {
  font-size: 0.45em;
  font-weight: 500;
  opacity: 0.7;
  top: -0.7em;
}

.stat-pill .lbl {
  font-family: var(--f-body);
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
  color: var(--bone);
  opacity: 0.7;
  max-width: 50%;
}

/* ───────── Channel cards ───────── */
.channel {
  padding: 24px 22px;
  border: 1px solid var(--hair-d);
  border-radius: 16px;
  background: rgba(245, 242, 235, 0.03);
}

.channel .row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.channel .row-top .mono {
  color: var(--bone);
  opacity: 1;
}

.channel .idx {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.55;
}

.channel h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.1;
  color: var(--bone);
  margin: 16px 0 0;
}

.channel .sub {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--bone);
  opacity: 0.45;
  margin-top: 8px;
}

.channel .desc {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone);
  opacity: 0.78;
  margin-top: 16px;
}

.channel .kpi-row {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--hair-d);
}

.channel .kpi {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.channel .kpi .v {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--bone);
}

.channel .kpi .k {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.5;
  line-height: 1.3;
}

/* ───────── Channels matrix (optional) ───────── */
.matrix {
  border: 1px solid var(--hair-d);
  border-radius: 14px;
  overflow: hidden;
}

.matrix .row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.4fr;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hair-d);
  align-items: start;
}

.matrix .row:last-child {
  border-bottom: none;
}

.matrix .row.head span {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.55;
}

.matrix .ch {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--bone);
}

.matrix .v {
  font-family: var(--f-body);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--bone);
  opacity: 0.72;
}

/* ───────── Pill eyebrow (centered) ───────── */
.pill-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border: 1px solid var(--hair-d2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone);
}

.pill-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bone);
}

/* ───────── Methodology steps ───────── */
.method-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.method-step .ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--hair-d2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--bone);
}

.method-step h4 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--bone);
  margin: 0;
}

.method-step p {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.6;
  color: var(--bone);
  opacity: 0.78;
  margin: 0;
}

.method-rule {
  height: 1px;
  background: var(--hair-d);
  margin: 28px 0;
}

/* ───────── Audit banner ───────── */
.audit-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 36px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--bone);
  color: var(--ink);
}

.audit-banner .l {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 17px;
}

.audit-banner .r {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ───────── Deep-dive block ───────── */
.deep-block p {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--bone);
  opacity: 0.82;
}

.deep-block strong {
  color: var(--bone);
  opacity: 1;
  font-weight: 600;
}

.pill-inline {
  display: inline-block;
  padding: 2px 9px;
  margin: 0 2px;
  border: 1px solid var(--hair-d2);
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

/* ───────── Industries pills (optional) ───────── */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industries .pill {
  padding: 9px 14px;
  border: 1px solid var(--hair-d2);
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--bone);
  opacity: 0.85;
}

/* ───────── Case studies ───────── */
.case {
  padding: 24px 22px;
  border: 1px solid var(--hair-d);
  border-radius: 16px;
  background: rgba(245, 242, 235, 0.03);
}

.case h3 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 24px;
  color: var(--bone);
  margin: 0;
}

.case .vertical {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.5;
  margin-top: 8px;
}

.case .pillars {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 22px;
}

.case .pillar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case .pillar .k {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.case .pillar .k.bad {
  color: #E0796B;
}

.case .pillar .k.fix {
  color: var(--bone);
  opacity: 0.7;
}

.case .pillar .k.good {
  color: #7FB69A;
}

.case .pillar .v {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--bone);
  opacity: 0.82;
}

/* ============================================================
   Services overview (service-1-redesign.ejs)
   ============================================================ */

/* Giant "SERVICII" wordmark hero */
.hero-word {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.86;
  font-size: clamp(56px, 19vw, 110px);
  color: var(--bone);
}

/* Marquee text strip */
.marquee-strip {
  padding: 28px max(22px, calc((100% - 720px) / 2));
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.7;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
}

/* Index rows */
.svc-index {
  display: flex;
  flex-direction: column;
}

.svc-index .row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--hair-d);
  gap: 16px;
  text-decoration: none;
  color: var(--bone);
}

.svc-index .row:last-of-type { border-bottom: 1px solid var(--hair-d); }

.svc-index .row .n {
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.45;
  flex-shrink: 0;
  width: 22px;
}

.svc-index .row .name {
  flex: 1;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.svc-index .row .arr {
  font-family: var(--f-mono);
  font-size: 14px;
  opacity: 0.55;
}

/* Service block with large outlined side number */
.svc-block {
  padding-top: 8px;
}

.svc-block .sidenum {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 120px;
  letter-spacing: -0.06em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--hair-d2);
}

.svc-block .meta-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.svc-block .meta-row .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.svc-block .title {
  margin-top: 14px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(36px, 11vw, 44px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  color: var(--bone);
}

.svc-block .title .it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}

.svc-block .lede {
  margin-top: 22px;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.82;
}

.svc-block .body-extra {
  margin-top: 16px;
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.72;
}

/* Inline KPI strip inside a service block */
.svc-kpi {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--hair-d);
  border-bottom: 1px solid var(--hair-d);
}

.svc-kpi .cell .v {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--bone);
}

.svc-kpi .cell .k {
  margin-top: 6px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
  line-height: 1.4;
}

/* Sub-service list rows */
.sublist {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
}

.sublist a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid var(--hair-d);
  text-decoration: none;
  color: var(--bone);
}

.sublist a:last-child { border-bottom: 1px solid var(--hair-d); }

.sublist a .left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sublist a .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bone);
  flex-shrink: 0;
}

.sublist a .label {
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.sublist a .arr {
  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-mono);
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 1;
}

/* Recent project tile — 16:9, grows with the column (~405px tall at 720px) */
.recent-tile {
  border-radius: 14px;
  overflow: hidden;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 200px;
  position: relative;
  display: block;
}

.recent-tile.has-img { border: 0; background: var(--mist); }

.recent-tile.has-img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-tile.has-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* overrides the global `.ph > img` cover-fill from styles.css */
.recent-tile.has-logo > img {
  position: static;
  inset: auto;
  object-fit: contain;
  max-width: 56%;
  max-height: 72px;
  width: auto;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.recent-caption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.6;
  color: var(--bone);
}

/* Big outlined wordmark ("DESPRE NOI" anchor) */
.outline-mark {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(64px, 22vw, 100px);
  letter-spacing: -0.06em;
  line-height: 0.88;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--bone);
}

/* ───────── Closing mark ───────── */
.closer-mark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--bone);
}

.closer-mark .it {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
/* ───────── Projects index (portfolio listing) ───────── */

/* Giant "PROIECTE" wordmark hero */
.hero-word {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.86;
  font-size: clamp(64px, 13vw, 120px);
  color: var(--bone);
}

/* Marquee text strip */
.marquee-strip {
  padding: 28px max(22px, calc((100% - 720px) / 2));
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.7;
  text-transform: uppercase;
  text-align: center;
  text-wrap: balance;
}

.proj-block { padding-top: 28px; }
.proj-block.is-hidden { display: none; }

.proj-block .num-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.proj-block .num-rule .n {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--bone);
}
.proj-block .num-rule .line {
  flex: 1;
  height: 1px;
  background: var(--bone);
  opacity: 0.85;
  position: relative;
}
.proj-block .num-rule .line::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  border-top: 1px solid var(--bone);
  border-right: 1px solid var(--bone);
}
.proj-block .title-p {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 30px;
  letter-spacing: -0.025em;
  line-height: 1.0;
  text-transform: uppercase;
  color: var(--bone);
}
.proj-block .tags-p {
  margin-top: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.6;
}
.proj-block .img-p {
  margin-top: 22px;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
}
.proj-block .meta-p {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone);
  opacity: 0.78;
}
.proj-block .meta-p .v { color: #62C29A; font-weight: 600; }

@media (min-width: 720px) {
  .proj-block .img-p { height: 340px; }
}

/* Filter chip rows */
.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }
.filter-row .chip-f {
  flex-shrink: 0;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--hair-d2);
  background: transparent;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--bone);
  white-space: nowrap;
  cursor: pointer;
}
.filter-row .chip-f.on {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
