:root {
  --ink: #1d1d1f;
  --ink-soft: #3f3f44;
  --muted: #6e6e73;
  --line: #d9d9de;
  --surface: #ffffff;
  --surface-soft: #f5f5f7;
  --primary: #247d5b;
  --primary-deep: #195f44;
  --accent: #6c9a7b;
  --accent-soft: #eaf4ee;
  --sky: #f0f1f2;
  --shadow-sm: 0 8px 26px rgba(29, 29, 31, 0.07);
  --shadow-lg: 0 28px 80px rgba(29, 29, 31, 0.13);
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1180px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #ffffff;
  color: var(--ink);
  font-family: Inter, Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(46, 158, 114, 0.28);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 15px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
}

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

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 2px;
  border-radius: 99px;
  background: var(--accent);
  content: "";
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  font-weight: 780;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 760;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

p {
  color: var(--muted);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.75;
}

.gradient-text {
  background: linear-gradient(115deg, #323234 8%, var(--primary) 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.site-header.scrolled {
  border-color: rgba(217, 217, 222, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 35px rgba(29, 29, 31, 0.06);
}

.nav-shell {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.brand-mark {
  display: block;
  width: 132px;
  height: 60px;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 9px 12px;
  border-radius: 10px;
  color: #545459;
  font-size: 0.84rem;
  font-weight: 650;
  transition: color 180ms ease, background 180ms ease;
}

.nav-link:hover {
  background: var(--sky);
  color: var(--primary-deep);
}

.nav-link.active {
  color: var(--primary-deep);
}

.nav-link.active::after {
  position: absolute;
  right: 12px;
  bottom: 3px;
  left: 12px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  content: "";
}

.nav-cta {
  margin-left: 6px;
  padding: 10px 17px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 720;
  box-shadow: 0 8px 18px rgba(29, 29, 31, 0.14);
  transition: transform 180ms ease, background 180ms ease;
}

.nav-cta:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}

.menu-toggle svg {
  width: 22px;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: min(900px, 100svh);
  padding: calc(var(--header-height) + 76px) 0 88px;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 8%, rgba(46, 158, 114, 0.08), transparent 25%),
    radial-gradient(circle at 68% 52%, rgba(29, 29, 31, 0.045), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
}

.hero::before,
.page-hero::before {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image: linear-gradient(rgba(29, 29, 31, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 29, 31, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.hero-copy {
  max-width: 630px;
}

.hero-copy .lead {
  max-width: 570px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 38px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 720;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(46, 158, 114, 0.2);
}

.btn-primary:hover {
  background: var(--primary-deep);
  box-shadow: 0 18px 36px rgba(46, 158, 114, 0.26);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: #b9cec1;
  background: #fff;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px 18px;
  color: var(--muted);
  font-size: 0.81rem;
  font-weight: 600;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.trust-row span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 158, 114, 0.1);
  content: "";
}

.hero-visual {
  position: relative;
  padding: 28px 0 38px;
}

.dashboard-window {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(211, 211, 216, 0.95);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
}

.window-bar {
  display: flex;
  height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 15px;
  border-bottom: 1px solid #e5e5e8;
  background: #f7f7f8;
}

.window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c9ce;
}

.window-bar i:first-child { background: #ff766e; }
.window-bar i:nth-child(2) { background: #ffcb5b; }
.window-bar i:nth-child(3) { background: #43cf91; }

.dashboard-window img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
}

.metric-card {
  position: absolute;
  z-index: 3;
  min-width: 158px;
  padding: 14px 16px;
  border: 1px solid rgba(218, 218, 222, 0.96);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(29, 29, 31, 0.13);
  backdrop-filter: blur(14px);
}

.metric-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.1;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.metric-card.one {
  right: -28px;
  bottom: 0;
}

.metric-card.two {
  top: 0;
  left: -38px;
}

.metric-up {
  color: var(--accent) !important;
}

.orb {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(1px);
}

.orb.one {
  top: 4%;
  right: -8%;
  width: 210px;
  height: 210px;
  background: linear-gradient(135deg, rgba(46, 158, 114, 0.16), rgba(29, 29, 31, 0.045));
}

.orb.two {
  bottom: 0;
  left: -9%;
  width: 160px;
  height: 160px;
  background: rgba(29, 29, 31, 0.055);
}

.stat-strip {
  position: relative;
  z-index: 2;
  margin-top: -36px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  padding: 26px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--line);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.stat-item span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 620;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card:hover {
  border-color: #c9d7ce;
  box-shadow: 0 22px 55px rgba(29, 29, 31, 0.1);
  transform: translateY(-5px);
}

.card::after {
  position: absolute;
  top: -70px;
  right: -70px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.035);
  content: "";
}

.card-number,
.icon-box {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 23px;
  place-items: center;
  border-radius: 14px;
  background: var(--sky);
  color: var(--primary-deep);
  font-size: 0.78rem;
  font-weight: 780;
}

.icon-box svg {
  width: 23px;
  height: 23px;
}

.card p:last-child {
  margin-bottom: 0;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--primary-deep);
  font-size: 0.86rem;
  font-weight: 720;
}

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

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

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(44px, 8vw, 105px);
}

.feature-list {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  font-weight: 620;
}

.feature-list li::before {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary-deep);
  content: "\2713";
  font-size: 0.7rem;
  font-weight: 800;
}

.insight-panel {
  position: relative;
  min-height: 430px;
  padding: 34px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #1d1d1f, #3a3a3d);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.insight-panel::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 5%, rgba(46, 158, 114, 0.25), transparent 35%);
  content: "";
}

.insight-panel > * {
  position: relative;
  z-index: 1;
}

.insight-panel h3,
.insight-panel p {
  color: #fff;
}

.mini-chart {
  display: flex;
  height: 190px;
  align-items: flex-end;
  gap: 14px;
  margin-top: 45px;
}

.mini-chart span {
  flex: 1;
  min-height: 30px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #c9c9ce, #737378);
  box-shadow: 0 0 24px rgba(29, 29, 31, 0.08);
}

.mini-chart span:nth-child(1) { height: 38%; }
.mini-chart span:nth-child(2) { height: 54%; }
.mini-chart span:nth-child(3) { height: 47%; }
.mini-chart span:nth-child(4) { height: 75%; }
.mini-chart span:nth-child(5) { height: 91%; background: linear-gradient(180deg, #83b69a, var(--primary)); }

.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 80px) 0 84px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 10%, rgba(46, 158, 114, 0.075), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
  text-align: center;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.page-hero h1 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

.page-hero .lead {
  max-width: 720px;
  margin: 0 auto;
}

.about-story {
  max-width: 600px;
}

.value-stack {
  display: grid;
  gap: 16px;
}

.value-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.value-card .icon-box {
  margin: 0;
}

.value-card h3 {
  margin-bottom: 6px;
}

.value-card p {
  margin: 0;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.industry-card {
  min-height: 240px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.industry-card:hover {
  border-color: #c9d7ce;
  box-shadow: 0 18px 46px rgba(29, 29, 31, 0.1);
  transform: translateY(-5px);
}

.industry-card .icon-box {
  background: linear-gradient(145deg, var(--sky), var(--accent-soft));
}

.industry-card p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.wide-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding: clamp(30px, 5vw, 52px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, #1d1d1f, #3a3a3d);
}

.wide-callout h2,
.wide-callout p {
  color: #fff;
}

.wide-callout h2 {
  margin-bottom: 8px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.wide-callout p {
  margin-bottom: 0;
  opacity: 0.72;
}

.wide-callout .btn {
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
}

.service-card {
  display: flex;
  min-height: 325px;
  flex-direction: column;
}

.service-card .text-link {
  margin-top: auto;
  padding-top: 18px;
}

.case-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

.industry-tabs,
.case-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.industry-tabs {
  padding: 13px;
}

.industry-tabs ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.industry-btn {
  width: 100%;
  padding: 13px 15px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink-soft);
  text-align: left;
  font-size: 0.88rem;
  font-weight: 650;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.industry-btn:hover {
  background: var(--surface-soft);
  color: var(--primary-deep);
}

.industry-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 23px rgba(46, 158, 114, 0.18);
}

.case-panel {
  min-height: 460px;
  padding: clamp(28px, 5vw, 54px);
}

.case-kicker {
  margin-bottom: 13px;
  color: var(--primary-deep);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.case-panel h3 {
  margin-bottom: 15px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.case-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.case-highlights li {
  padding: 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  padding: 22px;
  place-items: center;
  background: rgba(29, 29, 31, 0.62);
  backdrop-filter: blur(8px);
}

.modal.hidden {
  display: none;
}

.modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: calc(100dvh - 36px);
  padding: clamp(28px, 5vw, 50px);
  overflow-y: auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.25);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.15rem;
}

.modal-card h3 {
  padding-right: 44px;
  font-size: 1.8rem;
}

.modal-card strong {
  color: var(--ink);
}

.modal-card ul {
  padding-left: 22px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: start;
  gap: 24px;
}

.contact-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(17, 168, 135, 0.1), transparent 26%),
    radial-gradient(circle at 12% 78%, rgba(21, 107, 245, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
}

.form-card,
.contact-card {
  padding: clamp(28px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.form-card h2,
.contact-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid #d7d7dc;
  border-radius: 12px;
  background: #fafafa;
  color: var(--ink);
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(46, 158, 114, 0.1);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  margin-top: 20px;
  border: 0;
}

.form-card .btn:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--primary-deep);
  font-size: 0.82rem;
}

.form-status.error {
  background: #fff0f0;
  color: #a12626;
}

.contact-list {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-list small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list span {
  color: var(--ink);
  font-weight: 680;
}

.compliance-note {
  margin: 24px 0 0;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-soft);
  font-size: 0.82rem;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-row p {
  margin: 0;
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 650;
}

@media (max-width: 1040px) {
  .desktop-nav {
    gap: 0;
  }

  .nav-link {
    padding-inline: 9px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-copy {
    max-width: 760px;
    text-align: center;
  }

  .hero-copy .lead {
    margin-inline: auto;
  }

  .hero-actions,
  .trust-row {
    justify-content: center;
  }

  .hero-visual {
    width: min(760px, 92%);
    margin: 0 auto;
  }

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

@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 16px;
    left: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav .nav-link {
    padding: 12px 14px;
  }

  .mobile-nav .nav-link.active::after {
    display: none;
  }

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

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

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .insight-panel {
    min-height: 390px;
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .industry-tabs ul {
    display: flex;
    padding-bottom: 3px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .industry-tabs li {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .industry-btn {
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .brand-mark {
    width: 112px;
    height: 52px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 48px);
  }

  .hero-grid {
    gap: 35px;
  }

  h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    padding: 12px 0 25px;
  }

  .dashboard-window {
    border-radius: 17px;
    transform: none;
  }

  .window-bar {
    height: 29px;
  }

  .metric-card {
    min-width: 125px;
    padding: 10px 12px;
  }

  .metric-card strong {
    font-size: 1.12rem;
  }

  .metric-card.one {
    right: 6px;
    bottom: -5px;
  }

  .metric-card.two {
    top: -14px;
    left: 6px;
  }

  .stat-strip {
    margin-top: -23px;
  }

  .stat-item {
    padding: 20px 16px;
  }

  .card-grid,
  .industry-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .industry-card {
    min-height: auto;
    padding: 24px;
  }

  .service-card {
    min-height: 290px;
  }

  .wide-callout {
    align-items: stretch;
    flex-direction: column;
  }

  .wide-callout .btn {
    width: 100%;
  }

  .case-panel {
    min-height: 400px;
  }

  .case-highlights {
    grid-template-columns: 1fr;
  }

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

  .field.full {
    grid-column: auto;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

/* Progressive, scroll-led presentation */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 3000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  box-shadow: 0 0 14px rgba(46, 158, 114, 0.24);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  pointer-events: none;
}

.motion-enabled .reveal {
  opacity: 0;
  transform: translate3d(0, 44px, 0) scale(0.985);
  transition:
    opacity 800ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-enabled .reveal.reveal-left {
  transform: translate3d(-42px, 20px, 0) scale(0.985);
}

.motion-enabled .reveal.reveal-right {
  transform: translate3d(42px, 20px, 0) scale(0.985);
}

.motion-enabled .reveal.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.motion-enabled .hero-visual {
  transform: translate3d(0, var(--hero-shift, 0px), 0);
  transition: transform 80ms linear;
}

.section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

/* Legacy booking layout retained for static content variants */
.booking-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, rgba(46, 158, 114, 0.065), transparent 28%),
    linear-gradient(180deg, #fafafa 0%, #f1f1f3 100%);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.75fr) minmax(510px, 1.25fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
}

.booking-copy .lead {
  margin-bottom: 24px;
}

.booking-fallback {
  margin-top: 30px;
}

.booking-panel {
  overflow: hidden;
  border: 1px solid rgba(211, 211, 216, 0.94);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(29, 29, 31, 0.12);
}

.booking-panel-bar {
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: #f7f7f8;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 680;
}

.booking-panel-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.booking-panel-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 158, 114, 0.1);
}

.booking-panel iframe {
  display: block;
  width: 100%;
  height: 690px;
  border: 0;
  background: #fff;
}

button.text-link {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.booking-modal-card {
  width: min(980px, 100%);
  max-height: 92vh;
  padding: 28px;
}

.booking-modal-card > h3 {
  margin-bottom: 20px;
}

.booking-modal-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.booking-modal-frame iframe {
  display: block;
  width: 100%;
  height: min(650px, 70vh);
  border: 0;
  background: var(--surface);
}

.booking-modal-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 920px) {
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .booking-copy {
    max-width: 680px;
  }
}

@media (max-width: 620px) {
  .booking-panel {
    border-radius: 18px;
  }

  .booking-panel iframe {
    height: 650px;
  }

  .booking-modal {
    padding: 10px;
  }

  .booking-modal-card {
    max-height: 96vh;
    padding: 22px 14px 16px;
    border-radius: 18px;
  }

  .booking-modal-card .case-kicker,
  .booking-modal-card > h3 {
    padding-inline: 6px 42px;
  }

  .booking-modal-frame iframe {
    height: 68vh;
  }

}

@media (prefers-reduced-motion: reduce) {
  .motion-enabled .reveal,
  .motion-enabled .reveal.reveal-left,
  .motion-enabled .reveal.reveal-right,
  .motion-enabled .reveal.in-view,
  .motion-enabled .hero-visual {
    opacity: 1;
    transform: none;
  }
}

/* Theme-matched scrolling controls */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(46, 158, 114, 0.62) transparent;
  scrollbar-gutter: auto;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-track-piece {
  background: transparent;
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

::-webkit-scrollbar-thumb {
  min-height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(46, 158, 114, 0.58);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(36, 125, 91, 0.82);
}

::-webkit-scrollbar-corner {
  background: transparent;
}

.scroll-cue {
  position: absolute;
  bottom: 68px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

@media (min-width: 821px) {
  .hero {
    padding-bottom: 132px;
  }
}

.scroll-cue i {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1px solid #c9c9ce;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 8px 24px rgba(29, 29, 31, 0.09);
}

.scroll-cue i::after {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  content: "";
  transform: translateX(-50%);
  animation: scroll-cue 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes scroll-cue {
  0% { opacity: 0; transform: translate(-50%, 0); }
  30% { opacity: 1; }
  75%, 100% { opacity: 0; transform: translate(-50%, 11px); }
}

.scroll-top {
  position: fixed;
  right: clamp(16px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 950;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(207, 207, 212, 0.92);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--primary-deep);
  box-shadow: 0 14px 36px rgba(29, 29, 31, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.9);
  backdrop-filter: blur(14px) saturate(150%);
  transition: opacity 220ms ease, transform 280ms cubic-bezier(0.22, 1, 0.36, 1), background 180ms ease;
}

.scroll-top:hover {
  background: #fff;
  transform: translateY(-2px) scale(1);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-top svg {
  width: 19px;
  height: 19px;
}

@media (max-width: 820px) {
  .scroll-cue {
    display: none;
  }

  .scroll-top {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue i::after {
    animation: none;
    opacity: 1;
  }
}

/* Final blue presentation theme */
:root[data-theme="blue"] {
  --ink: #0b1830;
  --ink-soft: #33415c;
  --muted: #66728a;
  --line: #dfe5ef;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --primary: #156bf5;
  --primary-deep: #084fca;
  --accent: #11a887;
  --accent-soft: #ddf7f0;
  --sky: #e9f2ff;
  --shadow-sm: 0 8px 26px rgba(27, 48, 83, 0.08);
  --shadow-lg: 0 28px 80px rgba(27, 48, 83, 0.15);
}

html[data-theme="blue"] {
  scrollbar-color: rgba(21, 107, 245, 0.64) transparent;
}

html[data-theme="blue"] body {
  background: #fbfcfe;
}

html[data-theme="blue"] :focus-visible {
  outline-color: rgba(21, 107, 245, 0.3);
}

html[data-theme="blue"] .gradient-text {
  background: linear-gradient(115deg, #156bf5 8%, #11a887 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[data-theme="blue"] .site-header.scrolled {
  border-color: rgba(213, 224, 240, 0.92);
  box-shadow: 0 10px 35px rgba(27, 48, 83, 0.075);
}

html[data-theme="blue"] .nav-link {
  color: #47546c;
}

html[data-theme="blue"] .nav-link:hover,
html[data-theme="blue"] .nav-link.active {
  color: var(--primary-deep);
}

html[data-theme="blue"] .nav-cta {
  box-shadow: 0 8px 18px rgba(11, 24, 48, 0.18);
}

html[data-theme="blue"] .hero {
  background:
    radial-gradient(circle at 90% 8%, rgba(17, 168, 135, 0.1), transparent 25%),
    radial-gradient(circle at 68% 52%, rgba(21, 107, 245, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

html[data-theme="blue"] .hero::before,
html[data-theme="blue"] .page-hero::before {
  background-image: linear-gradient(rgba(21, 107, 245, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(21, 107, 245, 0.055) 1px, transparent 1px);
}

html[data-theme="blue"] .btn-primary {
  background: linear-gradient(135deg, #156bf5, #0756d8);
  box-shadow: 0 14px 30px rgba(21, 107, 245, 0.24);
}

html[data-theme="blue"] .btn-primary:hover {
  background: linear-gradient(135deg, #075fe4, #084fca);
  box-shadow: 0 18px 36px rgba(21, 107, 245, 0.3);
}

html[data-theme="blue"] .btn-secondary:hover {
  border-color: #bdd2f7;
}

html[data-theme="blue"] .trust-row span::before,
html[data-theme="blue"] .booking-panel-bar i {
  box-shadow: 0 0 0 4px rgba(17, 168, 135, 0.11);
}

html[data-theme="blue"] .dashboard-window {
  border-color: rgba(198, 215, 241, 0.95);
}

html[data-theme="blue"] .dashboard-window img {
  filter: none;
}

html[data-theme="blue"] .window-bar {
  border-bottom-color: #e1e9f5;
  background: #f6f9fd;
}

html[data-theme="blue"] .metric-card {
  border-color: rgba(205, 219, 240, 0.96);
  box-shadow: 0 18px 45px rgba(27, 48, 83, 0.15);
}

html[data-theme="blue"] .orb.one {
  background: linear-gradient(135deg, rgba(17, 168, 135, 0.18), rgba(21, 107, 245, 0.1));
}

html[data-theme="blue"] .orb.two {
  background: rgba(21, 107, 245, 0.08);
}

html[data-theme="blue"] .card:hover,
html[data-theme="blue"] .industry-card:hover {
  border-color: #c3d7f4;
  box-shadow: 0 22px 55px rgba(27, 48, 83, 0.11);
}

html[data-theme="blue"] .card::after {
  background: rgba(21, 107, 245, 0.045);
}

html[data-theme="blue"] .insight-panel {
  background: linear-gradient(145deg, #0b1830, #112b52);
}

html[data-theme="blue"] .insight-panel::before {
  background: radial-gradient(circle at 85% 5%, rgba(17, 168, 135, 0.3), transparent 35%);
}

html[data-theme="blue"] .mini-chart span {
  background: linear-gradient(180deg, #6fa8ff, #156bf5);
  box-shadow: 0 0 24px rgba(21, 107, 245, 0.12);
}

html[data-theme="blue"] .mini-chart span:nth-child(5) {
  background: linear-gradient(180deg, #55d4bc, #11a887);
}

html[data-theme="blue"] .page-hero {
  background:
    radial-gradient(circle at 82% 10%, rgba(17, 168, 135, 0.09), transparent 25%),
    radial-gradient(circle at 18% 48%, rgba(21, 107, 245, 0.07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

html[data-theme="blue"] .wide-callout {
  background: linear-gradient(120deg, #0b1830, #173b6d);
}

html[data-theme="blue"] .industry-btn.active {
  background: linear-gradient(135deg, #156bf5, #0756d8);
  box-shadow: 0 10px 23px rgba(21, 107, 245, 0.23);
}

html[data-theme="blue"] .modal {
  background: rgba(11, 24, 48, 0.64);
}

html[data-theme="blue"] .field input,
html[data-theme="blue"] .field textarea {
  border-color: #d8e1ef;
  background: #fbfcfe;
}

html[data-theme="blue"] .field input:focus,
html[data-theme="blue"] .field textarea:focus {
  box-shadow: 0 0 0 4px rgba(21, 107, 245, 0.1);
}

html[data-theme="blue"] .scroll-progress {
  box-shadow: 0 0 14px rgba(21, 107, 245, 0.28);
}

html[data-theme="blue"] .booking-section {
  background:
    radial-gradient(circle at 8% 18%, rgba(17, 168, 135, 0.075), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f0f5fc 100%);
}

html[data-theme="blue"] .booking-panel {
  border-color: rgba(203, 217, 238, 0.95);
  box-shadow: 0 30px 80px rgba(27, 48, 83, 0.14);
}

html[data-theme="blue"] .booking-panel-bar {
  background: #f6f9fd;
}

html[data-theme="blue"] ::-webkit-scrollbar-thumb {
  background: rgba(21, 107, 245, 0.58);
}

html[data-theme="blue"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(8, 79, 202, 0.84);
}

html[data-theme="blue"] .scroll-cue i {
  border-color: #c4d5ee;
  box-shadow: 0 8px 24px rgba(27, 48, 83, 0.1);
}

html[data-theme="blue"] .scroll-top {
  border-color: rgba(196, 213, 238, 0.94);
  box-shadow: 0 14px 36px rgba(27, 48, 83, 0.14);
}
