:root {
  --graphite: #172933;
  --petrol: #0f4c4f;
  --petrol-dark: #07373d;
  --green: #4f8a72;
  --warm: #f7f4ee;
  --paper: #fbfcfb;
  --line: #d8dedb;
  --text: #172933;
  --muted: #5d6a6d;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(23, 41, 51, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 18px;
  background: #eef1ef;
  color: var(--text);
  font-family: Inter, "Source Sans 3", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: Manrope, Montserrat, Inter, Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2.55rem, 4.35vw, 4.35rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.8rem, 2.65vw, 3rem);
  line-height: 1.12;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.22;
}

ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

li {
  margin: 9px 0;
  color: var(--muted);
}

li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 12px;
  margin-right: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(40deg);
}

.site-frame {
  width: min(1480px, 100%);
  margin: 0 auto;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #dfe5e2;
  border-radius: 10px;
  box-shadow: 0 18px 50px rgba(23, 41, 51, 0.08);
}

.site-header {
  position: relative;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 66px;
  padding: 12px 32px;
  background: var(--white);
  border-bottom: 1px solid #e4e8e6;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: 218px;
  min-height: 44px;
  flex: 0 0 218px;
  overflow: hidden;
  background: url("assets/images/erp-managers-logo-primary-horizontal-600w.png") left center / contain no-repeat;
  color: var(--graphite);
  font-size: 0.94rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.brand-mark {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.brand > span:not(.brand-mark) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.brand-light,
.brand-light .brand {
  color: var(--white);
}

.brand-light .brand {
  background-image: url("assets/images/erp-managers-logo-primary-horizontal-negative-600w.png");
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #d6dedb;
  border-radius: 5px;
  background: var(--white);
  color: var(--petrol-dark);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

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

.main-nav {
  display: flex;
  justify-content: center;
  gap: 40px;
  color: #1d3038;
  font-size: 0.82rem;
  font-weight: 800;
}

.main-nav a[aria-current="page"] {
  color: var(--petrol);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--petrol);
  border-radius: 5px;
  background: var(--petrol);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  white-space: nowrap;
}

.button::after,
.text-link::after,
.arrow-link::after {
  content: "\2192";
  margin-left: 10px;
}

.button-small {
  min-height: 42px;
  padding: 0 18px;
  background: var(--petrol-dark);
  border-color: var(--petrol-dark);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.16);
}

.button-secondary {
  background: rgba(10, 20, 23, 0.36);
  border-color: rgba(255, 255, 255, 0.72);
}

.button-light {
  background: var(--white);
  border-color: var(--white);
  color: var(--petrol-dark);
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  min-height: 418px;
  display: flex;
  align-items: center;
  padding: 72px 78px;
  color: var(--white);
}

.hero-home {
  background:
    linear-gradient(90deg, rgba(12, 26, 29, 0.92) 0%, rgba(12, 26, 29, 0.82) 31%, rgba(12, 26, 29, 0.36) 58%, rgba(12, 26, 29, 0.08) 100%),
    url("assets/images/hero-home-erp-workshop.webp") right 26% / cover;
}

.hero-services {
  min-height: 330px;
  background:
    linear-gradient(90deg, rgba(7, 32, 38, 0.94) 0%, rgba(7, 32, 38, 0.84) 42%, rgba(7, 32, 38, 0.22) 100%),
    url("assets/images/hero-services-erp-lifecycle.webp") right 38% / cover;
}

.hero-audit {
  min-height: 330px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.9) 46%, rgba(247, 244, 238, 0.28) 100%),
    url("assets/images/hero-erp-current-state-mapping.webp") center right / cover;
}

.hero-lemonsoft {
  min-height: 330px;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.94) 46%, rgba(247, 244, 238, 0.2) 100%),
    url("assets/images/hero-lemonsoft-daily-support.webp") right 23% / cover;
}

.hero-content {
  max-width: 560px;
}

.hero-home .eyebrow {
  display: none;
}

.hero h1 {
  max-width: 610px;
}

.hero-home h1 {
  max-width: 520px;
  font-size: clamp(3.2rem, 5.1vw, 5.25rem);
  line-height: 0.98;
}

.hero p {
  max-width: 590px;
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.58;
}

.hero-home p {
  max-width: 535px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.55;
}

.hero .button {
  margin-top: 28px;
}

.hero-home .button {
  min-height: 55px;
  padding: 0 26px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.promise-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0 52px;
  background: var(--white);
  border-bottom: 1px solid #e6ebe8;
}

.promise-strip article {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: start;
  gap: 16px;
  min-height: 124px;
  padding: 27px 34px 24px;
  border-right: 1px solid #edf0ef;
}

.promise-strip article:last-child {
  border-right: 0;
}

.promise-strip h2 {
  font-size: 1.02rem;
}

.promise-strip p {
  max-width: 300px;
  margin-top: 7px;
  color: #44555a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.section {
  padding: 58px 64px;
}

.section-tight {
  padding-top: 42px;
  padding-bottom: 48px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

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

.section-heading p:not(.eyebrow),
.section-copy {
  margin-top: 14px;
  color: var(--muted);
}

.home-services {
  padding: 38px 36px 36px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.home-services .section-heading {
  max-width: 650px;
}

.home-services .section-heading h2 {
  font-size: clamp(2rem, 2.7vw, 2.65rem);
}

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

.service-card,
.mini-card,
.article-card,
.case-card,
.stat-card,
.doc-card,
.form-card,
.person-panel,
.info-panel,
.contact-panel,
.contact-form,
.legal-panel {
  background: var(--white);
  border: 1px solid #e2e7e5;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(23, 41, 51, 0.055);
}

.service-card {
  min-height: 282px;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
}

.service-card h3 {
  min-height: 44px;
  margin-top: 22px;
  font-size: 1rem;
}

.service-card p,
.mini-card p,
.case-card p,
.article-card p,
.doc-card p,
.stat-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.text-link,
.arrow-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  color: #173940;
  font-size: 0.86rem;
  font-weight: 900;
}

.proof-band,
.process-band,
.cta-section {
  color: var(--white);
  background: linear-gradient(135deg, var(--petrol-dark), var(--petrol));
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  padding: 30px 58px;
}

.proof-band div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.proof-band strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.25;
}

.proof-band span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.35;
}

.service-list {
  padding: 42px 64px 52px;
  background: #fbfcfb;
}

.service-list-label {
  margin-bottom: 16px;
  font-weight: 900;
}

.service-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 78px;
  padding: 18px 0;
  border-bottom: 1px solid #dfe5e2;
}

.service-row h2 {
  font-size: 1.08rem;
  line-height: 1.2;
}

.service-row p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.94rem;
}

.row-arrow {
  color: var(--petrol);
  font-weight: 900;
}

.compact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 64px 58px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f7f4ee, #eef3ef);
  border: 1px solid #dfe5e2;
  border-radius: 5px;
}

.compact-cta h2 {
  font-size: 1.15rem;
}

.compact-cta p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.9rem;
}

.problem-grid,
.icon-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.problem-grid article,
.icon-grid article {
  min-height: 132px;
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid #e2e7e5;
  border-radius: 5px;
}

.problem-grid h3,
.icon-grid h3 {
  margin-top: 15px;
  font-size: 0.94rem;
  line-height: 1.28;
}

.three-cards,
.answer-grid,
.reference-grid,
.article-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.three-cards article,
.answer-card {
  min-height: 275px;
  padding: 26px;
  background: var(--white);
  border: 1px solid #e2e7e5;
  border-radius: 5px;
}

.answer-card {
  min-height: 210px;
}

.answer-card h3 {
  font-size: 1rem;
  line-height: 1.28;
}

.answer-card p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.process-band {
  margin: 0 64px;
  padding: 34px 40px;
  border-radius: 5px;
}

.process-band h2 {
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.process-steps div {
  min-height: 106px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
}

.process-steps span {
  display: block;
  margin-bottom: 12px;
  color: #b9dac7;
  font-size: 0.76rem;
  font-weight: 900;
}

.process-steps p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.split-page {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 18px;
  padding: 42px 64px 58px;
}

.split-main {
  min-height: 430px;
  padding: 34px;
  border: 1px solid #e2e7e5;
  border-radius: 5px;
  background: var(--white);
}

.split-main h1 {
  max-width: 580px;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.split-main > p {
  max-width: 620px;
  margin-top: 18px;
  color: var(--muted);
}

.portrait-side {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid #e2e7e5;
  border-radius: 5px;
  background: #f4f5f2;
}

.portrait-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.check-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  margin-top: 36px;
}

.case-card,
.article-card,
.doc-card,
.mini-card,
.stat-card {
  min-height: 188px;
  padding: 24px;
}

.case-card .label,
.article-card .label {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
}

.case-card .text-link,
.article-card .text-link {
  padding-top: 22px;
}

.image-card {
  overflow: hidden;
  border-radius: 5px;
  background: var(--paper);
}

.image-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
}

.feature-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 20px;
  padding: 42px 64px 0;
}

.feature-copy {
  min-height: 250px;
  padding: 30px 0;
}

.feature-copy h1 {
  max-width: 760px;
}

.feature-copy p:not(.eyebrow) {
  max-width: 610px;
  margin-top: 18px;
  color: var(--muted);
}

.feature-image {
  overflow: hidden;
  border: 1px solid #e2e7e5;
  border-radius: 5px;
  background: #f5f7f5;
}

.feature-image img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.about-hero,
.person-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) 360px;
  gap: 24px;
  padding: 42px 64px 0;
}

.about-hero-balanced {
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.82fr);
}

.about-card,
.person-panel {
  min-height: 360px;
  padding: 34px;
}

.about-card h1,
.person-panel h1 {
  font-size: clamp(2.05rem, 3.2vw, 3.55rem);
}

.about-card > p,
.person-panel > p {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
}

.about-card .actions,
.person-panel .actions {
  margin-top: 28px;
}

.person-photo {
  overflow: hidden;
  border: 1px solid #e2e7e5;
  border-radius: 5px;
  background: #f6f7f5;
}

.person-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center top;
}

.about-photo-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-height: 420px;
}

.about-photo-stack .person-photo:first-child {
  align-self: start;
  min-height: 390px;
}

.about-photo-stack .person-photo:last-child {
  align-self: end;
  min-height: 390px;
}

.about-photo-stack .person-photo img {
  min-height: 390px;
}

.hexagon-story {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 48px;
  align-items: center;
  margin: 0 64px 52px;
  padding: 48px;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(135deg, #f1f5f2 0%, #f8f6f0 100%);
}

.hexagon-story-visual {
  position: relative;
  display: grid;
  min-height: 380px;
  place-items: center;
}

.hexagon-story-visual::before {
  position: absolute;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(15, 76, 82, 0.16);
  background: rgba(255, 255, 255, 0.66);
  content: "";
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.hexagon-story-visual img {
  position: relative;
  z-index: 2;
  width: min(230px, 68%);
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(14, 45, 52, 0.16));
}

.hexagon-orbit {
  position: absolute;
  border: 1px solid rgba(91, 169, 128, 0.2);
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.hexagon-orbit-one {
  width: 360px;
  height: 360px;
}

.hexagon-orbit-two {
  width: 420px;
  height: 420px;
  border-color: rgba(15, 76, 82, 0.08);
}

.hexagon-story-copy h2 {
  max-width: 660px;
  margin-top: 8px;
}

.hexagon-story-copy > p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted);
}

.hexagon-story-copy .hexagon-story-lead {
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hexagon-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.hexagon-principles article {
  padding-top: 18px;
  border-top: 2px solid var(--green);
}

.hexagon-principles p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.91rem;
}

.hexagon-story-copy .hexagon-story-close {
  padding-left: 18px;
  border-left: 3px solid var(--green);
  color: #173d46;
  font-weight: 700;
}

.quote-band {
  margin: 0 64px 52px;
  padding: 34px 40px;
  border-left: 5px solid var(--green);
  background: #f7f4ee;
}

.quote-band p {
  max-width: 980px;
  color: #293f45;
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1.42;
}

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

.content-card,
.team-card,
.profile-card {
  min-height: 220px;
  padding: 26px;
  background: var(--white);
  border: 1px solid #e2e7e5;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(23, 41, 51, 0.055);
}

.content-card p,
.team-card p,
.profile-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.team-card {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 22px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.team-card img {
  width: 100%;
  height: 100%;
  min-height: 255px;
  object-fit: cover;
  object-position: center top;
  background: #f6f7f5;
}

.team-card .team-body {
  padding: 26px 26px 24px 0;
}

.role {
  margin-top: 8px;
  color: #3c5960;
  font-size: 0.9rem;
  font-weight: 900;
}

.detail-list {
  margin-top: 18px;
}

.detail-list li {
  font-size: 0.9rem;
}

.person-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.person-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #dce4df;
  border-radius: 4px;
  background: #f6f8f7;
  color: #30464c;
  font-size: 0.78rem;
  font-weight: 900;
}

.expert-strip {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 20px;
  margin: 0 64px 52px;
  padding: 26px;
  border: 1px solid #e2e7e5;
  border-radius: 5px;
  background: #fbfcfb;
}

.expert-strip img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  background: #f6f7f5;
}

.expert-strip .content-card {
  box-shadow: none;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.stat-card {
  min-height: 132px;
  text-align: center;
}

.person-contact {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.93rem;
}

.subsection-title {
  margin-top: 34px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 28px;
}

.tag {
  appearance: none;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #dce4df;
  border-radius: 4px;
  background: #f6f8f7;
  color: #30464c;
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

.tag:hover,
.tag.is-active {
  border-color: rgba(12, 89, 92, 0.32);
  background: #e8f1ee;
  color: var(--petrol-dark);
}

.article-card {
  padding: 0;
  overflow: hidden;
}

.article-card[hidden] {
  display: none;
}

.article-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.article-card .article-body {
  padding: 22px;
}

.article-card time {
  color: var(--muted);
  font-size: 0.78rem;
}

.article-meta {
  color: var(--muted);
  font-size: 0.78rem;
}

.empty-state {
  margin-top: 24px;
  padding: 22px;
  border: 1px dashed #cfd9d5;
  border-radius: 5px;
  background: #fbfcfb;
  color: var(--muted);
  text-align: center;
}

.article-page {
  max-width: 920px;
  margin: 0 auto;
  padding: 54px 64px 40px;
}

.article-page h1 {
  margin-top: 12px;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1.02;
}

.article-page > time {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.article-content {
  margin-top: 34px;
  color: #263d43;
  font-size: 1rem;
  line-height: 1.72;
}

.article-content h2 {
  margin-top: 38px;
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.18;
}

.article-content h3 {
  margin-top: 28px;
  font-size: 1.12rem;
}

.article-content p,
.article-content ul {
  margin-top: 16px;
}

.article-content li {
  margin: 8px 0;
}

.article-content a {
  color: var(--petrol);
  font-weight: 900;
  text-decoration: none;
}

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

.legal-panel {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  padding: 44px;
  background:
    radial-gradient(circle at 85% 30%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #07373d, #0f4c4f);
  color: var(--white);
}

.legal-panel::after {
  content: "";
  position: absolute;
  right: 42px;
  top: 48px;
  width: 130px;
  height: 130px;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.legal-panel p {
  max-width: 410px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
}

.legal-panel .button {
  position: relative;
  z-index: 1;
  width: max-content;
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.25);
}

.legal-panel .button:first-of-type {
  margin-top: 28px;
}

.legal-content-section {
  background: #fbfcfb;
}

.legal-article {
  min-width: 0;
  padding: 34px 38px;
  background: var(--white);
  border: 1px solid #e2e7e5;
  border-radius: 5px;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid #e2e7e5;
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section:last-child {
  padding-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(1.38rem, 2vw, 2rem);
}

.legal-section h3 {
  margin-top: 28px;
  font-size: 1.05rem;
}

.legal-section p {
  margin-top: 13px;
  color: #263d43;
}

.legal-section .text-link {
  margin-top: 16px;
  padding-top: 0;
}

.legal-page-heading {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
}

.legal-page-heading h1 {
  max-width: 820px;
  font-size: clamp(2.35rem, 3.7vw, 4rem);
}

.legal-page-heading p:not(.eyebrow) {
  max-width: 820px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-page-heading strong {
  color: var(--text);
}

.legal-article-narrow {
  max-width: 1120px;
  margin: 0 auto;
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.legal-topic-card {
  min-height: 220px;
}

.legal-topic-card h2 {
  font-size: 1.35rem;
}

.legal-topic-card a {
  color: var(--petrol);
  font-weight: 900;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(280px, 0.72fr) minmax(320px, 0.94fr);
  gap: 0;
  padding: 58px 64px;
  background: #fbfcfb;
}

.footer-links {
  display: grid;
  grid-template-columns: 1.02fr 0.96fr 0.96fr 1.12fr;
  column-gap: 24px;
  row-gap: 18px;
  padding: 30px 34px;
  background: var(--white);
  border: 1px solid #e2e7e5;
  border-right: 0;
  border-radius: 5px 0 0 5px;
}

.footer-links > div {
  min-width: 0;
}

.footer-links h3 {
  margin-bottom: 14px;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.footer-links a,
.footer-links p {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.footer-links a[href^="mailto:"],
.contact-list a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-panel {
  min-width: 0;
  padding: 34px;
  background: linear-gradient(135deg, var(--petrol-dark), var(--petrol));
  border-color: var(--petrol-dark);
  border-radius: 5px 0 0 5px;
  color: var(--white);
}

.contact-panel h1,
.contact-panel h2 {
  font-size: 2.25rem;
  line-height: 1.04;
}

.contact-panel p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
}

.contact-list div {
  margin: 10px 0;
}

.contact-form {
  min-width: 0;
  padding: 28px;
  border-left: 0;
  border-radius: 0 5px 5px 0;
  box-shadow: none;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 5px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status[data-state="success"] {
  border-left: 3px solid var(--green);
  background: rgba(79, 138, 114, 0.12);
  color: #173d46;
  font-weight: 600;
}

.form-status[data-state="error"] {
  border-left: 3px solid #b4453a;
  background: rgba(180, 69, 58, 0.1);
  color: #7d2b23;
}

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

label {
  display: grid;
  gap: 5px;
  color: #7a3732;
  font-size: 0.78rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid #dfe5e2;
  border-radius: 3px;
  background: var(--white);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

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

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.checkbox input {
  width: auto;
  min-height: auto;
}

.checkbox a {
  color: var(--petrol);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.line-icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.line-icon::before,
.line-icon::after {
  display: none;
}

.line-icon.people,
.line-icon.management {
  background-image: url("assets/images/erp-brand-icon-management.webp");
}

.line-icon.target,
.line-icon.solutions {
  background-image: url("assets/images/erp-brand-icon-solutions.webp");
}

.line-icon.loop,
.line-icon.integrations {
  background-image: url("assets/images/erp-brand-icon-integrations.webp");
}

.line-icon.check,
.line-icon.training {
  background-image: url("assets/images/erp-brand-icon-training.webp");
}

.line-icon.bars,
.line-icon.analytics {
  background-image: url("assets/images/erp-brand-icon-analytics.webp");
}

.line-icon.gear,
.line-icon.development {
  background-image: url("assets/images/erp-brand-icon-development.webp");
}

.line-icon.flow,
.line-icon.processes {
  background-image: url("assets/images/erp-brand-icon-processes.webp");
}

.line-icon.rocket,
.line-icon.support {
  background-image: url("assets/images/erp-brand-icon-support.webp");
}


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

.center-link {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

@media (max-width: 1320px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.88fr);
    gap: 24px;
  }

  .footer-links {
    grid-column: 1 / -1;
    border-right: 1px solid #e2e7e5;
    border-radius: 5px;
  }

  .contact-panel {
    border-radius: 5px 0 0 5px;
  }

  .contact-form {
    border-left: 1px solid #e2e7e5;
    border-radius: 0 5px 5px 0;
  }
}

@media (max-width: 1180px) {
  .service-grid,
  .problem-grid,
  .icon-grid,
  .stats-row,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-links,
  .contact-panel,
  .contact-form {
    border: 1px solid #e2e7e5;
    border-radius: 5px;
  }
}

@media (max-width: 980px) {
  body {
    padding: 0;
  }

  .site-frame {
    border: 0;
    border-radius: 0;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    padding: 12px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .main-nav.is-open {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-top: 1px solid #e4e8e6;
    border-bottom: 1px solid #d6dedb;
    background: var(--white);
    box-shadow: 0 14px 24px rgba(23, 41, 51, 0.12);
  }

  .main-nav.is-open a {
    min-height: 44px;
    padding: 12px 4px;
    border-bottom: 1px solid #edf0ef;
  }

  .hero,
  .section,
  .service-list,
  .split-page,
  .about-hero,
  .person-hero,
  .feature-head,
  .contact-layout {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    min-height: 560px;
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .promise-strip,
  .proof-band,
  .three-cards,
  .answer-grid,
  .reference-grid,
  .article-grid,
  .legal-grid,
  .content-grid,
  .team-grid,
  .profile-grid,
  .about-photo-stack,
  .expert-strip,
  .split-page,
  .about-hero,
  .person-hero,
  .feature-head,
  .check-columns,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .promise-strip {
    padding: 0;
  }

  .promise-strip article {
    border-right: 0;
    border-bottom: 1px solid #edf0ef;
  }

  .compact-cta,
  .process-band,
  .quote-band,
  .expert-strip,
  .hexagon-story {
    margin-left: 24px;
    margin-right: 24px;
  }

  .hexagon-story {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px;
  }

  .hexagon-story-visual {
    min-height: 300px;
  }

  .team-card {
    grid-template-columns: 150px 1fr;
  }

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

  .legal-article {
    padding: 30px 28px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 15px;
  }

  .button-small {
    display: none;
  }

  .hero h1,
  .hero-home h1 {
    font-size: 2.55rem;
  }

  .service-grid,
  .problem-grid,
  .icon-grid,
  .stats-row,
  .process-steps,
  .form-grid,
  .proof-band {
    grid-template-columns: 1fr;
  }

  .footer-links {
    padding: 26px 22px;
  }

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

  .team-card .team-body {
    padding: 24px;
  }

  .team-card img {
    height: 320px;
  }

  .legal-article {
    padding: 24px 20px;
  }

  .hexagon-story {
    margin-right: 20px;
    margin-left: 20px;
    padding: 28px 22px;
  }

  .hexagon-story-visual {
    min-height: 230px;
  }

  .hexagon-story-visual::before {
    width: 220px;
    height: 220px;
  }

  .hexagon-orbit-one {
    width: 250px;
    height: 250px;
  }

  .hexagon-orbit-two {
    width: 280px;
    height: 280px;
  }

  .hexagon-principles {
    grid-template-columns: 1fr;
  }
}
