/* ServicePro Bulgaria - styles
   Palette taken from the original site: green #58E868, charcoal #333333,
   light greys #F9F9F9 / #E0E0E0, white. */

:root {
  --green: #58e868;
  --green-deep: #2fbf45;
  --green-ink: #0f5a1c;
  --charcoal: #333333;
  --charcoal-2: #2a2a2a;
  --charcoal-3: #3d3d3d;
  --grey-50: #f9f9f9;
  --grey-200: #e0e0e0;
  --grey-500: #8a8a8a;
  --grey-700: #5c5c5c;
  --white: #ffffff;

  --font-display: "Unbounded", "Arial Black", sans-serif;
  --font-body: "Onest", "Helvetica Neue", Helvetica, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 12px 32px -12px rgba(0, 0, 0, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--grey-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green); color: var(--charcoal); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }

/* ---------- Small parts ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); }
.on-dark .eyebrow { color: rgba(255, 255, 255, 0.62); }

.btn {
  --bg: var(--green);
  --fg: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 600 15.5px/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(88, 232, 104, 0.7); }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { --bg: transparent; --fg: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.35); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--green); }
.btn--dark { --bg: var(--charcoal); --fg: var(--white); }
.btn--dark:hover { box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--green), var(--green)) 0 100% / 100% 2px no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.3s var(--ease);
}
.link-arrow:hover { background-size: 100% 100%; }

/* Print registration mark used as decoration */
.reg {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  opacity: 0.35;
}
.reg::before,
.reg::after { content: ""; position: absolute; background: currentColor; }
.reg::before { left: 50%; top: -8px; bottom: -8px; width: 1.5px; transform: translateX(-50%); }
.reg::after { top: 50%; left: -8px; right: -8px; height: 1.5px; transform: translateY(-50%); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(42, 42, 42, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex-shrink: 0; }
.brand__mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--green);
  display: grid;
  place-items: center;
  position: relative;
}
.brand__mark svg { width: 20px; height: 20px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand__sub { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.32em; color: var(--green); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 9px 14px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.07); }
.nav a[aria-current="page"] { color: var(--white); }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  transform: translateX(-50%);
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 3px;
}
.lang a, .lang span { padding: 5px 10px; border-radius: 999px; text-decoration: none; color: rgba(255, 255, 255, 0.65); }
.lang span { background: var(--white); color: var(--charcoal); }
.lang a:hover { color: var(--white); }
.header-cta { padding: 11px 18px; font-size: 14.5px; }

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
  place-items: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* fine print grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px;
  height: 720px;
  right: -180px;
  top: -200px;
  background: radial-gradient(circle, rgba(88, 232, 104, 0.22), transparent 62%);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: clamp(56px, 9vw, 112px);
  padding-bottom: clamp(64px, 10vw, 128px);
}
.hero h1 {
  font-size: clamp(36px, 5.4vw, 70px);
  font-weight: 600;
  margin: 22px 0 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--green);
  position: relative;
  white-space: nowrap;
}
.hero__lead { font-size: clamp(17px, 1.5vw, 19.5px); color: rgba(255, 255, 255, 0.72); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta li::before { content: ""; width: 6px; height: 6px; background: var(--green); border-radius: 1px; }

/* Label printer visual */
.printer { position: relative; justify-self: center; width: min(100%, 380px); padding-top: 8px; }
.printer__head {
  position: relative;
  z-index: 3;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(180deg, #4a4a4a, var(--charcoal-2));
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 10px;
}
.printer__head::after {
  /* slot */
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 12px;
  height: 6px;
  border-radius: 6px;
  background: #151515;
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.8);
}
.printer__led { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: blink 1.4s steps(2) infinite; }
.printer__screen {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--green);
  background: #141914;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 14px;
}
.printer__head .printer__led { margin-bottom: 14px; }
.printer__btns { margin-left: auto; margin-bottom: 14px; display: flex; gap: 6px; }
.printer__btns i { width: 14px; height: 6px; border-radius: 3px; background: #5a5a5a; }

.label {
  position: relative;
  z-index: 2;
  margin: -14px 26px 0;
  background: var(--white);
  color: var(--charcoal);
  border-radius: 0 0 10px 10px;
  padding: 30px 22px 22px;
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.55);
  clip-path: inset(0 0 100% 0);
  animation: print 2.6s 0.5s var(--ease) forwards;
}
.label::before {
  /* hang-tag hole */
  content: "";
  position: absolute;
  bottom: 14px;
  right: 16px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--charcoal);
  box-shadow: inset 0 0 0 2px var(--grey-200);
}
.label__top {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--grey-700);
  padding-bottom: 12px;
  border-bottom: 1.5px dashed var(--grey-200);
}
.label__title { font-family: var(--font-display); font-size: 27px; font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin: 16px 0 14px; }
.label__title span { display: inline-block; background: var(--green); padding: 0 6px; margin-left: -6px; }
.label__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-family: var(--font-mono); font-size: 11px; }
.label__rows dt { color: var(--grey-500); letter-spacing: 0.08em; }
.label__rows dd { margin: 0; font-weight: 500; }
.label__care { display: flex; gap: 8px; margin: 16px 0 14px; }
.label__care svg { width: 22px; height: 22px; }
.label__barcode { height: 46px; width: 82%; }
.label__code { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.32em; margin-top: 4px; }

.printer__beam {
  position: absolute;
  z-index: 4;
  left: 26px;
  right: 26px;
  top: 58px;
  height: 2px;
  background: var(--green);
  box-shadow: 0 0 18px 3px rgba(88, 232, 104, 0.7);
  opacity: 0;
  animation: beam 2.6s 0.5s var(--ease) forwards;
}
.tag-float {
  position: absolute;
  z-index: 1;
  width: 120px;
  height: 64px;
  border-radius: 8px;
  border: 1.5px dashed rgba(255, 255, 255, 0.18);
}
.tag-float--a { left: -70px; top: 160px; transform: rotate(-14deg); }
.tag-float--b { right: -60px; top: 330px; transform: rotate(10deg); border-color: rgba(88, 232, 104, 0.35); }
.hero .reg { color: var(--white); }

@keyframes print {
  0% { clip-path: inset(0 0 100% 0); transform: translateY(-40px); }
  100% { clip-path: inset(0 0 0 0); transform: translateY(0); }
}
@keyframes beam {
  0% { opacity: 1; transform: translateY(0); }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateY(0); }
}
@keyframes blink { 50% { opacity: 0.3; } }

/* ---------- Brand marquee ---------- */
.marquee {
  background: var(--green);
  color: var(--charcoal);
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.08);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__group { display: flex; align-items: center; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 20px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; font-size: 0.6em; opacity: 0.55; margin-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--white { background: var(--white); }
.section--dark { background: var(--charcoal); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(30px, 3.6vw, 48px); margin-top: 16px; max-width: 760px; }
.section-head p { max-width: 440px; color: var(--grey-700); }
.on-dark .section-head p, .section--dark .section-head p { color: rgba(255, 255, 255, 0.66); }

/* Capability cards */
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap {
  position: relative;
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 32px 28px 30px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
  overflow: hidden;
}
.cap:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; background: var(--white); }
.cap__num { font-family: var(--font-mono); font-size: 12px; color: var(--grey-500); letter-spacing: 0.1em; }
.cap__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--charcoal);
  color: var(--green);
  display: grid;
  place-items: center;
  margin: 22px 0 24px;
}
.cap__icon svg { width: 28px; height: 28px; }
.cap h3 { font-size: 21px; margin-bottom: 12px; }
.cap p { color: var(--grey-700); font-size: 16px; }
.cap::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.cap:hover::after { transform: scaleX(1); }

/* Brand hang tags */
.tags { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tag {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 50px 24px 24px;
  background: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  transform-origin: 50% 0;
  /* die-cut corners */
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%, 0 22px);
}
.tag::before {
  /* punched hole */
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--grey-200);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}
.tag:hover { transform: rotate(-1.5deg) translateY(-4px); }
.tag { box-shadow: none; }
.tag:not(.tag--featured) { background: var(--white); }
.tag:not(.tag--featured) .tag__list li { background: var(--grey-50); }
.tag__brand { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey-500); }
.tag h3 { font-size: 23px; margin: 12px 0 14px; }
.tag p { font-size: 15.5px; color: var(--grey-700); }
.tag__list { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag__list li { font-family: var(--font-mono); font-size: 11px; padding: 5px 9px; border-radius: 6px; background: var(--white); border: 1px solid var(--grey-200); }
.tag__foot { margin-top: auto; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; border-top: 1.5px dashed var(--grey-200); }
.tag__foot svg.bc { height: 26px; width: 90px; color: var(--charcoal); }
.tag__go {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grey-50);
  display: grid;
  place-items: center;
  transition: background 0.25s, transform 0.3s var(--ease);
}
.tag__go svg { width: 16px; height: 16px; }
.tag:hover .tag__go { background: var(--green); transform: rotate(-45deg); }
.tag--featured { background: var(--charcoal); color: var(--white); }
.tag--featured::before { background: var(--grey-200); }
.tag--featured p { color: rgba(255, 255, 255, 0.7); }
.tag--featured .tag__brand { color: var(--green); }
.tag--featured .tag__list li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.14); }
.tag--featured .tag__foot { border-color: rgba(255, 255, 255, 0.16); }
.tag--featured .tag__foot svg.bc { color: var(--white); }
.tag--featured .tag__go { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.tag--featured:hover .tag__go { color: var(--charcoal); }

/* Services split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split__intro h2 { font-size: clamp(30px, 3.6vw, 48px); margin: 16px 0 22px; }
.split__intro p { color: rgba(255, 255, 255, 0.7); max-width: 460px; }
.split__intro .btn { margin-top: 32px; }
.split__intro { position: sticky; top: 120px; }
.steps { counter-reset: step; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 8px 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: padding-left 0.35s var(--ease);
}
.step:hover { padding-left: 10px; }
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--green);
  padding-top: 6px;
}
.step h3 { font-size: 21px; }
.step p { color: rgba(255, 255, 255, 0.62); font-size: 16px; }

/* Industries */
.industries { display: flex; flex-wrap: wrap; gap: 12px; }
.industries li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px 14px 14px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  font-weight: 500;
  transition: border-color 0.25s, transform 0.3s var(--ease);
}
.industries li:hover { border-color: var(--charcoal); transform: translateY(-2px); }
.industries svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--grey-50); color: var(--charcoal); }

/* Quote */
.quote {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: clamp(36px, 5vw, 64px);
  background: var(--white);
  border-radius: calc(var(--radius) * 1.6);
  border: 1px solid var(--grey-200);
  overflow: hidden;
}
.quote__mark { font-family: var(--font-display); font-size: clamp(90px, 12vw, 160px); line-height: 0.7; color: var(--green); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; letter-spacing: -0.02em; }
.quote figcaption { margin-top: 28px; display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--grey-700); }
.quote figcaption strong { color: var(--charcoal); display: block; font-size: 16px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--charcoal); color: var(--green); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 15px; }
.quote .reg { color: var(--charcoal); right: 28px; top: 28px; }

/* CTA band */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  border-radius: calc(var(--radius) * 1.6);
  padding: clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  isolation: isolate;
}
.cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -10% -60% auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(88, 232, 104, 0.3), transparent 60%);
}
.cta h2 { font-size: clamp(28px, 3.4vw, 46px); }
.cta p { margin-top: 14px; color: rgba(255, 255, 255, 0.7); max-width: 560px; }
.cta__stripes {
  position: absolute;
  z-index: -1;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 9px, rgba(255, 255, 255, 0.04) 9px 13px, transparent 13px 18px);
  mask-image: linear-gradient(90deg, transparent, #000);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: var(--charcoal); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -320px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(88, 232, 104, 0.2), transparent 62%);
}
.page-hero .wrap { padding-top: clamp(56px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 96px); }
.page-hero h1 { font-size: clamp(34px, 5vw, 64px); margin: 20px 0 20px; max-width: 900px; }
.page-hero p { color: rgba(255, 255, 255, 0.7); max-width: 620px; font-size: clamp(17px, 1.4vw, 19px); }
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.crumbs a { text-decoration: none; color: rgba(255, 255, 255, 0.7); }
.crumbs a:hover { color: var(--green); }
.page-hero .reg { color: var(--white); right: var(--gutter); bottom: 36px; }

/* ---------- Products page ---------- */
.brand-nav {
  position: sticky;
  top: 72px;
  z-index: 40;
  background: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-200);
}
.brand-nav ul { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.brand-nav ul::-webkit-scrollbar { display: none; }
.brand-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--grey-200);
  background: var(--white);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.brand-nav a:hover { border-color: var(--charcoal); }
.brand-nav a.is-active { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }

.brand-block { padding: clamp(64px, 8vw, 104px) 0; scroll-margin-top: 130px; border-bottom: 1px solid var(--grey-200); }
.brand-block:nth-of-type(even) { background: var(--white); }
.brand-block__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 48px; }
.brand-block__head h2 { font-size: clamp(32px, 4vw, 52px); margin-top: 14px; }
.brand-block__head p { color: var(--grey-700); }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.product {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand-block:nth-of-type(even) .product { background: var(--grey-50); }
.product:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--white);
  border-bottom: 1px solid var(--grey-200);
}
.product__media img {
  position: absolute;
  inset: 28px;
  width: calc(100% - 56px);
  height: calc(100% - 56px);
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.product:hover .product__media img { transform: scale(1.04); }
.product__media::before,
.product__media::after {
  /* crop marks */
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--grey-500);
  border-style: solid;
  opacity: 0.5;
}
.product__media::before { top: 12px; left: 12px; border-width: 1.5px 0 0 1.5px; }
.product__media::after { bottom: 12px; right: 12px; border-width: 0 1.5px 1.5px 0; }
.product__badge {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--charcoal);
  padding: 5px 9px;
  border-radius: 6px;
  font-weight: 600;
}
.product__body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.product__body h3 { font-size: 22px; }
.product__body > p { color: var(--grey-700); font-size: 16px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { font-family: var(--font-mono); font-size: 11.5px; padding: 5px 9px; border-radius: 6px; background: var(--charcoal); color: var(--white); }
.specs li b { color: var(--green); font-weight: 500; }
.checks { display: grid; gap: 9px; margin-top: 4px; }
.checks li { position: relative; padding-left: 28px; font-size: 15.5px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 17px;
  height: 17px;
  border-radius: 5px;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.checks--cols { grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.product__foot { margin-top: auto; padding-top: 8px; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--grey-50);
  border: 1px solid var(--grey-200);
  transition: background 0.3s, color 0.3s, transform 0.35s var(--ease);
}
.brand-block:nth-of-type(odd) .mini { background: var(--white); }
.mini:hover { background: var(--charcoal); color: var(--white); transform: translateY(-3px); }
.mini:hover p { color: rgba(255, 255, 255, 0.7); }
.mini:hover .mini__icon { background: var(--green); color: var(--charcoal); }
.mini__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--charcoal); color: var(--green); display: grid; place-items: center; margin-bottom: 22px; transition: background 0.3s, color 0.3s; }
.mini__icon svg { width: 24px; height: 24px; }
.mini h3 { font-size: 18.5px; margin-bottom: 10px; }
.mini p { font-size: 15.5px; color: var(--grey-700); transition: color 0.3s; }
.ql-includes { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ql-includes span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey-500); margin-right: 6px; }
.ql-includes li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--grey-200); font-weight: 500; font-size: 15px; }

/* NiceLabel tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.tier { padding: 36px 30px; display: flex; flex-direction: column; gap: 16px; border-right: 1px solid var(--grey-200); position: relative; }
.tier:last-child { border-right: 0; background: var(--charcoal); color: var(--white); }
.tier__level { display: flex; gap: 5px; }
.tier__level i { width: 26px; height: 6px; border-radius: 3px; background: var(--grey-200); }
.tier__level i.on { background: var(--green); }
.tier:last-child .tier__level i:not(.on) { background: rgba(255, 255, 255, 0.15); }
.tier h3 { font-size: 21px; }
.tier p { color: var(--grey-700); font-size: 16px; }
.tier:last-child p { color: rgba(255, 255, 255, 0.7); }
.tier__products { margin-top: auto; padding-top: 18px; border-top: 1.5px dashed var(--grey-200); display: grid; gap: 8px; }
.tier:last-child .tier__products { border-color: rgba(255, 255, 255, 0.16); }
.tier__products li { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; display: flex; align-items: center; gap: 10px; }
.tier__products li::before { content: ""; width: 8px; height: 8px; background: var(--green); border-radius: 2px; }

/* ---------- About page ---------- */
.letter-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.letter-side { position: sticky; top: 110px; }
.founder-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: calc(var(--radius) * 1.4);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.founder-card__avatar { width: 72px; height: 72px; border-radius: 18px; background: var(--green); color: var(--charcoal); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.founder-card h3 { font-size: 22px; margin: 22px 0 6px; }
.founder-card p { color: rgba(255, 255, 255, 0.65); font-size: 15px; }
.founder-card dl { margin: 26px 0 0; padding-top: 22px; border-top: 1px dashed rgba(255, 255, 255, 0.16); display: grid; gap: 14px; }
.founder-card dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); }
.founder-card dd { margin: 3px 0 0; font-size: 15.5px; }
.founder-card .reg { color: var(--white); right: 24px; top: 24px; }

.letter { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; }
.letter > * + * { margin-top: 1.1em; }
.letter__hello { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.letter__pull {
  margin: 1.6em 0 !important;
  padding: 28px 30px;
  border-left: 4px solid var(--green);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.letter__sign { padding-top: 12px; }
.letter__sign strong { display: block; font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; }
.letter__sign span { color: var(--grey-700); font-size: 15px; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { padding: 30px 28px; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.03); }
.value__k { font-family: var(--font-mono); font-size: 12px; color: var(--green); letter-spacing: 0.12em; }
.value h3 { font-size: 21px; margin: 18px 0 10px; }
.value p { color: rgba(255, 255, 255, 0.65); font-size: 16px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: calc(var(--radius) * 1.4); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.form-card > p { color: var(--grey-700); margin-bottom: 32px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--grey-500); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 16px/1.4 var(--font-body);
  color: var(--charcoal);
  padding: 14px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: 10px;
  background: var(--grey-50);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c9c9c9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); background: var(--white); box-shadow: 0 0 0 4px rgba(88, 232, 104, 0.35); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #d64545; background: #fff7f7; }
.field__err { font-size: 13px; color: #c13a3a; min-height: 0; display: none; }
.field.has-error .field__err, .consent.has-error .field__err { display: block; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--grey-700); }
.consent input { appearance: none; -webkit-appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; border: 1.5px solid #bdbdbd; border-radius: 6px; background: var(--white); cursor: pointer; transition: background 0.2s, border-color 0.2s; }
.consent input:checked { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--green); }
.consent.has-error input { border-color: #d64545; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 6px; }
.form__actions .btn { padding: 17px 28px; }
.form__actions .btn[disabled] { opacity: 0.65; cursor: progress; transform: none; box-shadow: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(51, 51, 51, 0.25); border-top-color: var(--charcoal); animation: spin 0.8s linear infinite; display: none; }
.is-sending .spinner { display: block; }
.is-sending .btn-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__note { font-size: 13.5px; color: var(--grey-500); }
.form-status { grid-column: 1 / -1; display: none; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 12px; font-size: 15.5px; }
.form-status.is-visible { display: flex; }
.form-status svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.form-status--ok { background: #eafbea; border: 1px solid #b6efbd; color: var(--green-ink); }
.form-status--err { background: #fff2f2; border: 1px solid #f3c4c4; color: #8f2626; }

.info-stack { display: grid; gap: 20px; }
.info-card { background: var(--charcoal); color: var(--white); border-radius: calc(var(--radius) * 1.4); padding: 32px; position: relative; overflow: hidden; }
.info-card h3 { font-size: 20px; margin-bottom: 18px; }
.info-card ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 18px; }
.info-card ol li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 14px; font-size: 15.5px; color: rgba(255, 255, 255, 0.75); }
.info-card ol li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: rgba(88, 232, 104, 0.14); color: var(--green); font-family: var(--font-mono); font-size: 13px; display: grid; place-items: center; }
.info-card ol li strong { display: block; color: var(--white); font-weight: 600; }
.info-card--light { background: var(--white); color: var(--charcoal); border: 1px solid var(--grey-200); }
.info-card--light p { color: var(--grey-700); font-size: 15.5px; }
.info-card--light .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.info-card--light .chips li { font-family: var(--font-mono); font-size: 12px; padding: 6px 10px; border-radius: 6px; background: var(--grey-50); border: 1px solid var(--grey-200); }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-2); color: rgba(255, 255, 255, 0.7); padding: clamp(56px, 7vw, 88px) 0 32px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-top p { margin-top: 18px; font-size: 15px; max-width: 320px; }
.footer-top h4 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 18px; }
.footer-top ul { display: grid; gap: 10px; font-size: 15px; }
.footer-top a { text-decoration: none; transition: color 0.2s; }
.footer-top a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13.5px; color: rgba(255, 255, 255, 0.45); }
.site-footer .wrap { container-type: inline-size; }
.footer-word {
  /* "ServicePro" is ~6.44em wide in Unbounded 700, so 15.4cqi fills the wrap exactly */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15.4cqi;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.05);
  margin-top: 40px;
  margin-bottom: -0.12em;
  white-space: nowrap;
  user-select: none;
}
.footer-word span { color: rgba(88, 232, 104, 0.22); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal[data-d="1"] { transition-delay: 0.08s; }
.js .reveal[data-d="2"] { transition-delay: 0.16s; }
.js .reveal[data-d="3"] { transition-delay: 0.24s; }

.hero__copy > * { animation: rise 0.9s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: 0.08s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.16s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.24s; }
.hero__copy > *:nth-child(5) { animation-delay: 0.32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tags { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: grid; }
  .site-header .wrap { gap: 16px; }
  .header-actions { margin-left: auto; }
  .menu-open .nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px var(--gutter);
    background: var(--charcoal-2);
    overflow-y: auto;
  }
  .menu-open .nav a { font-family: var(--font-display); font-size: 26px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .menu-open .nav a[aria-current="page"]::after { left: auto; right: 8px; top: 50%; bottom: auto; width: 8px; height: 8px; transform: translateY(-50%); }
  .menu-open .nav .nav__cta { display: inline-flex; margin-top: 24px; justify-content: center; border-bottom: 0; font-family: var(--font-body); font-size: 17px; color: var(--charcoal); background: var(--green); border-radius: 999px; }
  .menu-open { overflow: hidden; }

  .hero .wrap { grid-template-columns: 1fr; }
  .printer { margin-top: 12px; }
  .caps { grid-template-columns: 1fr; }
  .split, .letter-grid, .contact-grid { grid-template-columns: 1fr; }
  .split__intro, .letter-side { position: static; }
  .brand-block__head { grid-template-columns: 1fr; }
  .mini-grid, .values { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier { border-right: 0; border-bottom: 1px solid var(--grey-200); }
  .cta { grid-template-columns: 1fr; }
}
@media (min-width: 961px) { .nav__cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .tags, .mini-grid, .values { grid-template-columns: 1fr; }
  .tag { min-height: 0; }
  .products { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .checks--cols { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote__mark { line-height: 0.5; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .lang a, .lang span { padding: 5px 8px; }
  .brand__sub { letter-spacing: 0.22em; }
  .hero h1 em { white-space: normal; }
  .tag-float { display: none; }
}

/* Contact details */
.details { display: grid; gap: 18px; }
.details li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: 16px; }
.details svg { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--charcoal); color: var(--green); }
.details small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--grey-500); margin-bottom: 2px; }
.details a { font-weight: 600; text-decoration: none; }
.details a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.details .details__map { display: table; margin-top: 6px; font-size: 14px; }
