/* digitamatix site styles */

:root {
  --bg: #0b0c10;
  --bg-soft: #101218;
  --surface: #14161d;
  --surface-2: #1b1e27;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f5f7;
  --text-dim: #9aa1ad;
  --accent: #99e814;
  --accent-dark: #6aa50c;
  --accent-ink: #0b0c10;
  --light-bg: #f6f7f9;
  --light-surface: #ffffff;
  --light-text: #14161d;
  --light-dim: #5a6270;
  --radius: 14px;
  --header-h: 76px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Space Grotesk", "Inter", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
}

.section {
  padding: 96px 0;
}

.section--dark {
  background: var(--bg-soft);
}

.section-head {
  margin-bottom: 48px;
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

.section-sub {
  color: var(--text-dim);
  margin-top: 14px;
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.center {
  text-align: center;
  margin-top: 40px;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--accent {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--accent:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--outline {
  border: 1.5px solid currentColor;
  color: var(--text);
  background: transparent;
}

.btn--lg {
  padding: 15px 34px;
  font-size: 1rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--accent-dark);
  position: relative;
}

.text-link::after {
  content: "\2192";
  transition: transform 0.18s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.text-link--light {
  color: var(--accent);
}

/* header + mega menus */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 12, 16, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(11, 12, 16, 0.92);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark-img {
  width: 38px;
  height: auto;
  flex: 0 0 38px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.main-nav {
  flex: 1;
}

.nav-list {
  display: flex;
  gap: 6px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dim);
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-item:hover .nav-link,
.nav-item.is-open .nav-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.chev {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-item:hover .chev,
.nav-item.is-open .chev {
  transform: rotate(225deg) translateY(-1px);
}

/* dropdown panels, shown on hover (desktop) or tap (mobile, see main.js) */
.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  padding: 40px 4vw 48px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.nav-item:hover>.mega,
.nav-item.is-open>.mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* set by main.js right after a menu link is clicked - keeps the panel
   closed even though the cursor is still hovering the nav item */
.nav-item.is-dismissed>.mega {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  max-width: 1240px;
  margin-inline: auto;
}

.mega-grid--two {
  grid-template-columns: 1fr 1fr;
  max-width: 820px;
  margin-inline: auto;
}

.mega-grid--industries {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* services menu: category list on the left, item grid on the right */
.nav-item:has(.mega-tabs)>.mega {
  padding: 0;
  overflow: hidden;
}

.mega-tabs {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  max-width: 1240px;
  margin-inline: auto;
  min-height: 420px;
}

.mega-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 28px 18px 28px 4vw;
  border-right: 1px solid var(--line);
}

.mega-tab {
  text-align: left;
  padding: 16px 20px;
  border-radius: 12px;
  transition: background 0.18s ease;
}

.mega-tab strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.3;
}

.mega-tab span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 5px;
  line-height: 1.45;
}

.mega-tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.05);
}

.mega-tab.is-active {
  background: #fff;
}

.mega-tab.is-active strong {
  color: var(--light-text);
}

.mega-tab.is-active span {
  color: var(--light-dim);
}

.mega-tabs-panels {
  padding: 0;
  min-height: 420px;
}

.mega-panel {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  height: 100%;
  align-content: start;
}

.mega-panel.is-active {
  display: grid;
}

.mega-panel-title {
  display: none;
}

.mega-item {
  padding: 26px 24px;

  color: var(--text);
  transition: background 0.15s ease;
}

.mega-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mega-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 16px;
  background: rgba(61, 143, 212, 0.18);
  color: #6eb5e8;
}

.mega-ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* brand-tinted icon boxes for open source platforms */
.mega-ico--wordpress {
  background: rgba(33, 117, 155, 0.22);
  color: #5eb3d9;
}

.mega-ico--odoo {
  background: rgba(113, 75, 103, 0.25);
  color: #c49ab8;
}

.mega-ico--erpnext {
  background: rgba(0, 133, 107, 0.22);
  color: #4ec9a8;
}

.mega-ico--suitecrm {
  background: rgba(230, 126, 34, 0.2);
  color: #f0a060;
}

.mega-ico--moodle {
  background: rgba(249, 128, 18, 0.2);
  color: #f5a855;
}

.mega-ico--nextcloud {
  background: rgba(0, 130, 201, 0.22);
  color: #5eb8e8;
}

.mega-item strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}

.mega-item>span:not(.mega-ico) {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 6px;
  line-height: 1.5;
}

.mega-head {
  max-width: 1240px;
  margin: 0 auto 28px;
}

.mega-head h4 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.mega-head p {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

.mega-head .text-link {
  font-size: 0.9rem;
}

.mega-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 8px;
}

.mega-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.mega-col ul {
  display: grid;
  gap: 4px;
}

.mega-col ul a,
.ind-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.mega-col ul a:hover,
.ind-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mega-col ul a strong,
.ind-link strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.mega-col ul a span,
.ind-link span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.mega-stats {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 8px;
}

.mega-stats em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
}

.mega-stats span {
  color: var(--text-dim);
  font-size: 0.88rem;
}

/* margin-left auto keeps the hamburger on the right edge on mobile,
   where the nav is a fixed drawer and no longer fills the middle */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* hero slider */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

/* each slide gets its own gradient wash instead of photography */
.hero-slide[data-theme="overview"] {
  background:
    radial-gradient(1000px 600px at 80% 20%, rgba(153, 232, 20, 0.16), transparent 60%),
    radial-gradient(800px 500px at 15% 80%, rgba(40, 90, 255, 0.18), transparent 60%),
    linear-gradient(180deg, #0b0c10 0%, #0e1117 100%);
}

.hero-slide[data-theme="dataai"] {
  background:
    radial-gradient(900px 600px at 75% 30%, rgba(0, 200, 255, 0.18), transparent 60%),
    radial-gradient(700px 500px at 20% 75%, rgba(140, 60, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #0b0c10 0%, #0d1020 100%);
}

.hero-slide[data-theme="fintech"] {
  background:
    radial-gradient(900px 600px at 70% 25%, rgba(255, 176, 32, 0.15), transparent 60%),
    radial-gradient(700px 500px at 25% 80%, rgba(153, 232, 20, 0.12), transparent 60%),
    linear-gradient(180deg, #0b0c10 0%, #12100c 100%);
}

.hero-slide[data-theme="healthcare"] {
  background:
    radial-gradient(900px 600px at 75% 25%, rgba(64, 224, 170, 0.16), transparent 60%),
    radial-gradient(700px 500px at 20% 80%, rgba(30, 120, 255, 0.14), transparent 60%),
    linear-gradient(180deg, #0b0c10 0%, #0c1214 100%);
}

.hero-content {
  position: relative;
  max-width: 780px;
}

.hero-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-sub {
  margin-top: 22px;
  font-size: 1.12rem;
  color: var(--text-dim);
  max-width: 620px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-awards {
  display: flex;
  gap: 10px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.award-chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
}

.hero-tags li {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.hero-controls {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 34px;
  flex-wrap: wrap;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 44px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
  position: relative;
}

.hero-dots button.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  animation: dotFill 7s linear forwards;
}

@keyframes dotFill {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.hero-consult {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* solution finder (light section) */
.quiz {
  background: var(--light-bg);
  color: var(--light-text);
}

.quiz .eyebrow {
  color: var(--accent-dark);
}

.quiz .section-sub {
  color: var(--light-dim);
}

.quiz-step {
  margin-bottom: 40px;
  transition: opacity 0.3s ease;
}

.quiz-step h3 {
  font-size: 1.15rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qnum {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  background: var(--light-text);
  color: #fff;
  border-radius: 50%;
  font-size: 0.9rem;
}

.quiz-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quiz-options button {
  padding: 11px 22px;
  border: 1.5px solid #d4d8df;
  border-radius: 999px;
  background: var(--light-surface);
  font-weight: 500;
  font-size: 0.92rem;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.quiz-options button:hover {
  border-color: var(--light-text);
  transform: translateY(-1px);
}

.quiz-options button.is-selected {
  background: var(--light-text);
  color: #fff;
  border-color: var(--light-text);
}

/* extra .quiz ancestor so this outweighs .reveal.is-visible below */
.quiz .quiz-step.is-locked {
  opacity: 0.38;
  pointer-events: none;
}

.quiz-hint {
  margin-top: 12px;
  font-size: 0.83rem;
  color: var(--light-dim);
  display: none;
}

.quiz-step.is-locked .quiz-hint {
  display: block;
}

.quiz-results h3 {
  font-size: 1.3rem;
  margin-bottom: 22px;
}

.quiz-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.quiz-card {
  background: var(--light-surface);
  border: 1px solid #e3e6eb;
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quiz-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(20, 22, 29, 0.1);
}

.quiz-card .cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}

.quiz-card h4 {
  font-size: 1.08rem;
}

.quiz-card p {
  font-size: 0.9rem;
  color: var(--light-dim);
  flex: 1;
}

.quiz .btn--outline {
  color: var(--light-text);
}

/* case study carousel */
.cases-slider {
  overflow: hidden;
}

.cases-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.case-card {
  flex: 0 0 min(400px, 86vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  border-color: rgba(153, 232, 20, 0.5);
}

.case-media {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  gap: 6px;
}

.case-card[data-hue="150"] .case-media {
  background: linear-gradient(135deg, rgba(153, 232, 20, 0.24), rgba(153, 232, 20, 0.05)), var(--surface-2);
}

.case-card[data-hue="210"] .case-media {
  background: linear-gradient(135deg, rgba(50, 140, 255, 0.26), rgba(50, 140, 255, 0.05)), var(--surface-2);
}

.case-card[data-hue="30"] .case-media {
  background: linear-gradient(135deg, rgba(255, 176, 32, 0.26), rgba(255, 176, 32, 0.05)), var(--surface-2);
}

.case-card[data-hue="280"] .case-media {
  background: linear-gradient(135deg, rgba(160, 80, 255, 0.26), rgba(160, 80, 255, 0.05)), var(--surface-2);
}

.case-card[data-hue="0"] .case-media {
  background: linear-gradient(135deg, rgba(255, 80, 80, 0.24), rgba(255, 80, 80, 0.05)), var(--surface-2);
}

.case-stat {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.case-stat-label {
  color: var(--text-dim);
  font-size: 0.9rem;
  max-width: 260px;
}

.case-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.case-body h3 {
  font-size: 1.12rem;
  font-weight: 600;
  flex: 1;
}

.slider-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
}

.slider-nav .text-link {
  margin-left: auto;
}

/* company stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  padding: 34px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat em {
  font-style: normal;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1.1;
}

.stat span {
  color: var(--text-dim);
  font-size: 0.95rem;
  display: block;
  margin-top: 8px;
}

/* industries accordion */
.industry-list {
  border-top: 1px solid var(--line);
}

.industry-row {
  border-bottom: 1px solid var(--line);
}

.industry-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4px;
  text-align: left;
}

.industry-toggle span {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}

.industry-row:hover .industry-toggle span,
.industry-row.is-open .industry-toggle span {
  color: var(--text);
  transform: translateX(8px);
}

.plus {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.plus::before,
.plus::after {
  content: "";
  position: absolute;
  background: var(--text-dim);
  transition: transform 0.25s ease, background 0.25s ease;
}

.plus::before {
  inset: 8px 0;
}

.plus::after {
  inset: 0 8px;
}

.industry-row.is-open .plus::after {
  transform: rotate(90deg);
}

.industry-row.is-open .plus::before,
.industry-row.is-open .plus::after {
  background: var(--accent);
}

.industry-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.industry-row.is-open .industry-panel {
  max-height: 260px;
}

.industry-panel p {
  color: var(--text-dim);
  max-width: 640px;
  padding: 0 4px;
}

.industry-panel .text-link {
  margin: 14px 4px 26px;
}

/* insights grid */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}

.insight-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.insight-card:hover {
  transform: translateY(-5px);
  border-color: rgba(153, 232, 20, 0.45);
}

.tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid rgba(153, 232, 20, 0.4);
  border-radius: 999px;
  padding: 4px 12px;
}

.insight-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  flex: 1;
}

.insight-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}

.insight-author strong {
  display: block;
  font-size: 0.92rem;
}

.insight-author span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.insight-card .text-link {
  color: var(--accent);
}

/* testimonials */
.quote-slider {
  position: relative;
  max-width: 860px;
  min-height: 260px;
}

.quote {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s;
}

.quote.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.5;
}

.quote footer {
  margin-top: 26px;
}

.quote footer strong {
  display: block;
  font-size: 1rem;
}

.quote footer span {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.quote-dots {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.quote-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}

.quote-dots button.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* contact section */
.contact {
  background: var(--light-bg);
  color: var(--light-text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.contact-copy>p {
  color: var(--light-dim);
  margin-top: 16px;
}

.contact-office {
  margin-top: 44px;
}

.contact-office .eyebrow {
  color: var(--accent-dark);
}

.contact-office p:last-of-type {
  color: var(--light-dim);
  margin-bottom: 14px;
}

.contact-details {
  display: grid;
  gap: 6px;
}

.contact-details a {
  font-weight: 600;
  color: var(--light-text);
  transition: color 0.15s ease;
}

.contact-details a:hover {
  color: var(--accent-dark);
}

.contact-form {
  background: var(--light-surface);
  border: 1px solid #e3e6eb;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 60px rgba(20, 22, 29, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

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

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--light-dim);
}

.field input,
.field textarea {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid #d4d8df;
  border-radius: 10px;
  background: #fbfcfd;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(153, 232, 20, 0.2);
}

.field input.is-invalid,
.field textarea.is-invalid {
  border-color: #e0524d;
}

.country-combobox {
  position: relative;
}

.country-combobox__flag {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.15rem;
  line-height: 1;
  pointer-events: none;
  z-index: 2;
}

.country-combobox input[name="country"] {
  width: 100%;
  padding-right: 42px;
  background-color: #fbfcfd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6270' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.country-combobox:has(.country-combobox__flag:not([hidden])) input[name="country"] {
  padding-left: 44px;
}

.country-combobox.is-open input[name="country"] {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(153, 232, 20, 0.2);
  background-color: #fff;
}

.country-combobox__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1.5px solid #d4d8df;
  border-radius: 12px;
  box-shadow:
    0 4px 6px rgba(20, 22, 29, 0.04),
    0 18px 44px rgba(20, 22, 29, 0.14);
  z-index: 40;
  scrollbar-width: thin;
  scrollbar-color: #c8ced8 transparent;
}

.country-combobox__list::-webkit-scrollbar {
  width: 8px;
}

.country-combobox__list::-webkit-scrollbar-thumb {
  background: #c8ced8;
  border-radius: 999px;
  border: 2px solid #fff;
}

.country-combobox__hint {
  padding: 6px 12px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9aa1ad;
  pointer-events: none;
  user-select: none;
}

.country-combobox__empty {
  padding: 14px 12px;
  font-size: 0.88rem;
  color: var(--light-dim);
  text-align: center;
}

.country-combobox__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--light-text);
  transition: background-color 0.12s ease, box-shadow 0.12s ease;
}

.country-combobox__option:hover,
.country-combobox__option.is-active {
  background: rgba(153, 232, 20, 0.16);
  box-shadow: inset 3px 0 0 var(--accent-dark);
}

.country-combobox__option-flag {
  flex: 0 0 1.5rem;
  font-size: 1.15rem;
  line-height: 1;
  text-align: center;
}

.country-combobox__option-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-combobox__option-code {
  flex: 0 0 auto;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9aa1ad;
  background: #f3f5f8;
  border: 1px solid #e3e6eb;
  border-radius: 6px;
  padding: 2px 7px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--light-dim);
  cursor: pointer;
}

.checkbox input {
  accent-color: var(--accent-dark);
  width: 16px;
  height: 16px;
}

.fine-print {
  font-size: 0.76rem;
  color: #9aa1ad;
}

.form-success {
  color: #2c8a3d;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-error {
  color: #c0392b;
  font-weight: 600;
  font-size: 0.92rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact--page {
  margin-top: 0;
}

.contact-form .fine-print a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.char-count {
  margin: 0;
  font-size: 0.75rem;
  color: #9aa1ad;
  text-align: right;
}

.char-count.is-near-limit {
  color: #b45309;
}

.captcha-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.captcha-row input {
  flex: 1;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid #d4d8df;
  border-radius: 10px;
  background: #fbfcfd;
}

.captcha-row input:focus {
  outline: none;
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(153, 232, 20, 0.2);
}

.captcha-row input.is-invalid {
  border-color: #e0524d;
}

.captcha-refresh {
  min-width: 48px;
  padding: 0 14px;
  font-size: 1.15rem;
  line-height: 1;
}

.btn--ghost {
  background: #fff;
  border: 1.5px solid #d4d8df;
  border-radius: 10px;
  color: var(--light-dim);
  cursor: pointer;
}

.btn--ghost:hover {
  border-color: var(--accent-dark);
  color: var(--ink);
}

.recaptcha-note {
  margin: 0;
  font-size: 0.78rem;
  color: #9aa1ad;
}

/* footer */
.site-footer {
  background: #07080b;
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 1.3fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-col h5 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-family: var(--font-display);
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col ul a {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.footer-col ul a:hover {
  color: var(--text);
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 16px;
}

.footer-contact {
  font-style: normal;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-top: 16px;
}

.footer-contact a {
  color: var(--text);
}

.footer-contact a:hover {
  color: var(--accent);
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dim);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  flex-wrap: wrap;
}

.footer-legal {
  display: flex;
  gap: 22px;
}

.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-legal a:hover {
  color: var(--text);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* breakpoints */
@media (max-width: 1024px) {
  .mega-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-grid--industries {
    grid-template-columns: repeat(2, 1fr);
  }

  .mega-tabs {
    grid-template-columns: 260px 1fr;
    min-height: 380px;
  }

  .mega-tabs-panels {
    min-height: 380px;
  }

  .mega-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: span 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 860px) {
  .hamburger {
    display: flex;
  }

  /* the header's backdrop-filter turns it into the containing block for
     fixed children, so the drawer has to be absolute against the header */
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-h));
    background: var(--bg);
    overflow-y: auto;
    padding: 20px 4vw 60px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 18px 4px;
    font-size: 1.05rem;
  }

  .mega {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    padding: 0 0 18px;
    max-height: none;
    overflow: visible;
    display: none;
  }

  .nav-item.is-open>.mega {
    display: block;
  }

  .nav-item:hover>.mega {
    opacity: 1;
  }

  .mega-grid,
  .mega-grid--two,
  .mega-grid--industries {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  /* no hover on touch - stack every category under its heading */
  .mega-tabs {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mega-tabs-nav {
    display: none;
  }

  .mega-tabs-panels {
    background: transparent;
    min-height: 0;
  }

  .mega-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 18px;
    border: 0;
  }

  .mega-panel-title {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin: 14px 0 8px;
    grid-column: 1 / -1;
  }

  .mega-item {
    padding: 10px 12px;
    border: 0;
    border-radius: 10px;
    color: var(--text);
  }

  .mega-item:hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .mega-item strong {
    color: var(--text);
  }

  .mega-item>span:not(.mega-ico) {
    color: var(--text-dim);
    margin-top: 2px;
  }

  .mega-ico {
    display: none;
  }

  .header-actions .btn {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .stat {
    padding: 24px 20px;
  }

  .hero-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Inner pages */
.inner-page {
  padding-top: var(--header-h);
}

.page-hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(153, 232, 20, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero__layout {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-hero--with-media .page-hero__layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
}

.page-hero__inner {
  max-width: 760px;
}

.page-hero__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.page-hero__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 14px;
}

.page-hero__intro {
  color: var(--text-dim);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 640px;
  margin-bottom: 22px;
}

.page-body {
  padding: 64px 0 88px;
}

.page-body__inner {
  max-width: 1040px;
}

.page-block + .page-block {
  margin-top: 48px;
}

.page-block h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 18px;
}

.page-prose {
  color: var(--text-dim);
  font-size: 1.02rem;
  line-height: 1.75;
}

.page-prose p + p {
  margin-top: 14px;
}

.page-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.page-split--right {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 420px);
}

.page-split--left {
  grid-template-columns: minmax(240px, 420px) minmax(0, 1fr);
}

.page-split--left .page-split__media {
  order: -1;
}

.page-split__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-split__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.page-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.page-figure figcaption {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--text-dim);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.page-card--media {
  padding: 0;
  overflow: hidden;
}

.page-card--media h3,
.page-card--media p {
  padding-inline: 20px;
}

.page-card--media p {
  padding-bottom: 20px;
}

.page-card--media h3 {
  padding-top: 16px;
}

.page-card__thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.page-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-card:hover {
  border-color: rgba(153, 232, 20, 0.35);
  transform: translateY(-2px);
}

.page-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.page-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.page-card p {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
}

.page-list {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-dim);
}

.page-list li + li {
  margin-top: 8px;
}

.page-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.page-stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.page-stat em {
  display: block;
  font-style: normal;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.page-stat span {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.page-cta-bar {
  margin-top: 56px;
  padding: 28px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(153, 232, 20, 0.25);
  background: rgba(153, 232, 20, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.page-cta-bar h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.page-cta-bar p {
  color: var(--text-dim);
  font-size: 0.92rem;
  max-width: 480px;
}

@media (max-width: 900px) {
  .page-hero--with-media .page-hero__layout,
  .page-split,
  .page-split--left,
  .page-split--right {
    grid-template-columns: 1fr;
  }

  .page-split--left .page-split__media {
    order: 0;
  }
}

@media (max-width: 720px) {
  .page-hero {
    padding: 40px 0 36px;
  }

  .page-body {
    padding: 48px 0 64px;
  }

  .page-cta-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}