/* ==========================================================================
   Bugfixers Web and Digital Solutions
   Ink navy + marigold. Display: Space Grotesk. Body: Manrope. Labels: JetBrains Mono.
   The diff panel is the signature — everything else stays quiet around it.
   ========================================================================== */

:root {
  --ink:        #070C18;
  --ink-raise:  #101A31;
  --ink-line:   #1E2A45;
  --paper:      #F1F3F8;
  --card:       #FFFFFF;
  --marigold:   #FFB024;
  --marigold-d: #E09000;
  --fix:        #2BD07A;
  --bug:        #FF5C6C;
  --slate:      #8894AF;
  --slate-deep: #5A6478;

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  --wrap: 1200px;
  --r-sm: 6px;
  --r:    14px;
  --r-lg: 22px;
  --shadow: 0 20px 50px -24px rgba(7, 12, 24, .35);
  --shadow-soft: 0 4px 20px -8px rgba(7, 12, 24, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.9rem); }
h2 { font-size: clamp(1.95rem, 4vw, 3.05rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); letter-spacing: -.02em; }
p  { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 4px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--marigold); color: var(--ink); padding: 10px 16px;
  border-radius: var(--r-sm); font-weight: 700; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(68px, 8vw, 118px) 0; position: relative; }
.section--ink { background: var(--ink); color: #E8ECF5; }
.section--paper { background: var(--paper); }
.section--white { background: #fff; }
.section--tight { padding-top: clamp(44px, 5vw, 68px); padding-bottom: clamp(44px, 5vw, 68px); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--marigold-d);
  margin: 0 0 18px;
  display: block;
}
.section--ink .eyebrow { color: var(--marigold); }

.lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--slate-deep); max-width: 62ch; }
.section--ink .lede { color: #A9B4CC; }

.head { max-width: 760px; margin-bottom: clamp(38px, 5vw, 62px); }
.head--center { margin-inline: auto; text-align: center; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
@media (max-width: 820px) { .head--split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  letter-spacing: -.01em;
  transition: transform .22s var(--ease), background .22s, color .22s, border-color .22s, box-shadow .22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { width: 1.1em; height: 1.1em; }
.btn--primary { background: var(--marigold); color: #1A1206; box-shadow: 0 10px 26px -12px rgba(255, 176, 36, .75); }
.btn--primary:hover { background: #FFC24F; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #16223C; }
.btn--ghost { border-color: rgba(255, 255, 255, .26); color: #fff; }
.btn--ghost:hover { border-color: var(--marigold); color: var(--marigold); }
.btn--outline { border-color: rgba(7, 12, 24, .18); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn--wa { background: #25D366; color: #06280F; }
.btn--wa:hover { background: #3FE07C; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with a moving underline */
.tlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--ink);
  border-bottom: 2px solid var(--marigold);
  padding-bottom: 2px;
}
.tlink .ic { transition: transform .25s var(--ease); }
.tlink:hover .ic { transform: translateX(5px); }
.section--ink .tlink { color: #fff; }

/* ---------- Top strip ---------- */
.strip {
  background: var(--ink);
  color: #96A2BC;
  font-size: .82rem;
  border-bottom: 1px solid var(--ink-line);
}
.strip__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.strip__set { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.strip a,
.strip__set > span { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: color .2s; }.strip a:hover { color: var(--marigold); }
.strip__social { display: flex; gap: 12px; }
.strip__social a { color: #7C8AA6; }
@media (max-width: 780px) { .strip__set--right { display: none; } .strip__in { justify-content: center; } }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: rgba(7, 12, 24, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-line);
  transition: background .3s;
}
.hdr__in { display: flex; align-items: center; gap: 26px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__mark { height: 42px; width: auto; }
.brand__logo { height: 46px; width: auto; }
@media (max-width: 520px) { .brand__logo { height: 38px; } }
.ftr .brand__logo { height: 52px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: #fff; letter-spacing: -.03em; }
.brand__sub { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .19em; text-transform: uppercase; color: var(--marigold); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 999px;
  color: #C6CFE2; font-weight: 600; font-size: .95rem;
  transition: color .2s, background .2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__link.is-active { color: var(--marigold); }
.nav__link .ic { width: .85em; height: .85em; opacity: .7; }
.nav__sub {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 250px;
  background: var(--ink-raise); border: 1px solid var(--ink-line);
  border-radius: var(--r); padding: 8px; list-style: none;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 10px 14px; border-radius: 8px;
  color: #B9C4DA; font-size: .92rem; font-weight: 500; transition: background .18s, color .18s;
}
.nav__sub a:hover { background: rgba(255, 176, 36, .12); color: var(--marigold); }
.hdr__cta { display: flex; align-items: center; gap: 10px; }
.burger {
  display: none; background: none; border: 1px solid var(--ink-line);
  color: #fff; border-radius: 10px; padding: 9px;
}
@media (max-width: 1080px) {
  /* The nav collapses into the drawer; the WhatsApp button would overflow the bar. */
  .nav, .hdr__cta .btn--ghost { display: none; }
  .burger { display: inline-flex; }
  .hdr__in { gap: 14px; min-height: 68px; }
}
@media (max-width: 560px) {
  /* Only the logo and the menu button fit. The sticky bar at the bottom
     already gives a call and a WhatsApp button, so nothing is lost. */
  .hdr__cta .btn--primary { display: none; }
}

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--ink); color: #fff;
  padding: 22px 24px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .34s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.drawer__nav { list-style: none; }
.drawer__nav > li { border-bottom: 1px solid var(--ink-line); }
.drawer__nav a { display: block; padding: 15px 0; font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; }
.drawer__nav ul { list-style: none; padding: 0 0 12px 14px; }
.drawer__nav ul a { font-size: 1rem; font-family: var(--font-body); color: var(--slate); padding: 8px 0; }
.drawer__foot { margin-top: 30px; display: grid; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #E8ECF5;
  padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(680px 380px at 78% 6%, rgba(255, 176, 36, .14), transparent 70%),
    radial-gradient(520px 320px at 4% 86%, rgba(43, 208, 122, .09), transparent 72%);
  pointer-events: none;
}
/* Faint code grid — the surface the diff sits on */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 0%, #000, transparent 78%);
  pointer-events: none;
}
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 980px) { .hero__in { grid-template-columns: 1fr; } }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--marigold); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: #A9B4CC; max-width: 52ch; margin: 24px 0 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .04em;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--ink-line); color: #9CA9C4; background: rgba(255, 255, 255, .03);
}
.hero__trust { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--font-display); font-size: 1.9rem; color: #fff; line-height: 1; }
.hero__trust span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--slate); margin-top: 7px; }

/* ---------- Signature: the diff panel ---------- */
.diff {
  background: #0B1222;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9);
  overflow: hidden;
  font-family: var(--font-mono);
}
.diff__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 13px 18px;
  background: #0E172B;
  border-bottom: 1px solid var(--ink-line);
}
.diff__dot { width: 10px; height: 10px; border-radius: 50%; background: #2B364F; }
.diff__dot:nth-child(1) { background: #FF5C6C; }
.diff__dot:nth-child(2) { background: var(--marigold); }
.diff__dot:nth-child(3) { background: var(--fix); }
.diff__file { margin-left: 10px; font-size: .76rem; color: #6E7C99; letter-spacing: .02em; }
.diff__lines { list-style: none; padding: 14px 0; margin: 0; font-size: clamp(.78rem, 1.05vw, .89rem); }
.diff__line {
  display: grid; grid-template-columns: 44px 20px 1fr;
  align-items: baseline;
  padding: 5px 18px 5px 0;
  border-left: 3px solid transparent;
}
.diff__n { text-align: right; padding-right: 14px; color: #3B4761; font-size: .74em; user-select: none; }
.diff__sign { font-weight: 700; }
.diff__line--del { background: rgba(255, 92, 108, .07); border-left-color: rgba(255, 92, 108, .6); }
.diff__line--del .diff__sign, .diff__line--del .diff__txt { color: #FF9AA4; }
.diff__line--add { background: rgba(43, 208, 122, .08); border-left-color: rgba(43, 208, 122, .65); }
.diff__line--add .diff__sign, .diff__line--add .diff__txt { color: #7CE8AF; }
.diff__line--meta .diff__txt { color: #5C6A87; }
.diff__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 14px 18px; border-top: 1px solid var(--ink-line);
  background: #0E172B; font-size: .74rem; color: #6E7C99;
}
.diff__stat { color: var(--fix); }

/* Reveal the diff line by line on load */
.js .diff__line { opacity: 0; transform: translateX(-8px); }
.js .diff.is-in .diff__line { animation: diffIn .42s var(--ease) forwards; }
.js .diff.is-in .diff__line:nth-child(1) { animation-delay: .12s; }
.js .diff.is-in .diff__line:nth-child(2) { animation-delay: .22s; }
.js .diff.is-in .diff__line:nth-child(3) { animation-delay: .32s; }
.js .diff.is-in .diff__line:nth-child(4) { animation-delay: .42s; }
.js .diff.is-in .diff__line:nth-child(5) { animation-delay: .52s; }
.js .diff.is-in .diff__line:nth-child(6) { animation-delay: .62s; }
.js .diff.is-in .diff__line:nth-child(7) { animation-delay: .72s; }
.js .diff.is-in .diff__line:nth-child(8) { animation-delay: .82s; }
.js .diff.is-in .diff__line:nth-child(9) { animation-delay: .92s; }
@keyframes diffIn { to { opacity: 1; transform: translateX(0); } }

/* ---------- Keyword ticker ---------- */
.ticker {
  background: var(--marigold);
  color: #1A1206;
  padding: 13px 0;
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, .12);
}
.ticker__track { display: flex; gap: 0; width: max-content; animation: tick 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; gap: 0; }
.ticker__item {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 0 22px; display: flex; align-items: center; gap: 22px; white-space: nowrap;
}
.ticker__item::after { content: '◆'; font-size: .55rem; opacity: .5; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Cards: services ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px)  { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.svc {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(7, 12, 24, .09);
  border-radius: var(--r-lg);
  padding: 30px 28px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  overflow: hidden;
}
.svc::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--marigold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(7, 12, 24, .04); }
.svc:hover::after { transform: scaleX(1); }
.svc__ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--marigold);
}
.svc__ico .ic { width: 24px; height: 24px; }
.svc h3 { margin-top: 4px; }
.svc p { color: var(--slate-deep); font-size: .96rem; margin: 0; }
.svc__list { list-style: none; display: grid; gap: 7px; font-size: .9rem; color: var(--slate-deep); }
.svc__list li { display: flex; gap: 8px; align-items: flex-start; }
.svc__list .ic { width: 15px; height: 15px; color: var(--fix); margin-top: .35em; }
.svc__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__price { font-family: var(--font-mono); font-size: .78rem; color: var(--slate-deep); }
.svc__price b { color: var(--ink); font-size: .95rem; }

/* ---------- Cards: software / scripts ---------- */
.sw {
  position: relative;
  background: var(--ink-raise);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.sw:hover { transform: translateY(-6px); border-color: rgba(255, 176, 36, .5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.sw__shot { position: relative; aspect-ratio: 16 / 10; background: #0B1222; overflow: hidden; border-bottom: 1px solid var(--ink-line); }
.sw__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.sw:hover .sw__shot img { transform: scale(1.05); }
.sw__ph { width: 100%; height: 100%; display: grid; place-items: center; color: var(--ink-line); }
.sw__ph .ic { width: 54px; height: 54px; }
.sw__ver {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em;
  background: rgba(7, 12, 24, .82); border: 1px solid var(--ink-line);
  color: var(--marigold); padding: 5px 10px; border-radius: 999px;
}
.sw__body { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sw__cat { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.sw h3 { color: #fff; }
.sw p { color: #97A3BD; font-size: .94rem; margin: 0; }
.sw__mods { display: flex; flex-wrap: wrap; gap: 6px; }
.sw__mod {
  font-family: var(--font-mono); font-size: .68rem;
  padding: 4px 9px; border-radius: 6px;
  background: rgba(255, 255, 255, .05); color: #8E9BB6;
}
.sw__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ink-line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sw__price { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #fff; }
.sw__price s { font-family: var(--font-mono); font-size: .78rem; color: var(--slate); font-weight: 400; margin-left: 7px; }
.sw__acts { display: flex; gap: 8px; }

/* Demo credentials block */
.creds {
  font-family: var(--font-mono); font-size: .8rem;
  background: #0B1222; border: 1px dashed var(--ink-line); border-radius: var(--r);
  padding: 16px 18px; color: #97A3BD; display: grid; gap: 6px;
}
.creds b { color: var(--marigold); font-weight: 500; }

/* ---------- Process (a real sequence, so it's numbered) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px 26px 30px 0; border-top: 2px solid var(--ink-line); position: relative; }
.step + .step { padding-left: 26px; }
.step__n { font-family: var(--font-mono); font-size: .74rem; color: var(--marigold); letter-spacing: .1em; }
.step h3 { margin: 12px 0 8px; color: #fff; }
.step p { color: #97A3BD; font-size: .93rem; margin: 0; }
.step::before {
  content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px;
  border-radius: 50%; background: var(--marigold);
}
.step + .step::before { left: 26px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(7, 12, 24, .1); border-radius: var(--r-lg); overflow: hidden; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { background: var(--card); padding: 32px 26px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--slate-deep); margin-top: 10px; display: block; }

/* ---------- Portfolio ---------- */
.work { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--ink-raise); aspect-ratio: 4 / 3; display: block; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work:hover img { transform: scale(1.06); }
.work__meta {
  position: absolute; inset: auto 0 0 0; padding: 26px 24px 22px;
  background: linear-gradient(to top, rgba(7, 12, 24, .95), transparent);
  color: #fff;
}
.work__cat { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--marigold); }
.work h3 { margin: 6px 0 0; font-size: 1.16rem; }
.work__ph { display: grid; place-items: center; height: 100%; color: var(--ink-line); }

/* ---------- Testimonials ---------- */
.quote {
  background: var(--card); border: 1px solid rgba(7, 12, 24, .09);
  border-radius: var(--r-lg); padding: 30px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.quote__stars { display: flex; gap: 3px; color: var(--marigold); }
.quote__stars .ic { width: 16px; height: 16px; fill: currentColor; }
.quote blockquote { margin: 0; font-size: 1.02rem; color: #2A3549; }
.quote__who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.quote__av { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--marigold); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; overflow: hidden; }
.quote__av img { width: 100%; height: 100%; object-fit: cover; }
.quote__who b { display: block; font-size: .95rem; }
.quote__who span { font-size: .82rem; color: var(--slate-deep); }

/* ---------- Districts ---------- */
.districts { display: flex; flex-wrap: wrap; gap: 8px; }
.district {
  font-family: var(--font-mono); font-size: .8rem;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--ink-line); color: #A5B0C8;
  transition: border-color .2s, color .2s, background .2s;
}
.district:hover { border-color: var(--marigold); color: var(--marigold); background: rgba(255, 176, 36, .08); }

/* ---------- Blog ---------- */
.post-card {
  background: var(--card); border: 1px solid rgba(7, 12, 24, .09);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card__shot { aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.post-card__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .post-card__shot img { transform: scale(1.05); }
.post-card__ph { display: grid; place-items: center; height: 100%; color: var(--ink-line); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--marigold-d); display: flex; gap: 12px; flex-wrap: wrap; }
.post-card h3 { font-size: 1.16rem; }
.post-card p { color: var(--slate-deep); font-size: .94rem; margin: 0; }
.post-card__foot { margin-top: auto; padding-top: 12px; font-size: .84rem; color: var(--slate-deep); font-family: var(--font-mono); }

/* ---------- Article body ---------- */
.prose { font-size: 1.09rem; line-height: 1.75; color: #2A3549; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: 1.28rem; margin-top: 1.7em; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li { padding-left: .2em; }
.prose a { color: var(--marigold-d); border-bottom: 1px solid rgba(224, 144, 0, .4); font-weight: 600; }
.prose a:hover { border-bottom-color: var(--marigold-d); }
.prose img { border-radius: var(--r); margin-block: 1.6em; }
.prose blockquote {
  margin: 1.8em 0; padding: 20px 26px;
  border-left: 3px solid var(--marigold); background: #fff;
  border-radius: 0 var(--r) var(--r) 0; font-size: 1.06rem;
}
.prose code { font-family: var(--font-mono); font-size: .88em; background: #E7EAF2; padding: 2px 6px; border-radius: 5px; }
.prose pre { background: var(--ink); color: #D6DEEE; padding: 20px 22px; border-radius: var(--r); overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid rgba(7, 12, 24, .1); text-align: left; }
.prose th { background: #E9ECF4; font-family: var(--font-display); }
.prose hr { border: 0; border-top: 1px solid rgba(7, 12, 24, .12); margin: 2.4em 0; }

/* ---------- Page hero (interior pages) ---------- */
.phero { background: var(--ink); color: #fff; padding: clamp(52px, 6vw, 86px) 0 clamp(46px, 5vw, 70px); position: relative; overflow: hidden; }
.phero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(620px 340px at 84% 0%, rgba(255, 176, 36, .14), transparent 70%);
}
.phero__in { position: relative; z-index: 2; max-width: 800px; }
.phero p { color: #A9B4CC; font-size: clamp(1.02rem, 1.3vw, 1.16rem); margin: 18px 0 0; max-width: 62ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: .74rem; color: var(--slate); margin-bottom: 20px; }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--marigold); }
.crumbs span { opacity: .5; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(7, 12, 24, .12); }
.faq__item { border-bottom: 1px solid rgba(7, 12, 24, .12); }
.faq__q {
  width: 100%; background: none; border: 0; text-align: left;
  padding: 22px 44px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 500; font-size: 1.08rem; color: var(--ink);
  list-style: none; cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.4rem; color: var(--marigold-d); transition: transform .25s;
}
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a { padding: 0 44px 24px 0; color: var(--slate-deep); }
.faq__a > *:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field > label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid rgba(7, 12, 24, .16); border-radius: 10px;
  background: #fff; color: var(--ink); font: inherit; font-size: .98rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--marigold); box-shadow: 0 0 0 4px rgba(255, 176, 36, .18);
}
.field--dark input, .field--dark select, .field--dark textarea { background: rgba(255, 255, 255, .05); border-color: var(--ink-line); color: #fff; }
.field--dark > label { color: var(--slate); }
.hp { position: absolute; left: -9999px; }
.note { font-size: .84rem; color: var(--slate-deep); }

.alert { padding: 14px 18px; border-radius: var(--r); font-size: .94rem; font-weight: 600; display: flex; gap: 10px; align-items: center; }
.alert--ok { background: rgba(43, 208, 122, .14); color: #0C6B3D; border: 1px solid rgba(43, 208, 122, .4); }
.alert--error { background: rgba(255, 92, 108, .12); color: #A11B29; border: 1px solid rgba(255, 92, 108, .35); }

/* ---------- Contact blocks ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 4vw, 58px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.cbox { display: flex; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ink-line); }
.cbox__ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 176, 36, .12); color: var(--marigold); display: grid; place-items: center; flex: none; }
.cbox b { display: block; color: #fff; font-family: var(--font-display); font-size: 1rem; margin-bottom: 3px; }
.cbox span, .cbox a { color: #A0ACC5; font-size: .95rem; display: block; }
.cbox a:hover { color: var(--marigold); }
.card-form { background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 40px); box-shadow: var(--shadow); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--ink-line); line-height: 0; }
.map iframe { width: 100%; height: 380px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--marigold); color: #1A1206;
  border-radius: var(--r-lg);
  padding: clamp(34px, 4.4vw, 58px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 30px; align-items: center;
}
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band h2 { color: #1A1206; }
.cta-band p { margin: 12px 0 0; color: rgba(26, 18, 6, .78); font-size: 1.04rem; }
.cta-band__acts { display: flex; flex-direction: column; gap: 12px; }
.cta-band::after {
  content: ''; position: absolute; right: -60px; bottom: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  border: 30px solid rgba(26, 18, 6, .07);
}

/* ---------- Footer ---------- */
.ftr { background: var(--ink); color: #8E9BB6; padding: clamp(56px, 6vw, 84px) 0 0; border-top: 1px solid var(--ink-line); }
.ftr__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 52px; }
@media (max-width: 980px) { .ftr__top { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 560px)  { .ftr__top { grid-template-columns: 1fr; } }
.ftr h4 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; font-weight: 500; margin-bottom: 18px; }
.ftr__links { list-style: none; display: grid; gap: 11px; font-size: .94rem; }
.ftr__links a { transition: color .2s, padding-left .2s; }
.ftr__links a:hover { color: var(--marigold); padding-left: 5px; }
.ftr__about { font-size: .95rem; max-width: 38ch; }
.ftr__social { display: flex; gap: 10px; margin-top: 20px; }
.ftr__social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--ink-line); color: #8E9BB6; transition: all .2s;
}
.ftr__social a:hover { border-color: var(--marigold); color: var(--marigold); transform: translateY(-2px); }
.ftr__news { display: flex; gap: 8px; margin-top: 14px; }
.ftr__news input {
  flex: 1; padding: 12px 14px; border-radius: 10px;
  background: rgba(255, 255, 255, .05); border: 1px solid var(--ink-line); color: #fff; font: inherit; font-size: .92rem;
}
.ftr__news input:focus { outline: none; border-color: var(--marigold); }
.ftr__bar {
  border-top: 1px solid var(--ink-line); padding: 24px 0 30px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; font-family: var(--font-mono);
}
.ftr__bar a:hover { color: var(--marigold); }
.ftr__seo { padding: 26px 0; border-top: 1px solid var(--ink-line); font-size: .8rem; line-height: 1.9; color: #5F6C88; }
.ftr__seo a { color: #6E7C99; }
.ftr__seo a:hover { color: var(--marigold); }

/* ---------- Sticky mobile action bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: 1fr 1fr;
  background: var(--ink); border-top: 1px solid var(--ink-line);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 10px; font-weight: 700; font-size: .95rem; color: #fff;
}
.callbar a + a { background: #25D366; color: #06280F; }
@media (max-width: 760px) { .callbar { display: grid; } body { padding-bottom: 56px; } }

/* Desktop floating WhatsApp */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 94;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #06280F;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float .ic { width: 27px; height: 27px; }
@media (max-width: 760px) { .wa-float { display: none; } }

/* ---------- Pager ---------- */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; flex-wrap: wrap; }
.pager__link {
  min-width: 42px; height: 42px; padding: 0 14px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(7, 12, 24, .14); border-radius: 10px;
  font-family: var(--font-mono); font-size: .88rem; transition: all .2s;
}
.pager__link:hover { border-color: var(--ink); }
.pager__link.is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager__gap { display: grid; place-items: center; padding: 0 6px; color: var(--slate-deep); }

/* ---------- Split feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split--flip .split__media { order: -1; }
@media (max-width: 880px) { .split--flip .split__media { order: 0; } }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.checklist { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.checklist .ic { width: 20px; height: 20px; color: var(--fix); flex: none; margin-top: .22em; }

/* ---------- 404 ---------- */
.oops { text-align: center; max-width: 620px; margin-inline: auto; }
.oops__code { font-family: var(--font-mono); font-size: clamp(4rem, 14vw, 9rem); color: var(--marigold); line-height: 1; }

/* ---------- Scroll reveal ---------- */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-d1 { transition-delay: .08s; }
.js .rv-d2 { transition-delay: .16s; }
.js .rv-d3 { transition-delay: .24s; }

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

@media print {
  .hdr, .strip, .ftr, .callbar, .wa-float, .ticker { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- Homepage slider ---------- */
.slider {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.slider__track { display: grid; }
.slide {
  grid-area: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(430px, 56vw, 620px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease), visibility .7s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s linear;
}
.slide.is-active .slide__bg { transform: scale(1); }
.slide::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(7, 12, 24, .96) 0%, rgba(7, 12, 24, .82) 42%, rgba(7, 12, 24, .34) 78%, rgba(7, 12, 24, .5) 100%);
}
.slide__in { position: relative; z-index: 2; max-width: 640px; margin-right: auto; padding-block: 40px; }
.slide__title {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.04;
}
.slide__sub { color: #B4BFD6; font-size: clamp(1rem, 1.3vw, 1.14rem); margin: 18px 0 28px; max-width: 48ch; }

.slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(7, 12, 24, .62);
  border: 1px solid var(--ink-line);
  color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}
.slider__arrow:hover { background: var(--marigold); border-color: var(--marigold); color: #1A1206; }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
.slider__arrow--prev .ic { transform: rotate(90deg); }
.slider__arrow--next .ic { transform: rotate(-90deg); }
@media (max-width: 780px) { .slider__arrow { display: none; } }

.slider__dots {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  display: flex; gap: 9px; justify-content: center;
}
.slider__dot {
  width: 30px; height: 5px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .28);
  transition: background .25s, width .25s;
}
.slider__dot:hover { background: rgba(255, 255, 255, .55); }
.slider__dot.is-on { background: var(--marigold); width: 46px; }

@media (prefers-reduced-motion: reduce) {
  .slide, .slide__bg { transition: none; }
}

/* ==========================================================================
   Layout refinements and the mobile pass
   ========================================================================== */

/* ---- Hero: keep the headline to two lines and balance the two columns ---- */
.hero h1 { font-size: clamp(2.05rem, 4.2vw, 3.6rem); line-height: 1.03; }
.hero__in { grid-template-columns: 1.12fr .88fr; align-items: center; }
.hero__sub { margin: 22px 0 30px; }

/* Sidebar layouts: a class, so the media query below can actually override it */
.contact-grid--side { display: grid; grid-template-columns: 1.32fr .68fr; gap: clamp(30px, 4vw, 58px); align-items: start; }

/* ---- The @@ marker needs more than the 20px sign column ---- */
.diff__line--meta { grid-template-columns: 44px auto 1fr; column-gap: 9px; }
.diff__line--meta .diff__sign { letter-spacing: .04em; }

/* ---- Slider ---- */
.slide { min-height: clamp(400px, 50vw, 560px); }

@media (max-width: 900px) {
  /* The slide artwork sits on the right of the frame, so on a narrow screen
     shift the crop across to it and darken from the bottom instead. */
  .slide__bg { object-position: 72% center; }
  .slide::after {
    background: linear-gradient(to top, rgba(7, 12, 24, .97) 30%, rgba(7, 12, 24, .84) 62%, rgba(7, 12, 24, .6) 100%);
  }
  .slide { min-height: 440px; align-items: flex-end; }
  .slide__in { padding-block: 34px 58px; }
  .slide__title { font-size: clamp(1.6rem, 6.4vw, 2.1rem); }
  .slide__sub { font-size: .98rem; margin: 12px 0 20px; }
  .slider__dots { bottom: 14px; }
}

/* ---- Everything below tablet ---- */
@media (max-width: 900px) {
  .contact-grid, .contact-grid--side { grid-template-columns: 1fr; }
  /* A sticky sidebar makes no sense once it is stacked underneath */
  .contact-grid--side aside .card-form,
  .contact-grid aside .card-form { position: static !important; }
  .split { gap: 34px; }
}

@media (max-width: 760px) {
  .section { padding: clamp(52px, 9vw, 74px) 0; }
  .wrap { padding: 0 18px; }

  /* Numbered steps stack, so the indent and the dot must reset */
  .step, .step + .step { padding: 26px 0 26px 0; }
  .step + .step::before { left: 0; }

  .hero { padding: 40px 0 56px; }
  .hero__trust { gap: 18px 26px; margin-top: 30px; }
  .hero__trust b { font-size: 1.55rem; }
  .hero__sub { margin: 18px 0 26px; }

  /* Buttons go full width so they are easy to hit with a thumb */
  .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .cta-band__acts .btn { width: 100%; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 24px 16px; }

  .map iframe { height: 300px; }
  .card-form { padding: 24px 20px; }

  /* Long tables in articles scroll rather than blow the page out */
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
  .prose pre { font-size: .82rem; }

  .ftr__seo { font-size: .76rem; line-height: 1.8; }
}

@media (max-width: 560px) {
  /* The diff panel: tighter gutter, smaller type, still readable */
  .diff__line { grid-template-columns: 26px 14px 1fr; padding-right: 12px; }
  .diff__line--meta { grid-template-columns: 26px auto 1fr; }
  .diff__n { padding-right: 7px; }
  .diff__lines { font-size: .74rem; }
  .diff__bar, .diff__foot { padding-inline: 13px; }
  .diff__foot { font-size: .68rem; }

  .hero__trust { gap: 16px 22px; }
  .hero__trust div { min-width: 42%; }

  .quote, .svc { padding: 24px 20px; }
  .sw__body { padding: 20px 18px; }
  .cta-band { padding: 28px 22px; }
  .oops__code { font-size: clamp(3.4rem, 22vw, 6rem); }
  .pager__link { min-width: 38px; height: 38px; padding: 0 10px; }
}

/* Nothing should ever be able to push the page sideways */
html, body { max-width: 100%; }
img, table, pre, iframe { max-width: 100%; }

/* The refined .hero__in rule above sits after the original stacking query,
   so restate it here — narrow screens must always be a single column. */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; }
}
