/* Sisihub 2026 - black theme, mobile-first. Fonts: assets/css/fonts.css (self-hosted Montserrat). */
:root {
  --bg: #1d1d1b;
  --bg-2: #1b1b18;
  --card: #262624;
  --card-2: #2f2f2c;
  --border: #3b3b38;
  --accent: #27a849;
  --accent-2: #4cc46d;
  --accent-ink: #ffffff;
  --gold: #1e8a3a;
  --text: #ffffff;
  --strong: #ffffff;
  --soft: #dddddd;
  --nav-text: #e6e6e6;
  --hdr-bg: rgba(20, 20, 20, 0.92);
  --hdr-line: rgba(255, 255, 255, 0.06);
  --menu-bg: #1b1b1b;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.45);
  --tint-1: linear-gradient(135deg, #1e2a21, #1f1f1f);
  --tint-2: linear-gradient(135deg, #1c2a20, #1a221c);
  --tint-mid: rgba(255, 255, 255, 0.04);
  --ok-text: #bfeacf;
  --err-text: #f3b9b9;
  --muted: #a8a8a8;
  --danger: #e36b6b;
  --ok: #7fc99b;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 68px;
  --footer-bg: #1d1d1b;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", Sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: var(--header-h);
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  color: var(--accent-2);
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--strong);
  margin: 0 0 0.6em;
}
h1 {
  font-size: clamp(2rem, 6.5vw, 3.6rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.4rem);
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1rem;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 3000;
}
.skip:focus {
  left: 8px;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}
.section {
  padding: 56px 0;
}
@media (min-width: 992px) {
  .section {
    padding: 88px 0;
  }
}
.section.alt {
  background: var(--bg-2);
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.section-head {
  max-width: 760px;
  margin: 0 0 32px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}
.muted {
  color: var(--muted);
}

/* buttons */
.btn-s {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: 0.2s;
  font-family: inherit;
  text-align: center;
}
.btn-s:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  color: var(--accent-ink);
  transform: translateY(-1px);
}
.btn-s.ghost {
  background: transparent;
  color: var(--accent);
}
.btn-s.ghost:hover {
  background: rgba(39, 168, 73, 0.12);
  color: var(--accent-2);
}
.btn-s.sm {
  min-height: 38px;
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
}
.link-more {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  font-weight: 600;
  font-size: 0.92rem;
}

/* header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1500;
  height: var(--header-h);
  background: var(--hdr-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hdr-line);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.nav-desktop {
  display: none;
}
.nav-toggle {
  background: none;
  border: 1px solid var(--border);
  color: var(--strong);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.header-cta {
  display: none;
}
@media (min-width: 1100px) {
  .nav-toggle {
    display: none;
  }
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .header-cta {
    display: inline-flex;
  }
}
.nav-desktop > li {
  list-style: none;
  position: relative;
}
.nav-desktop ul {
  margin: 0;
  padding: 0;
}
.nav-link-s {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--nav-text);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 10px 14px;
  border-radius: 999px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  height: 44px;
}
.nav-link-s:hover,
.nav-link-s.active,
.has-menu:hover > .nav-link-s,
.has-menu:focus-within > .nav-link-s {
  color: var(--accent);
}
.nav-link-s.active {
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}
.menu-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: 0.18s;
  z-index: 10;
}
.has-menu:hover > .menu-panel,
.has-menu:focus-within > .menu-panel,
.has-menu.open > .menu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.menu-panel.simple {
  width: 340px;
  display: grid;
  gap: 4px;
}
.menu-panel.mega {
  width: min(1040px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr 300px;
  gap: 6px 20px;
}
.menu-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  color: var(--text);
}
.menu-item:hover {
  background: var(--card-2);
  color: var(--strong);
}
.menu-item i {
  font-size: 1.35rem;
  color: var(--accent);
  line-height: 1.2;
}
.menu-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--strong);
}
.menu-item span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}
.menu-promo {
  grid-column: 3;
  grid-row: 1 / span 6;
  background: var(--card-2);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.menu-promo img {
  border-radius: 10px;
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}
.menu-promo strong {
  color: var(--strong);
}
.menu-promo span {
  color: var(--muted);
  font-size: 0.82rem;
}
.menu-promo .link-more {
  font-size: 0.85rem;
}
/* mobile menu */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: var(--bg);
  transform: translateX(100%);
  visibility: hidden;
  transition:
    transform 0.25s,
    visibility 0.25s;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.mnav.open {
  transform: none;
  visibility: visible;
}
.mnav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
}
.mnav-body {
  padding: 12px 16px 40px;
}
.mnav a,
.mnav summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  color: var(--strong);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  min-height: 52px;
  cursor: pointer;
  list-style: none;
}
.mnav summary::-webkit-details-marker {
  display: none;
}
.mnav details[open] summary i {
  transform: rotate(180deg);
}
.mnav .sub a {
  font-weight: 500;
  color: var(--text);
  padding-left: 16px;
  font-size: 0.93rem;
}
.mnav .sub a span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
}
.announce {
  background: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 40px;
}
.announce a {
  color: var(--accent-ink);
  text-decoration: underline;
}

/* hero */
.hero {
  position: relative;
  padding: 48px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(
      900px 420px at 80% 30%,
      rgba(39, 168, 73, 0.16),
      transparent 65%
    ),
    var(--bg);
}
.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 992px) {
  .hero {
    padding: 84px 0 96px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}
.hero ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.hero li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  padding: 5px 0;
}
.hero li i {
  color: var(--accent);
  font-size: 1.2rem;
}
.hero .price {
  font-size: clamp(2.2rem, 8vw, 3.4rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin: 6px 0 24px;
}
.hero .price sup {
  font-size: 0.4em;
  top: -1.1em;
  margin-right: 4px;
  color: var(--muted);
}
.hero-lead {
  color: var(--muted);
  max-width: 560px;
  font-size: 1.05rem;
}
.hero-img img {
  width: 100%;
  border-radius: var(--radius);
  filter: saturate(0.9);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* page banner */
.banner {
  position: relative;
  padding: 72px 0 56px;
  background: #0f0f0f center/cover no-repeat;
  isolation: isolate;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15, 15, 15, 0.92),
    rgba(15, 15, 15, 0.55)
  );
  z-index: -1;
}
.banner.has-img {
  filter: none;
}
.banner-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}
.banner h1 {
  margin-bottom: 0.4em;
}
.banner p {
  max-width: 640px;
  color: #d6d6d6;
  font-size: 1.05rem;
  margin: 0;
}
@media (min-width: 992px) {
  .banner {
    padding: 110px 0 80px;
  }
}
.crumbs {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.crumbs a {
  color: var(--muted);
}

/* cards */
.grid {
  display: grid;
  gap: 16px;
}
.g2 {
  grid-template-columns: 1fr;
}
.g3 {
  grid-template-columns: 1fr;
}
.g4 {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 640px) {
  .g2,
  .g3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .g3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .g4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card-s {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: 0.2s;
  height: 100%;
}
a.card-s {
  display: block;
  color: inherit;
}
a.card-s:hover,
.card-s.hoverable:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  color: inherit;
}
.card-s .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(39, 168, 73, 0.14);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.card-s h3 {
  margin-bottom: 0.4rem;
}
.card-s p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0;
}
.card-s .more {
  margin-top: 14px;
  display: inline-flex;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.86rem;
}

/* help grow tabs */
.pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  margin: 0 0 20px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.pill {
  flex: 0 0 auto;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--soft);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: inherit;
  min-height: 44px;
  white-space: nowrap;
  transition: 0.15s;
}
.pill:hover {
  border-color: var(--accent);
  color: var(--strong);
}
.pill.on,
.pill[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}
.pills.wrap {
  flex-wrap: wrap;
  overflow: visible;
}
.tab-panel {
  display: none;
  background: var(--tint-1);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  gap: 24px;
  align-items: center;
}
.tab-panel.on {
  display: grid;
  animation: fade 0.3s;
}
@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
  }
}
.tab-panel img {
  width: 100%;
  border-radius: 16px;
  max-height: 340px;
  object-fit: cover;
}
@media (min-width: 900px) {
  .tab-panel {
    grid-template-columns: 1fr 1fr;
    padding: 48px;
  }
}

/* why us / values / journey */
.num {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.value-row {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
}
.value-row i {
  font-size: 1.7rem;
  color: var(--accent);
}
.value-row h3 {
  margin-bottom: 0.25rem;
}
.value-row p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.mv {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .mv {
    grid-template-columns: 1fr 1fr;
  }
}
.mv .card-s {
  background: var(--tint-1);
}
.steps {
  counter-reset: s;
  display: grid;
  gap: 14px;
}
.step {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 22px 76px;
}
.step::before {
  counter-increment: s;
  content: counter(s);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  font-weight: 800;
}
.step h3 {
  margin-bottom: 0.3rem;
}
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* projects / works */
.work-card {
  display: block;
  color: inherit;
}
.work-card .thumb {
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}
.work-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.work-card:hover .thumb img {
  transform: scale(1.05);
}
.work-card .cat {
  display: block;
  color: var(--accent);
  font-size: 0.82rem;
  margin: 12px 0 2px;
  font-weight: 500;
}
.work-card h3 {
  font-size: 1.1rem;
  margin: 0 0 4px;
  color: var(--strong);
}
.work-card p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}
.work-card.hide {
  display: none;
}
.case-meta {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.case-meta small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.case-meta b {
  font-weight: 600;
}
.case-block {
  margin: 28px 0;
}
.case-block h2 {
  font-size: 1.4rem;
}
.case-hero {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 24px 0;
}
.case-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

/* metrics, clients */
.metric {
  text-align: center;
  padding: 28px 12px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.metric i {
  color: var(--accent);
  font-size: 1.6rem;
}
.metric .n {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  color: var(--strong);
  line-height: 1.1;
  margin: 6px 0;
}
.metric .l {
  color: var(--muted);
  font-size: 0.85rem;
}
.client-wall {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.client-wall img {
  max-width: 100%;
  height: auto;
  max-height: 520px;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.logos a,
.logos span {
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  display: grid;
  place-items: center;
  min-height: 72px;
}
.logos img {
  max-height: 56px;
  width: auto;
}
.quote {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote .stars {
  color: var(--accent);
  letter-spacing: 2px;
}
.quote p {
  margin: 0;
  font-size: 0.98rem;
}
.quote .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.quote .who img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.quote .who b {
  display: block;
  font-size: 0.9rem;
}
.quote .who small {
  color: var(--muted);
}
.avatar-i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card-2);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
}

/* CTA */
.cta-box {
  background: linear-gradient(135deg, #2c2921, #1d1c19);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 24px;
  text-align: center;
}
.cta-box.row-box {
  display: grid;
  gap: 20px;
  align-items: center;
  text-align: left;
  background: linear-gradient(135deg, #34311f, #1e1d15);
}
@media (min-width: 768px) {
  .cta-box {
    padding: 56px;
  }
  .cta-box.row-box {
    grid-template-columns: auto 1fr auto;
    padding: 40px 56px;
  }
}
.cta-box h2 {
  margin-bottom: 0.4em;
}
.cta-box p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 20px;
}
.row-box p {
  margin: 0;
}

/* products & pricing */
.product {
  display: grid;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  height: 100%;
}
.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(39, 168, 73, 0.18);
  color: var(--accent);
}
.checks {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}
.checks li {
  display: flex;
  gap: 10px;
  padding: 5px 0;
  font-size: 0.93rem;
}
.checks li::before {
  content: "\f26e";
  font-family: "bootstrap-icons";
  color: var(--accent);
  flex: 0 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  height: 100%;
}
.plan.hl {
  border-color: var(--accent);
  box-shadow:
    0 0 0 1px var(--accent),
    0 20px 50px rgba(0, 0, 0, 0.4);
}
.plan .badge-s {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 4px 14px;
  border-radius: 999px;
}
.plan .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
  margin: 10px 0 4px;
}
.plan .price small {
  font-size: 0.5em;
  color: var(--muted);
  font-weight: 600;
  margin-right: 4px;
}
.plan .per {
  color: var(--muted);
  font-size: 0.82rem;
  min-height: 1.3em;
}
.plan .best {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 12px 0;
}
.plan .btn-s {
  margin-top: auto;
}
.note {
  background: rgba(39, 168, 73, 0.1);
  border: 1px solid rgba(39, 168, 73, 0.35);
  color: var(--soft);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 0.88rem;
}

/* hub */
.post-card {
  display: block;
  color: inherit;
}
.post-card .thumb {
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .thumb img {
  transform: scale(1.04);
}
.post-card .meta {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 12px 0 4px;
  font-size: 0.8rem;
  color: var(--accent);
}
.post-card .meta .t {
  border: 1px solid rgba(39, 168, 73, 0.5);
  border-radius: 999px;
  padding: 1px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.post-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}
/* the large lead card keeps a bigger title (and its own weight) */
.post-card.feat h3 {
  font-size: 1.15rem;
  font-weight: 800;
}
.post-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.post-card.feat {
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .post-card.feat {
    grid-template-columns: 1.2fr 1fr;
  }
  .post-card.feat h3 {
    font-size: 1.5rem;
  }
}
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.04rem;
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: 1.8em;
}
.prose h3 {
  margin-top: 1.5em;
}
.prose img {
  border-radius: 12px;
  margin: 12px 0;
}
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 18px;
  color: var(--soft);
  margin: 1.4em 0;
}
.prose a {
  text-decoration: underline;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
}
.prose td,
.prose th {
  border: 1px solid var(--border);
  padding: 8px;
}
.pager {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.pager a,
.pager span {
  min-width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--soft);
  padding: 0 12px;
}
.pager .cur {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  font-weight: 700;
}

/* forms */
.form-s label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.form-s .f {
  width: 100%;
  background: var(--bg);
  color: var(--strong);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  min-height: 48px;
}
.form-s .f:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(39, 168, 73, 0.25);
}
.form-s textarea.f {
  min-height: 140px;
  resize: vertical;
}
.form-s .row-f {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}
@media (min-width: 640px) {
  .form-s .row-f.two {
    grid-template-columns: 1fr 1fr;
  }
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.alert-s {
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 0.92rem;
}
.alert-s.ok {
  background: rgba(127, 201, 155, 0.12);
  border: 1px solid rgba(127, 201, 155, 0.4);
  color: var(--ok-text);
}
.alert-s.err {
  background: rgba(227, 107, 107, 0.12);
  border: 1px solid rgba(227, 107, 107, 0.4);
  color: var(--err-text);
}
.nl-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.nl-form input[type="email"] {
  flex: 1 1 220px;
}
.nl-msg {
  font-size: 0.85rem;
  margin-top: 8px;
  min-height: 1.2em;
}

/* faq */
.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 10px;
}
.faq summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 56px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  color: var(--accent);
  transition: 0.2s;
  flex: 0 0 auto;
}
.faq details[open] summary::after {
  transform: rotate(180deg);
}
.faq details > div {
  padding: 0 20px 18px;
  color: var(--muted);
}
.faq h3.cat {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 24px 0 10px;
}

/* contact */
.info-box {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: inherit;
  height: 100%;
}
.info-box i {
  font-size: 1.5rem;
  color: var(--accent);
}
.info-box h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.info-box p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.map {
  border: 0;
  width: 100%;
  height: 380px;
  border-radius: var(--radius);
  filter: grayscale(1) invert(0.9) contrast(0.9);
}
.split {
  display: grid;
  gap: 28px;
}
@media (min-width: 992px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .split.wide-left {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

/* footer (Kairos-style columns on a rich dark gradient) */
.site-footer {
  background: var(--footer-bg);
  color: #cfcfcf;
  padding: 64px 0 0;
  margin-top: 0;
}
.foot-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 992px) {
  .foot-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}
.site-footer h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer li {
  margin-bottom: 9px;
}
.site-footer a {
  color: #b9b9b9;
  font-size: 0.92rem;
}
.site-footer a:hover {
  color: var(--accent);
}
.site-footer .logo img {
  height: 42px;
  margin-bottom: 16px;
}
.social {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}
.social a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
}
.social a:hover {
  background: var(--accent);
  color: var(--accent-ink);
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 44px;
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
  color: #8d8d8d;
}
.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--strong);
  display: grid;
  place-items: center;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  cursor: pointer;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.no-js .rv {
  opacity: 1;
  transform: none;
}

/* chatbot */
#chat-toggle {
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 1300;
  background: var(--gold);
  color: #fff;
  border: 0;
  border-radius: 999px;
  height: 52px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  font-family: inherit;
}
#chat-toggle:hover {
  background: var(--accent);
}
#chat-box {
  position: fixed;
  z-index: 1700;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--card);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
#chat-box.open {
  display: flex;
}
@media (min-width: 576px) {
  #chat-box {
    right: 16px;
    bottom: 16px;
    width: 380px;
    height: min(600px, calc(100dvh - 32px));
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6);
  }
}
.chat-head {
  background: var(--gold);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.chat-head .sp {
  flex: 1;
}
.chat-head button {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
}
.chat-head button:hover {
  background: rgba(255, 255, 255, 0.15);
}
#chat-history {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  overscroll-behavior: contain;
}
.msg {
  max-width: 86%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.msg.bot {
  background: var(--card-2);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.msg.user {
  background: var(--accent);
  color: var(--accent-ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.msg.typing {
  opacity: 0.7;
  font-style: italic;
}
.chat-foot {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.chat-foot input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--strong);
  border-radius: 999px;
  padding: 0 16px;
  height: 46px;
  font: inherit;
  font-size: 16px;
}
.chat-foot button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  font-size: 1.1rem;
}
.chat-foot button:disabled {
  opacity: 0.5;
}
#chat-list {
  position: absolute;
  inset: 56px 0 0 0;
  background: var(--card);
  overflow-y: auto;
  padding: 12px;
  display: none;
  z-index: 2;
}
#chat-list.open {
  display: block;
}
#chat-list button.conv {
  display: block;
  width: 100%;
  text-align: left;
  background: var(--card-2);
  border: 1px solid var(--border);
  color: var(--strong);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  font: inherit;
}
#chat-list button.conv small {
  display: block;
  color: var(--muted);
}
#chat-box {
  position: fixed;
}
@media (max-width: 575px) {
  #chat-toggle .chat-text {
    display: none;
  }
  #chat-toggle {
    width: 52px;
    padding: 0;
    justify-content: center;
  }
}
.hero-img img {
  filter: invert(1) hue-rotate(180deg) brightness(0.92) contrast(1.05);
  mix-blend-mode: screen;
  background: transparent;
}
.split img,
.tab-panel img,
.product img {
  border-radius: var(--radius);
}
img.inv {
  filter: invert(1) hue-rotate(180deg) brightness(0.92);
  mix-blend-mode: screen;
}

/* --- hero as full-bleed background under a transparent header --- */
.has-hero {
  padding-top: 0;
}
.has-hero .site-header {
  background: linear-gradient(rgba(10, 10, 10, 0.65), transparent);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 0.25s;
}
.has-hero .site-header.scrolled {
  background: var(--hdr-bg);
  border-bottom-color: var(--hdr-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero {
  display: flex;
  align-items: center;
  min-height: min(88vh, 720px);
  padding: calc(var(--header-h) + 40px) 0 56px;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 0;
  opacity: 0.85;
}
.hero-bg img.inv {
  filter: invert(1) hue-rotate(180deg) brightness(1) contrast(1.1);
  mix-blend-mode: screen;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(20, 20, 20, 0.9) 0%,
      rgba(20, 20, 20, 0.55) 50%,
      rgba(20, 20, 20, 0.1) 100%
    ),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%);
}
.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-copy {
  max-width: 640px;
}
.hero-copy .btn-row {
  margin-top: 24px;
}
@media (min-width: 992px) {
  .hero {
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 96px;
  }
}
/* small icon cards under hero */
.section.tight {
  padding: 32px 0 56px;
}
.mini-cards {
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) {
  .mini-cards {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}
.mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 24px 12px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 600;
  transition: 0.2s;
}
.mini-card i {
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
}
.mini-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  color: var(--text);
}
.section.tight .rv > a.btn-s.ghost {
  margin: 0 auto;
}
.section.tight > .container > p {
  text-align: center;
}

/* --- full-width mega menus (Company + Services) --- */
.nav-desktop {
  align-self: stretch;
}
.nav-desktop > li {
  display: flex;
  align-items: center;
}
.nav-desktop > li.has-menu {
  position: static;
}
.menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  transform: translateY(8px);
  border-radius: 0 0 var(--radius) var(--radius);
  border-width: 0 0 1px;
  padding: 0;
  background: var(--menu-bg);
  max-height: calc(100vh - var(--header-h) - 12px);
  overflow-y: auto;
}
.has-menu:hover > .menu-panel,
.has-menu:focus-within > .menu-panel,
.has-menu.open > .menu-panel {
  transform: translateY(0);
}
.menu-in {
  display: grid;
  gap: 8px 28px;
  padding-top: 24px;
  padding-bottom: 24px;
}
.menu-cols {
  display: grid;
  gap: 4px 20px;
  grid-template-columns: repeat(3, 1fr);
  align-content: start;
}
.menu-item span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.services-menu {
  grid-template-columns: 1fr 280px;
}
.services-menu .menu-promo {
  grid-column: 2;
  grid-row: auto;
  align-self: start;
}
.services-menu .menu-promo img {
  aspect-ratio: 16/9;
}
.company-menu {
  grid-template-columns: 260px 1fr;
}
.company-menu .menu-cols {
  grid-template-columns: repeat(3, 1fr);
}
.menu-lead h3 {
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
}
.menu-lead p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
.menu-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--tint-2);
  border: 1px solid var(--border);
  color: var(--text);
}
.menu-banner > i {
  font-size: 1.8rem;
  color: var(--accent);
}
.menu-banner div {
  flex: 1;
}
.menu-banner strong {
  display: block;
  color: var(--strong);
}
.menu-banner div span {
  color: var(--muted);
  font-size: 0.85rem;
}
.menu-banner:hover {
  border-color: var(--accent);
  color: var(--text);
}
@media (max-width: 1250px) {
  .menu-cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-menu .menu-cols {
    grid-template-columns: 1fr;
  }
}

/* outcome cards */
.outcome {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.2s;
}
.outcome:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.outcome .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(39, 168, 73, 0.14);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
}
.outcome h3 {
  margin: 6px 0 0;
  font-size: 1.2rem;
}
.outcome p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
  flex: 1;
}
.outcome .link-more {
  color: var(--accent);
  font-size: 0.85rem;
}
.btn-row.center {
  justify-content: center;
  margin-top: 32px;
}

/* clients: small logos, scrolling */
.clients-sec .section-head {
  margin-bottom: 28px;
}
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marq 160s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-set {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}
.logo-tile {
  flex: none;
  display: grid;
  place-items: center;
  height: 76px;
  min-width: 120px;
  padding: 10px 18px;
  background: #fff;
  border-radius: 12px;
}
.logo-tile img {
  height: 100%;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  border-radius: 0;
}
@keyframes marq {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .marquee {
    overflow-x: auto;
  }
  .marquee-set[aria-hidden] {
    display: none;
  }
}
.company-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.company-menu .menu-lead {
  flex: 0 0 260px;
}
.company-menu .menu-cols {
  flex: 1;
  min-width: 0;
}
.company-menu .menu-banner {
  flex: 0 0 100%;
}
.logo-tile img {
  height: 56px;
  width: auto;
  max-width: 160px;
  max-height: 56px;
  object-fit: contain;
}
.logo-tile {
  height: 84px;
}
.logo-tile img {
  height: 64px;
  max-height: 64px;
  max-width: 180px;
}

/* --- AI/ML chip icon (assets/icons/ai_microchip_white.svg used as a mask so it takes the text colour) --- */
.bi-ai-chip::before {
  content: "" !important;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background: currentColor;
  -webkit-mask: url(../icons/ai_microchip_white.svg) center/contain no-repeat;
  mask: url(../icons/ai_microchip_white.svg) center/contain no-repeat;
}

/* --- How we can help you grow: two-part panels --- */
.tab-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 28px 20px 0;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(39, 168, 73, 0.18),
    var(--tint-mid) 55%,
    rgba(39, 168, 73, 0.08)
  );
  border: 1px solid var(--border);
  text-align: center;
}
.tab-panel.on {
  display: grid;
}
.tp-text {
  align-self: center;
  padding: 8px 4px;
}
.tp-text h3 {
  font-size: clamp(1.5rem, 5vw, 2.3rem);
  font-weight: 700;
  margin-bottom: 0.7rem;
}
.tp-text p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 auto 1.1rem;
  max-width: 520px;
}
.tp-img {
  align-self: end;
}
.tab-panel .tp-img img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px 16px 0 0;
  box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .tab-panel {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px 48px 0;
    text-align: left;
  }
  .tp-text {
    padding: 0 0 48px;
  }
  .tp-text p {
    margin-left: 0;
  }
  .tp-img {
    padding-bottom: 0;
  }
  .tab-panel .tp-img img {
    max-height: 400px;
  }
}

/* --- Why choose us --- */
.why-wrap {
  display: grid;
  gap: 32px;
  padding: 32px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
}
.why-lead .eyebrow {
  position: relative;
  padding-bottom: 8px;
}
.why-lead .eyebrow::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}
.why-lead h2 {
  margin: 0.5rem 0 0.8rem;
}
.why-lead .hl,
.hl {
  color: var(--accent);
}
.why-lead p {
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
}
.why-item {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.why-item:first-child {
  border-top: 0;
}
.wi-ico {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}
.why-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.3rem;
}
.why-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
@media (min-width: 900px) {
  .why-wrap {
    grid-template-columns: 0.9fr 1.3fr;
    gap: 48px;
    padding: 56px;
    align-items: center;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-item {
    border-top: 0;
    padding: 28px;
  }
  .why-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
  .why-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

/* --- Core values: staggered tinted cards --- */
.values-head {
  max-width: 820px;
  margin-bottom: 40px;
}
.values-head h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.15;
}
.values-head p {
  color: var(--muted);
}
.values-head .mv-line {
  font-size: 0.92rem;
  margin: 0.6rem 0 0;
}
.values-head .mv-line strong {
  color: var(--text);
}
.values-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.value-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  min-height: 230px;
  padding: 22px;
  border-radius: 6px;
  background: rgba(39, 168, 73, 0.1);
  border: 1px solid rgba(39, 168, 73, 0.18);
}
.value-card > i {
  color: var(--accent);
  font-size: 0.9rem;
}
.value-card h3 {
  font-size: 1rem;
  margin: 0 0 0.4rem;
}
.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}
@media (min-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
    padding-top: 40px;
  }
  .value-card:nth-child(even) {
    transform: translateY(-40px);
  }
}
@media (min-width: 1000px) {
  .values-grid.n4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .values-grid.n5 {
    grid-template-columns: repeat(5, 1fr);
  }
  .values-grid.n3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- CTA like Fern: deep green bar, logo | headline | button --- */
.cta-box {
  background: #003d33;
  border: 0;
  border-radius: 36px;
  box-shadow: none;
}
.cta-box h2 {
  color: #fff;
}
.cta-box p {
  color: rgba(255, 255, 255, 0.8);
}
.cta-box.cta-row {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: 36px 24px;
}
.cta-row .cta-logo {
  height: 48px;
  width: auto;
}
.cta-row .cta-copy h2 {
  margin: 0;
  font-size: clamp(1.4rem, 5vw, 2.1rem);
  line-height: 1.2;
}
.cta-row .cta-copy p {
  margin: 0.4rem 0 0;
}
@media (min-width: 900px) {
  .cta-box.cta-row {
    grid-template-columns: auto 1fr auto;
    justify-items: start;
    text-align: left;
    gap: 56px;
    padding: 44px 72px;
  }
}

/* --- FAQ: open list with hairlines and chevrons (Fern style) --- */
.faq {
  max-width: 900px;
  margin: 0 auto;
}
.faq details {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  margin: 0;
}
.faq summary {
  padding: 26px 4px;
  font-weight: 600;
  font-size: 1.02rem;
  min-height: 72px;
}
.faq summary::after {
  content: "\f282";
  font-size: 1.05rem;
}
.faq details > div {
  padding: 0 4px 28px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}
.faq summary:hover {
  color: var(--accent-2);
}
.faq h3.cat {
  text-align: left;
}
#faqs {
  background: var(--bg);
}
#faqs .section-head h2 {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
}
#chat-toggle .bi-ai-chip {
  font-size: 1.5rem;
}
.chat-head .bi-ai-chip {
  font-size: 1.3rem;
}

/* --- latest articles carousel --- */
.car-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 18px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.car-track::-webkit-scrollbar {
  display: none;
}
.car-card {
  flex: 0 0 82%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 10px;
  transition: border-color 0.2s;
}
.car-card:hover {
  border-color: var(--accent);
}
@media (min-width: 640px) {
  .car-card {
    flex-basis: calc(50% - 8px);
  }
}
@media (min-width: 1000px) {
  .car-card {
    flex-basis: calc(33.333% - 11px);
  }
}
.car-img {
  display: block;
  aspect-ratio: 16/10;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card-2);
}
.car-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.car-card:hover .car-img img {
  transform: scale(1.04);
}
.car-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 10px 10px;
}
.car-body h3 {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}
.car-body h3 a {
  color: var(--strong);
}
.car-body p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 1rem;
  flex: 1;
}
.car-body .link-more {
  color: var(--accent);
  font-size: 0.9rem;
}
.car-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}
.car-btn {
  width: 60px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--card);
  color: var(--strong);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: 0.15s;
}
.car-btn:hover {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}

/* --- homepage product cards (max 3 per row) --- */
.prod-grid{display:grid;gap:18px;grid-template-columns:1fr}
@media(min-width:640px){.prod-grid{grid-template-columns:1fr 1fr}}
@media(min-width:992px){.prod-grid{grid-template-columns:repeat(3,1fr)}}
.prod-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;background:var(--card);border:1px solid var(--border);border-radius:20px;padding:22px 24px 26px}
.pc-top{width:100%;display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}
.pc-name{color:var(--muted);font-weight:600;text-align:left}
.pc-kind{font-weight:800;color:var(--accent)}
.pc-logo{height:120px;width:100%;display:grid;place-items:center}
.pc-logo img{max-height:90px;max-width:78%;width:auto;height:auto;object-fit:contain;border-radius:0}
.pc-logo i{font-size:3.6rem;color:var(--accent)}
.prod-card p{color:var(--muted);font-size:.93rem;margin:0;flex:1}
.pc-kind{text-transform:none;font-size:.85rem}
/* product cards: narrower, centred whatever the count per row */
.prod-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:18px}
.prod-card{flex:0 1 300px;width:100%;max-width:320px;padding:18px 22px 24px}
.pc-top{justify-content:flex-end}
.pc-logo{height:104px}
.pc-fallback{display:grid;gap:8px;justify-items:center}
.pc-fallback strong{font-size:1.05rem}
.pc-fallback i{font-size:2.8rem}

/* product cards: full third-width again, shorter */
.prod-card{flex:1 1 calc(33.333% - 12px);min-width:260px;max-width:none;gap:8px;padding:14px 22px 20px}
.pc-logo{height:70px}
.pc-logo img{max-height:56px}
.pc-fallback{gap:4px}.pc-fallback i{font-size:2rem}.pc-fallback strong{font-size:1rem}
.pc-top{min-height:1.2em}
@media(min-width:992px){.prod-card{flex:0 1 calc(33.333% - 12px)}}
@media(max-width:639px){.prod-card{flex-basis:100%}}

/* chat: messages sit at the bottom next to the input (WhatsApp-like); no page scroll behind the open chat on phones */
#chat-history > .msg:first-child{margin-top:auto}
@media(max-width:575px){
  html.chat-open,html.chat-open body{overflow:hidden;overscroll-behavior:none}
  #chat-box{top:0;height:100dvh;max-height:none}
  .chat-foot input{font-size:16px}
}

/* home page: section headings and action buttons are centred (About and the closing CTA keep their own layout) */
.has-hero .section-head,.has-hero .values-head{margin-left:auto;margin-right:auto;text-align:center}
.has-hero .section-head p,.has-hero .values-head p{margin-left:auto;margin-right:auto}
.has-hero .more-row{text-align:center}.has-hero .pills::before,.has-hero .pills::after{content:"";margin:auto}

/* --- footer layout like the reference: brand + address | three link columns, small type, hairline + copyright --- */
.site-footer{padding:56px 0 0;font-size:.9rem}
.foot-grid{display:grid;gap:32px 24px;grid-template-columns:1fr 1fr}
.foot-brand{grid-column:1 / -1}
@media(min-width:992px){.foot-grid{grid-template-columns:1.25fr 1fr 1fr 1fr;gap:32px}.foot-brand{grid-column:auto}}
.site-footer h4{font-size:.95rem;font-weight:700;color:#fff;margin:0 0 16px}
.site-footer li{margin-bottom:11px;line-height:1.4}
.site-footer ul a{font-size:.88rem;color:rgba(255,255,255,.68)}
.site-footer ul a:hover{color:#fff}
.site-footer address{font-style:normal;font-size:.88rem;line-height:1.75;color:#fff;margin:0}
.site-footer address a{color:#fff;font-size:.88rem}
.site-footer address a:hover{color:var(--accent-2)}
.site-footer .logo img{height:34px;margin-bottom:22px}
.site-footer .social{gap:8px;margin:0 0 20px}
.site-footer .social a{width:34px;height:34px;border-radius:6px;font-size:1rem;background:var(--accent);color:var(--footer-bg)}
.site-footer .social a:hover{background:var(--accent-2)}
.foot-bottom{margin-top:48px;padding:22px 0 26px;font-size:.78rem;color:rgba(255,255,255,.5)}

/* closing CTA: white label, slimmer button */
.cta-row .btn-s{color:#fff;min-height:40px;padding:.4rem 1.25rem;font-size:.9rem;font-weight:600;letter-spacing:0}
.cta-row .btn-s:hover{color:#fff}

/* about page sections */
#journey{scroll-margin-top:90px}
.cta-row .btn-s{align-self:center;height:auto;line-height:1.4;padding:.5rem 1.25rem}

/* --- About: mission & vision staircase (rings + ribbon) --- */
.mv-stair{position:relative;max-width:900px;margin:0 auto;display:grid;gap:36px}
.mv-art{display:none}
.mv-ring{width:210px;height:210px;margin:0 auto;border-radius:50%;border:30px solid var(--accent);display:grid;place-items:center;text-align:center;font-weight:800;font-size:1.15rem;line-height:1.2;color:var(--strong)}
.mv-ring.vis{border-color:#2fb3a3}
.mv-text{border-left:2px solid var(--border);padding:2px 0 2px 18px;max-width:560px;margin:-14px auto 0}
.mv-text p{margin:0;color:var(--muted);font-size:1rem}
@media(min-width:900px){
  .mv-stair{display:block;aspect-ratio:900/780}
  .mv-art{display:block;position:absolute;inset:0;width:100%;height:100%}
  .mv-ring{position:absolute;margin:0;border:0;width:25%;height:auto;aspect-ratio:1;transform:translate(-50%,-50%);font-size:clamp(1rem,2.1vw,1.55rem)}
  .mv-ring.mis{left:72.22%;top:16.67%}
  .mv-ring.vis{left:27.78%;top:60.25%}
  .mv-text{position:absolute;margin:0;width:38%;font-size:1rem}
  .mv-text.mis{left:62%;top:34%}
  .mv-text.vis{left:6%;top:77.5%}
}

/* --- About: development process (image left, numbered steps right) --- */
.proc{display:grid;gap:36px;align-items:center}
.proc-visual img{width:100%;max-width:520px;margin:0 auto;display:block;border-radius:var(--radius);height:auto}
.proc-ring{position:relative;width:min(100%,460px);aspect-ratio:1;margin:0 auto;border-radius:50%;border:34px solid rgba(39,168,73,.16)}
.pr-center{position:absolute;inset:26%;border-radius:50%;display:grid;place-content:center;text-align:center;background:var(--card);border:1px solid var(--border)}
.pr-center strong{font-size:1.1rem}.pr-center span{color:var(--muted);font-size:.85rem}
.pr-node{position:absolute;width:26%;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:var(--accent);color:var(--accent-ink);display:grid;place-content:center;text-align:center;box-shadow:0 0 0 6px var(--bg-2)}
.pr-node b{font-size:1.2rem;line-height:1}.pr-node small{font-size:.62rem;font-weight:700;line-height:1.1;padding:0 4px}
.proc-intro{color:var(--muted);font-size:1.02rem;margin:0 0 20px}
.proc-steps{list-style:none;margin:0;padding:0;display:grid;gap:18px}
.proc-steps li{display:flex;gap:16px;align-items:flex-start}
.proc-steps .num{flex:none;width:38px;height:38px;border-radius:50%;background:var(--accent);color:var(--accent-ink);font-weight:800;display:grid;place-items:center}
.proc-steps h3{font-size:1.05rem;margin:0 0 .2rem}
.proc-steps p{margin:0;color:var(--muted);font-size:.95rem}
@media(min-width:900px){.proc{grid-template-columns:1fr 1fr;gap:56px}}

/* About: mission & vision on phones/tablets - big poster-style titles (mission left, vision right) */
@media(max-width:899px){
  .mv-stair{gap:8px}
  .mv-ring{width:100%;max-width:none;height:auto;aspect-ratio:auto;margin:0;border:0;border-radius:0;display:block;font-size:clamp(2.6rem,14vw,4.2rem);font-weight:800;line-height:1;letter-spacing:.01em;text-transform:uppercase;text-align:left;color:var(--strong)}
  .mv-ring.vis{text-align:right;margin-top:36px}
  .mv-ring.mis span,.mv-ring.vis span{display:block}
  .mv-text{max-width:none;margin:14px 0 0;border:0;border-left:3px solid var(--accent);padding:2px 0 2px 16px;text-align:left}
  .mv-text.vis{border-left:0;border-right:3px solid var(--accent);padding:2px 16px 2px 0;text-align:right}
  .mv-text p{font-size:1rem;line-height:1.7}
}
@media(max-width:899px){
  .mv-ring{padding:0;place-items:initial;justify-content:initial;align-items:initial}
  .mv-ring span{display:block;width:100%;margin:0;text-align:inherit}
}

/* About: our journey (brief history) */
#history{scroll-margin-top:90px}
.history{display:grid;gap:28px;align-items:center}
.hist-year{display:flex;flex-direction:column;align-items:flex-start;line-height:1}
.hist-year strong{font-size:clamp(4.5rem,22vw,9rem);font-weight:800;color:transparent;-webkit-text-stroke:2px var(--accent);letter-spacing:-.02em}
.hist-year span{margin-top:6px;font-size:.8rem;letter-spacing:.2em;text-transform:uppercase;color:var(--accent);font-weight:700}
.hist-body h2{margin-bottom:.8rem}
.hist-text{color:var(--muted);font-size:1.02rem}
.hist-text p{margin:0 0 1rem}.hist-text strong{color:var(--strong)}
.hist-tags{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 0;padding:0}
.hist-tags li{border:1px solid rgba(39,168,73,.55);color:var(--strong);border-radius:999px;padding:7px 16px;font-size:.86rem;font-weight:600;background:rgba(39,168,73,.1)}
@media(min-width:900px){.history{grid-template-columns:.8fr 1.6fr;gap:56px}.hist-year{align-items:center;text-align:center}}

/* =====================================================================
   LIGHT MODE  (html[data-theme="light"]). Dark is the default and is unchanged.
   Every colour below is a variable, so the whole palette lives in these two blocks.
   Hero, page banners, footer and the green CTA boxes stay dark in both modes.
   ===================================================================== */
[data-theme="light"] {
  --bg: #ffffff;
  --bg-2: #f3f6f4;
  --card: #ffffff;
  --card-2: #eef3f0;
  --border: #dce3df;
  --accent: #1b8a3a;          /* darker green: readable as text on white */
  --accent-2: #157230;
  --accent-ink: #ffffff;
  --gold: #1b8a3a;
  --text: #18201c;
  --muted: #5a6660;           /* the "faint white" of dark mode */
  --strong: #0f1511;
  --soft: #34403a;
  --nav-text: #1f2a24;
  --hdr-bg: rgba(255, 255, 255, 0.92);
  --hdr-line: rgba(0, 0, 0, 0.08);
  --menu-bg: #ffffff;
  --shadow-lg: 0 24px 60px rgba(16, 24, 20, 0.16);
  --shadow-md: 0 18px 50px rgba(16, 24, 20, 0.14);
  --tint-1: linear-gradient(135deg, #eaf6ee, #ffffff);
  --tint-2: linear-gradient(135deg, #e6f4ea, #f6fbf8);
  --tint-mid: rgba(0, 0, 0, 0.02);
  --ok-text: #0f6a32;
  --err-text: #9b2323;
  color-scheme: light;
}
/* regions that keep the dark look in light mode */
[data-theme="light"] :is(.hero, .banner, .site-footer, .cta-box, .has-hero .site-header:not(.scrolled)) {
  --bg: #1d1d1b; --bg-2: #1b1b18; --card: #262624; --card-2: #2f2f2c; --border: #3b3b38;
  --accent: #27a849; --accent-2: #4cc46d; --accent-ink: #ffffff; --gold: #1e8a3a;
  --text: #ffffff; --muted: #a8a8a8; --strong: #ffffff; --soft: #dddddd; --nav-text: #e6e6e6;
  --hdr-bg: rgba(20, 20, 20, 0.92); --hdr-line: rgba(255, 255, 255, 0.06); --menu-bg: #1b1b1b;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55); --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.45);
  --tint-1: linear-gradient(135deg, #1e2a21, #1f1f1f); --tint-2: linear-gradient(135deg, #1c2a20, #1a221c); --tint-mid: rgba(255, 255, 255, 0.04);
  color: #ffffff; color-scheme: dark;
}
/* illustrations drawn on white are shown as-is on a light page (the hero keeps its inverted look) */
[data-theme="light"] img.inv { filter: none; mix-blend-mode: normal; }
[data-theme="light"] .hero-bg img.inv { filter: invert(1) hue-rotate(180deg) brightness(1) contrast(1.1); mix-blend-mode: screen; }
/* cards need a whisper of depth on a white page */
[data-theme="light"] :is(.card-s, .outcome, .prod-card, .car-card, .plan, .value-card, .why-wrap, .step, .metric, .work-card) { box-shadow: 0 1px 2px rgba(16, 24, 20, 0.05), 0 8px 24px rgba(16, 24, 20, 0.04); }
[data-theme="light"] .mini-card { box-shadow: 0 1px 2px rgba(16, 24, 20, 0.05); }
[data-theme="light"] .hist-year strong { -webkit-text-stroke-color: var(--accent); }

/* logo per theme (white artwork on dark, dark artwork on light) */
.logo .logo-d { display: none; }
[data-theme="light"] .site-header .logo .logo-w, [data-theme="light"] .mnav .logo .logo-w { display: none; }
[data-theme="light"] .site-header .logo .logo-d, [data-theme="light"] .mnav .logo .logo-d { display: block; }
[data-theme="light"] .has-hero .site-header:not(.scrolled) .logo .logo-w { display: block; }
[data-theme="light"] .has-hero .site-header:not(.scrolled) .logo .logo-d { display: none; }

/* theme switch button */
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.theme-toggle { background: none; border: 1px solid var(--border); color: var(--strong); border-radius: 12px; width: 46px; height: 46px; font-size: 1.25rem; display: grid; place-items: center; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
/* convention: dark mode shows the SUN (click for light), light mode shows the MOON (click for dark) */
.theme-toggle .ti-moon { display: none; }
.theme-toggle .ti-sun { display: block; }
[data-theme="light"] .theme-toggle .ti-moon { display: block; }
[data-theme="light"] .theme-toggle .ti-sun { display: none; }
.has-hero .site-header:not(.scrolled) .theme-toggle { border-color: rgba(255, 255, 255, 0.25); }
@media (min-width: 1100px) { .theme-toggle { width: 40px; height: 40px; border-radius: 10px; font-size: 1.1rem; } }
.nav-desktop { margin-left: auto; }
.hdr-actions { margin-left: 14px; }
@media (max-width: 1099px) { .hdr-actions { margin-left: auto; } }

/* Dark is the default for every visitor, whatever their device/browser theme is: only the header button switches it. */
:root { color-scheme: dark; }
[data-theme="light"] .to-top { background: var(--accent); border-color: var(--accent); color: #ffffff; }
[data-theme="light"] .to-top:hover { background: var(--accent-2); border-color: var(--accent-2); }

/* toast messages (contact form, newsletter, errors) */
.toast-wrap { position: fixed; z-index: 1900; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 10px; justify-items: center; pointer-events: none; }
.toast-s { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; width: 100%; max-width: 480px; padding: 14px 16px; border-radius: 14px; font-size: .92rem; line-height: 1.45; box-shadow: var(--shadow-lg); border: 1px solid transparent; background: var(--card); color: var(--strong); animation: toastIn .3s ease; }
.toast-s span { flex: 1; }
.toast-s.ok { background: #14532d; border-color: #27a849; color: #eafff0; }
.toast-s.err { background: #5b1a1a; border-color: #e36b6b; color: #ffeaea; }
[data-theme="light"] .toast-s.ok { background: #e8f6ec; border-color: #1b8a3a; color: #0f4d27; }
[data-theme="light"] .toast-s.err { background: #fdeaea; border-color: #c94a4a; color: #7a1c1c; }
.toast-x { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 2px; opacity: .8; }
.toast-x:hover { opacity: 1; }
.toast-s.out { opacity: 0; transform: translateY(8px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== 2026-11-15: pricing page, nav layout, subscribe, contact swap ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* header: menu icon on the left (mobile), floating theme switch bottom-left (desktop, website only) */
.mnav-top { justify-content: flex-start; gap: 14px; }
@media (max-width: 1099px) {
  .site-header .logo { margin-right: auto; }
  .hdr-actions { margin-left: 0; }
  .theme-float { display: none; }
}
@media (min-width: 1100px) {
  .hdr-actions { display: none; }
  .theme-toggle.theme-float {
    display: grid; position: fixed; left: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; font-size: 1.2rem;
    background: var(--card-2); z-index: 1200; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  }
  .theme-float:hover { background: var(--card); }
}
@media print { .theme-float { display: none !important; } }

/* pricing page: centred package cards (one card = centred, many = wrap and stay centred) */
.price-group { margin-bottom: 56px; scroll-margin-top: 90px; }
.price-group > h2 { text-align: center; font-size: clamp(1.4rem, 4vw, 1.9rem); color: var(--accent); margin: 0 0 28px; }
.plans { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 28px 24px; }
.plans .plan { flex: 1 1 280px; max-width: 380px; height: auto; }
.plan .ticks { list-style: none; padding: 0; margin: 0 0 20px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; font-size: 0.93rem; }
.ticks li i { flex: 0 0 auto; line-height: 1.5; }
.ticks li.yes i { color: #2fbf5b; }
.ticks li.no i { color: #e5484d; }
.ticks li.no { color: var(--muted); }
.plan .ticks + .btn-s { margin-top: auto; }
.plan-lite { text-align: center; align-items: center; }
.plan-lite .ico { font-size: 1.6rem; color: var(--accent); }
.plan-lite .price-sm { font-size: 1.15rem; margin: 6px 0 16px; }
.terms { margin: 0 auto; }
.terms li { margin-bottom: 8px; }
[data-theme="light"] .ticks li.yes i { color: #1e8a3a; }
[data-theme="light"] .ticks li.no i { color: #cc2f35; }

/* subscribe panel + footer strip */
.sub-box { display: grid; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 28px 22px; }
.sub-box h2 { margin: 0 0 6px; font-size: clamp(1.25rem, 4vw, 1.7rem); }
.sub-box p { margin: 0; color: var(--muted); }
@media (min-width: 900px) { .sub-box { grid-template-columns: 1fr 1fr; padding: 36px 44px; gap: 40px; } }
.foot-sub { display: grid; gap: 14px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.12); align-items: center; }
.foot-sub strong { display: block; color: #fff; }
.foot-sub span { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
@media (min-width: 900px) { .foot-sub { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* contact: map on the left on large screens (form stays first on phones) */
@media (min-width: 992px) {
  .split.map-left { grid-template-columns: 0.8fr 1.2fr; }
  .split.map-left .col-map { order: -1; }
}

/* article share buttons: no underline (prose links are underlined, buttons are not links) */
.prose a.btn-s, .prose a.btn-s:hover { text-decoration: none; }

/* 2026-11-15b: subscribe dialog, menu promo button */
.sub-dialog { border: 1px solid var(--border); border-radius: 20px; background: var(--card); color: var(--text); padding: 28px 22px 22px; width: min(92vw, 460px); }
.sub-dialog::backdrop { background: rgba(0, 0, 0, 0.65); }
.sub-dialog h2 { font-size: 1.35rem; margin: 0 28px 8px 0; }
.sub-dialog p { color: var(--muted); margin: 0 0 16px; font-size: 0.95rem; }
.sub-x { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; background: none; border: 0; color: var(--strong); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.menu-promo .promo-link { display: flex; flex-direction: column; gap: 8px; }
.menu-promo .btn-s { align-self: flex-start; }

/* chat: friendly links */
#chat-history .msg a.chat-link { display: inline-block; margin: 2px 0; padding: 2px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.85rem; text-decoration: none; word-break: normal; }
#chat-history .msg a.chat-link:hover { background: var(--accent-2); }

/* mega menu: dim line + caption above the quotation button */
.menu-promo .promo-sep { border: 0; border-top: 1px solid var(--border); opacity: 0.9; margin: 8px 0 2px; width: 100%; }
.menu-promo .promo-ask { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.4; }

/* ===== 2026-11-16: case-study switcher, overview card, tick lists, product pages ===== */
/* big green check-circle list (Best for card style) */
.tick-big { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.tick-big li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.12rem; line-height: 1.45; color: var(--strong); }
.tick-big li i { flex: 0 0 auto; font-size: 1.35rem; line-height: 1.2; color: #2fbf5b; }
[data-theme="light"] .tick-big li i { color: #1e8a3a; }
.tick-terms li { font-size: 1.02rem; }
.best-for { color: var(--muted); font-size: 1.05rem; margin: 18px 0; }
.best-for strong { color: var(--soft); }
.terms-card, .sub-page { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 26px 22px; }
@media (min-width: 768px) { .terms-card, .sub-page { padding: 34px 40px; } }
.sub-page h2 { margin: 0 0 8px; }
.sub-page .tick-big { margin-top: 18px; }

/* service / product overview card */
.ov-card { background: var(--card); border: 1px solid var(--border); border-radius: 24px; padding: 22px; }
@media (min-width: 768px) { .ov-card { padding: 36px 40px; } }
.ov-img { margin: -22px -22px 22px; border-radius: 24px 24px 0 0; overflow: hidden; max-height: 300px; }
@media (min-width: 768px) { .ov-img { margin: -36px -40px 30px; } }
.ov-img img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; display: block; }
.ov-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .ov-grid:not(.one) { grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; } }
.ov-list h3 { font-size: 1.15rem; margin: 0 0 16px; }
.prod-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.prod-head h2 { margin: 6px 0 0; }
.prod-thumb { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 18px; background: #fff; display: grid; place-items: center; overflow: hidden; padding: 8px; }
.prod-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 0; }
.prod-thumb i { font-size: 2.2rem; color: #27A849; }
.prod-card .pc-title { font-size: 1.1rem; margin: 4px 0 0; }
.prod-card .pc-best { color: var(--muted); font-size: 0.88rem; flex: 0; }
.prod-card .pc-best strong { color: var(--soft); }
.prod-card .btn-s { margin-top: auto; }

/* homepage case studies: client radio list + card (logo, discipline tags, story) */
.cs2 { position: relative; display: grid; gap: 18px; margin-top: 8px; }
.cs2-r { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cs2-list { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: thin; }
.cs2-list label { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); color: var(--strong); font-weight: 700; font-size: 0.95rem; cursor: pointer; white-space: nowrap; min-height: 46px; }
.cs2-list label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); flex: 0 0 auto; box-sizing: border-box; }
.cs2-list label:hover { border-color: var(--accent); }
.cs2-panels { min-width: 0; }
.cs2-panel { display: none; grid-template-columns: 1fr; gap: 26px; padding: 26px 22px; border-radius: 24px; color: #fff; border: 1px solid rgba(255, 255, 255, 0.12); background: linear-gradient(135deg, #07140d 0%, #0f2c1c 55%, #17472b 100%); }
.cs2-logo { display: inline-flex; background: #fff; border-radius: 12px; padding: 10px 16px; }
.cs2-logo img { max-height: 64px; max-width: 220px; width: auto; height: auto; object-fit: contain; border-radius: 0; }
.cs2-org { display: block; font-size: 1.6rem; font-weight: 800; letter-spacing: 0.02em; }
.cs2-tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.cs2-tags li { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); font-weight: 600; font-size: 0.9rem; }
.cs2-right h3 { color: #fff; font-size: clamp(1.3rem, 3.4vw, 1.75rem); line-height: 1.25; margin: 0 0 14px; }
.cs2-right p { color: rgba(255, 255, 255, 0.78); margin: 0 0 20px; }
.cs2-right .btn-s { color: #fff; }
@media (min-width: 900px) {
  .cs2 { grid-template-columns: 250px 1fr; gap: 28px; align-items: start; }
  .cs2-list { flex-direction: column; overflow: visible; padding: 0; }
  .cs2-panel { grid-template-columns: 1fr 1fr; gap: 48px; padding: 44px 44px; }
}
#cs2-0:checked ~ .cs2-panels .cs2-panel:nth-child(1) { display: grid; }
#cs2-0:checked ~ .cs2-list label:nth-child(1) { border-color: var(--accent); background: rgba(39, 168, 73, 0.14); }
#cs2-0:checked ~ .cs2-list label:nth-child(1)::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
#cs2-0:focus-visible ~ .cs2-list label:nth-child(1) { outline: 3px solid var(--accent); outline-offset: 2px; }
#cs2-1:checked ~ .cs2-panels .cs2-panel:nth-child(2) { display: grid; }
#cs2-1:checked ~ .cs2-list label:nth-child(2) { border-color: var(--accent); background: rgba(39, 168, 73, 0.14); }
#cs2-1:checked ~ .cs2-list label:nth-child(2)::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
#cs2-1:focus-visible ~ .cs2-list label:nth-child(2) { outline: 3px solid var(--accent); outline-offset: 2px; }
#cs2-2:checked ~ .cs2-panels .cs2-panel:nth-child(3) { display: grid; }
#cs2-2:checked ~ .cs2-list label:nth-child(3) { border-color: var(--accent); background: rgba(39, 168, 73, 0.14); }
#cs2-2:checked ~ .cs2-list label:nth-child(3)::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
#cs2-2:focus-visible ~ .cs2-list label:nth-child(3) { outline: 3px solid var(--accent); outline-offset: 2px; }
#cs2-3:checked ~ .cs2-panels .cs2-panel:nth-child(4) { display: grid; }
#cs2-3:checked ~ .cs2-list label:nth-child(4) { border-color: var(--accent); background: rgba(39, 168, 73, 0.14); }
#cs2-3:checked ~ .cs2-list label:nth-child(4)::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
#cs2-3:focus-visible ~ .cs2-list label:nth-child(4) { outline: 3px solid var(--accent); outline-offset: 2px; }
#cs2-4:checked ~ .cs2-panels .cs2-panel:nth-child(5) { display: grid; }
#cs2-4:checked ~ .cs2-list label:nth-child(5) { border-color: var(--accent); background: rgba(39, 168, 73, 0.14); }
#cs2-4:checked ~ .cs2-list label:nth-child(5)::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
#cs2-4:focus-visible ~ .cs2-list label:nth-child(5) { outline: 3px solid var(--accent); outline-offset: 2px; }
#cs2-5:checked ~ .cs2-panels .cs2-panel:nth-child(6) { display: grid; }
#cs2-5:checked ~ .cs2-list label:nth-child(6) { border-color: var(--accent); background: rgba(39, 168, 73, 0.14); }
#cs2-5:checked ~ .cs2-list label:nth-child(6)::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 45%, transparent 50%); }
#cs2-5:focus-visible ~ .cs2-list label:nth-child(6) { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ===== 2026-11-16b ===== */
/* homepage case-study card: no background, border only; text follows the theme */
.cs2-panel { background: none; border: 1px solid var(--accent); color: var(--text); }
.cs2-org, .cs2-right h3 { color: var(--strong); }
.cs2-right p { color: var(--muted); }
.cs2-right .btn-s { color: var(--accent-ink); }
.cs2-tags li { background: transparent; border: 1px solid var(--border); color: var(--strong); }
.cs2-logo { border: 1px solid var(--border); }
/* works cards in light mode: no border, no shadow */
[data-theme="light"] .work-card, [data-theme="light"] .work-card .thumb { border: 0; box-shadow: none; }
/* ===== 2026-11-17: centred tabs + works tiles (old portfolio look) ===== */
.pills.wrap { justify-content: center; }
.wk-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 480px) { .wk-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .wk-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
@media (min-width: 1150px) { .wk-grid { grid-template-columns: repeat(4, 1fr); } }
.wk-card { display: flex; flex-direction: column; background: var(--card); border-radius: 8px; overflow: hidden; color: inherit; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); transition: transform 0.2s, box-shadow 0.2s; }
.wk-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.2); }
.wk-card.hide { display: none; }
.wk-thumb { aspect-ratio: 1 / 1; background: var(--card-2); overflow: hidden; }
.wk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.wk-card:hover .wk-thumb img { transform: scale(1.04); }
.wk-body { padding: 16px 14px 18px; text-align: center; flex: 1; }
.wk-body h3 { font-size: 1.02rem; line-height: 1.3; margin: 0 0 6px; color: var(--strong); }
.wk-body p { margin: 0; color: var(--muted); font-size: 0.82rem; }
[data-theme="light"] .wk-card { box-shadow: 0 1px 3px rgba(16, 24, 20, 0.08); }
[data-theme="light"] .wk-card:hover { box-shadow: 0 8px 22px rgba(16, 24, 20, 0.14); }
/* 2026-11-17b: client name bold, project name small; footer brand column on the far right (desktop) */
.wk-body h3 { font-weight: 700; }
.wk-body p { font-weight: 400; }
@media (min-width: 992px) {
  .foot-grid { grid-template-columns: 1fr 1fr 1fr 1.25fr; }
  .foot-brand { order: 4; }
}

/* ===== 2026-11-17: Knowledge Hub compact rows ===== */
.hub-batch + .hub-batch { margin-top: 48px; }
.news-rows { display: grid; grid-template-columns: 1fr; gap: 22px 28px; margin-top: 40px; }
@media (min-width: 700px) { .news-rows { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .news-rows { grid-template-columns: repeat(3, 1fr); } }
.hub-batch > .grid + .news-rows { margin-top: 48px; }
.news-row { display: flex; gap: 16px; align-items: flex-start; color: inherit; }
.nr-thumb { flex: 0 0 96px; width: 96px; height: 96px; border-radius: 14px; overflow: hidden; background: var(--card-2); }
@media (min-width: 480px) { .nr-thumb { flex-basis: 120px; width: 120px; height: 120px; } }
.nr-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s; }
.news-row:hover .nr-thumb img { transform: scale(1.06); }
.nr-body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.nr-type { color: var(--accent); font-weight: 700; font-size: 0.85rem; }
.nr-body h3 { margin: 0; font-size: 0.85rem; font-weight: 500; line-height: 1.4; color: var(--strong); }
.news-row:hover h3 { color: var(--accent); }
.nr-meta { color: var(--muted); font-size: 0.85rem; }
/* ===== 2026-11-17: page loader + homepage reading progress (brand colours) ===== */
#siteLoader { position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; background: #1D1D1B; transition: opacity 0.4s ease, visibility 0.4s ease; }
#siteLoader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.no-loader #siteLoader, .no-js #siteLoader { display: none; }
/* even if JavaScript stalls, the overlay fades away by itself after 7 seconds */
#siteLoader { animation: sl-away 0.4s ease 7s forwards; }
@keyframes sl-away { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader { width: 50px; aspect-ratio: 1; display: grid; }
.loader::before, .loader::after {
  content: ""; grid-area: 1 / 1;
  --c: no-repeat radial-gradient(farthest-side, var(--accent, #27A849) 92%, #0000);
  background: var(--c) 50% 0, var(--c) 50% 100%, var(--c) 100% 50%, var(--c) 0 50%;
  background-size: 12px 12px;
  animation: sl-spin 1s infinite;
}
.loader::before {
  margin: 4px; background-size: 8px 8px; animation-timing-function: linear;
  --c: no-repeat radial-gradient(farthest-side, var(--accent-2, #4cc46d) 92%, #0000);
}
@keyframes sl-spin { 100% { transform: rotate(0.5turn); } }
@media (prefers-reduced-motion: reduce) { .loader::before, .loader::after { animation-duration: 3s; } }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 2000; pointer-events: none; }
.rp-bar { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }
.rp-tick { position: absolute; top: 8px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 0.95rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35); opacity: 0; transform: scale(0.4); transition: opacity 0.25s, transform 0.25s; }
.read-progress.done .rp-tick { opacity: 1; transform: scale(1); }
@media (max-width: 575px) { .read-progress { height: 3px; } }
@media (prefers-reduced-motion: reduce) { .rp-tick { transition: none; } }
@media print { .read-progress, #siteLoader { display: none !important; } }
/* 2026-11-17b: thinner reading-progress line */
.read-progress { height: 2px; }
.read-progress[hidden] { display: none; }
.rp-tick { top: 6px; right: 10px; width: 22px; height: 22px; font-size: 0.85rem; }
@media (max-width: 575px) { .read-progress { height: 2px; } }

/* 2026-11-17c: back button on detail pages */
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 0 0 14px; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.back-link:hover { color: var(--accent); }
.back-link i { transition: transform 0.2s; }
.back-link:hover i { transform: translateX(-3px); }

/* ===== 2026-11-17: Knowledge Hub search ===== */
.hub-search { position: relative; display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 0 auto 20px; padding: 6px 6px 6px 18px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; }
.hub-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(39, 168, 73, 0.2); }
.hub-search > i { color: var(--muted); flex: 0 0 auto; }
.hub-search input[type="search"] { flex: 1 1 auto; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--strong); font: inherit; min-height: 44px; }
.hub-search input[type="search"]::placeholder { color: var(--muted); }
.hub-search input[type="search"]::-webkit-search-cancel-button { cursor: pointer; }
.hub-search .btn-s { flex: 0 0 auto; }
.hub-count { text-align: center; margin: 0 0 22px; }
#hub-results[aria-busy="true"] { opacity: 0.55; transition: opacity 0.15s; }
/* ===== 2026-11-18: hero with deeper shadows and a soft bottom edge that merges into the page ===== */
:root { --page-bg: #1D1D1B; }
[data-theme="light"] { --page-bg: #ffffff; }
.hero { position: relative; isolation: isolate; padding-bottom: 120px; }
.hero-bg::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.18) 22%, transparent 40%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.92) 0%, rgba(8, 8, 8, 0.6) 42%, rgba(8, 8, 8, 0.12) 100%),
    radial-gradient(120% 95% at 14% 52%, rgba(0, 0, 0, 0.38) 0%, transparent 68%);
}
/* the image rises out of the page colour: no crease, the hero looks merged with the website */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(180px, 34vh, 320px); pointer-events: none; z-index: 0;
  background:
    linear-gradient(to top, var(--page-bg) 0%, transparent 100%) bottom / 100% 100% no-repeat,
    linear-gradient(to top, var(--page-bg) 0%, transparent 100%) bottom / 100% 55% no-repeat,
    linear-gradient(to top, var(--page-bg) 0%, transparent 100%) bottom / 100% 28% no-repeat;
}
@media (max-width: 575px) { .hero { padding-bottom: 90px; } .hero::after { height: 200px; } }
/* light mode: shorter fade so the hero buttons stay on the dark part */
[data-theme="light"] .hero { padding-bottom: 150px; }
[data-theme="light"] .hero::after { height: clamp(110px, 17vh, 160px); }
@media (max-width: 575px) { [data-theme="light"] .hero { padding-bottom: 120px; } [data-theme="light"] .hero::after { height: 120px; } }

/* ===== 2026-11-18b: original hero shadows restored (the soft bottom fade above is kept) ===== */
.hero-bg::after {
  background: linear-gradient(90deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.55) 50%, rgba(20, 20, 20, 0.1) 100%);
}

/* ===== dark + light hero image ===== */
.hero-bg.has-alt .hero-img-l { display: none; }
[data-theme="light"] .hero-bg.has-alt .hero-img-d { display: none; }
[data-theme="light"] .hero-bg.has-alt .hero-img-l { display: block; }
/* a light-mode picture is bright, so the hero text, menu and overlay switch to the light theme colours */
[data-theme="light"] body.has-hero.hero-lightimg :is(.hero, .site-header:not(.scrolled)) {
  --bg: #ffffff; --bg-2: #f3f6f4; --card: #ffffff; --card-2: #eef3f0; --border: #dce3df;
  --accent: #1b8a3a; --accent-2: #157230; --accent-ink: #ffffff; --gold: #1b8a3a;
  --text: #18201c; --muted: #5a6660; --strong: #0f1511; --soft: #34403a; --nav-text: #1f2a24;
  color: #18201c; color-scheme: light;
}
[data-theme="light"] body.hero-lightimg .hero-bg::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0.12) 100%);
}
[data-theme="light"] body.has-hero.hero-lightimg .site-header:not(.scrolled) .logo .logo-w { display: none; }
[data-theme="light"] body.has-hero.hero-lightimg .site-header:not(.scrolled) .logo .logo-d { display: block; }
[data-theme="light"] body.has-hero.hero-lightimg .site-header:not(.scrolled) .theme-toggle { border-color: var(--border); }/* light-mode hero picture: the menu strip fades from white instead of from black */
[data-theme="light"] body.has-hero.hero-lightimg .site-header:not(.scrolled) { background: linear-gradient(rgba(255, 255, 255, 0.78), transparent); border-bottom-color: transparent; }

/* light mode: dropdown / mega menus always use the light colours, even when the header sits on the dark hero (homepage top) */
[data-theme="light"] .menu-panel {
  --bg: #ffffff; --bg-2: #f3f6f4; --card: #ffffff; --card-2: #eef3f0; --border: #dce3df;
  --accent: #1b8a3a; --accent-2: #157230; --accent-ink: #ffffff; --gold: #1b8a3a;
  --text: #18201c; --muted: #5a6660; --strong: #0f1511; --soft: #34403a; --nav-text: #1f2a24;
  --menu-bg: #ffffff; --shadow-lg: 0 24px 60px rgba(16, 24, 20, 0.16); --shadow-md: 0 18px 50px rgba(16, 24, 20, 0.14);
  --tint-1: linear-gradient(135deg, #eaf6ee, #ffffff); --tint-2: linear-gradient(135deg, #e6f4ea, #f6fbf8); --tint-mid: rgba(0, 0, 0, 0.02);
  color: #18201c; color-scheme: light;
}

/* ===== 2026-11-18: homepage About: image height = text height; justified text ===== */
.about-split .about-media img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
@media (min-width: 992px) {
  .about-split { align-items: stretch; }
  .about-split .about-media { position: relative; min-height: 340px; }
  .about-split .about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
}
/* justified text (aligned to both margins). Only from tablet width up: on narrow phones it creates big gaps between words */
@media (min-width: 768px) {
  .about-text p, .about-text li { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
}/* footer icons take the footer background colour (cut-out look on the green squares) */
.site-footer .social a, .site-footer .social a:hover { color: var(--footer-bg); }

/* ===== 2026-11-19 ===== */
/* 1. no line between the top menu and the hero / banner (dark mode). The homepage line was the header's fade gradient tiling into its 1px border strip. */
.has-hero .site-header { background-repeat: no-repeat; background-origin: border-box; }
html:not([data-theme="light"]) .site-header { border-bottom-color: transparent; }

/* 2. case studies: smaller type on desktop */
@media (min-width: 900px) {
  .cs2-list label { font-size: 0.88rem; padding: 9px 16px; min-height: 42px; }
  .cs2-org { font-size: 1.3rem; }
  .cs2-tags { margin-top: 16px; }
  .cs2-tags li { font-size: 0.8rem; padding: 6px 13px; }
  .cs2-right h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); margin-bottom: 10px; }
  .cs2-right p { font-size: 0.92rem; }
}

/* 3. phones and tablets: tab rows wrap so every tab is on screen (no sideways scrolling) */
@media (max-width: 899px) {
  .pills, .cs2-list { flex-wrap: wrap; overflow: visible; justify-content: center; padding-bottom: 4px; }
  .pill { white-space: normal; text-align: center; padding: 9px 14px; }
  .cs2-list label { white-space: normal; text-align: left; padding: 9px 14px; min-height: 44px; font-size: 0.9rem; }
}
/* phones: tabs sit in tidy rows (two per row); the old "centre when overflowing" spacers are not needed once tabs wrap */
@media (max-width: 899px) { .has-hero .pills::before, .has-hero .pills::after, .pills::before, .pills::after { display: none; } }
@media (max-width: 575px) {
  .pills[data-tabs] .pill, .cs2-list label { flex: 1 1 calc(50% - 6px); justify-content: center; }
  .cs2-list label { justify-content: flex-start; }
}

/* ===== 2026-11-19: client logos are shown exactly as uploaded, no automatic white box behind them ===== */
.logo-tile { background: transparent; border-radius: 0; }
.cs2-logo { background: transparent; border: 0; padding: 0; border-radius: 0; }

/* clients strip: JavaScript slides it one logo at a time (continuous scrolling is only the no-JavaScript fallback) */
.marquee.stepping .marquee-track { animation: none; will-change: transform; }


/* ===== 2026-11-20: hero title + description in the jvrstudios.co.tz style - PHONES ONLY (up to 767px) ===== */
/* Text sits bottom-left, small bold title and small light description, held to about 80% of the row. Tablets and desktops keep the original large hero. */
@media (max-width: 767px) {
  .hero { align-items: flex-end; }
  .hero-copy { max-width: 100%; text-align: left; }
  .hero-copy h1,
  .banner h1 { font-size: 0.9rem; font-weight: 700; line-height: 1.2; margin: 0 0 0.4rem; max-width: 80%; color: var(--strong); }
  .hero-copy .hero-lead,
  .banner p { font-size: 0.7rem; font-weight: 400; line-height: 1.4; max-width: 80%; margin: 0; color: var(--soft); }
  .hero-copy .btn-row { margin-top: 18px; }
  .banner { display: flex; align-items: flex-end; min-height: 200px; padding: 84px 0 22px; text-align: left; }
  .banner > .container { width: 100%; }
}
/* chatbot button + header use a person icon; X logo (inline SVG) sizes like an icon */
#chat-toggle .bi-person-fill { font-size: 1.5rem; }
.chat-head .bi-person-fill { font-size: 1.3rem; }
.icon-x { width: 1em; height: 1em; display: block; fill: currentColor; }
.social a .icon-x { margin: auto; }

/* ===== 2026-11-20b: desktop/tablet hero title 60% smaller than before (3.6rem -> 1.44rem, scaled the same way on tablets); description set to a readable 0.85rem ===== */
@media (min-width: 768px) {
  .hero-copy h1,
  .banner h1 { font-size: clamp(0.8rem, 2.6vw, 1.94rem); }
  .hero-copy .hero-lead,
  .banner p { font-size: 0.85rem; }
}


/* ===== 2026-11-20c: desktop/tablet hero = full screen height, text low on the left at ~40% of the screen width; page banners = 50% of the screen height ===== */
@media (min-width: 768px) {
  .hero { min-height: 100vh; min-height: 100svh; align-items: flex-end; }
  .hero-copy { max-width: max(40vw, 380px); }
  .banner { display: flex; align-items: flex-end; min-height: 50vh; min-height: 50svh; padding: 120px 0 48px; text-align: left; }
  .banner > .container { width: 100%; }
  .banner h1,
  .banner p { max-width: max(40vw, 380px); }
}


/* ===== 2026-11-20d: chatbot header = name on top, small light subtitle below; phones hide the hero's second button ===== */
.chat-head .chat-title { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.chat-head .chat-name { font-size: 1rem; font-weight: 700; }
.chat-head .chat-sub { font-size: 0.72rem; font-weight: 400; opacity: 0.9; }
@media (max-width: 767px) { .hero-copy .btn-row .ghost { display: none; } }
