@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap");

/* ── Hero: two-column sage / photo layout ── */
.hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--koble-sage, #8DAE57);
  font-family: var(--font, 'Hanken Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Copy column ── */
.hero__copy {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px 2% 82px 31.71%;
}

.hero__title,
.hero__title h1 {
  font-size: 5.99vw;
  font-size: 18cqi;
  font-weight: 800;
  line-height: .773;
  letter-spacing: 0;
  color: var(--koble-ink, #19352B);
  margin-bottom: .19em;
  margin-top: 0;
}

.hero__title p,
.hero__title div { margin: 0; }

.hero__title b,
.hero__title strong { font-weight: 800; color: #ffffff; }

.hero__sub {
  margin: 0 0 .41em;
  max-width: 15.2em;
  color: var(--koble-ink, #19352B);
  font-size: 1.942vw;
  font-size: max(16px, 5.86cqi);
  font-weight: 700;
  line-height: 1.362;
  letter-spacing: 0;
}

/* ── CTA buttons ── */
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: flex-start;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .29em;
  font-family: inherit;
  font-size: max(14px, 3.749cqi);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  padding: .949em 1.743em;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}

.hero__cta--forest {
  background: var(--koble-forest, #19352B);
  border: 2px solid var(--koble-forest, #19352B);
  color: #ffffff;
}

.hero__cta--forest:hover {
  background: #23483A;
  border-color: #23483A;
}

.hero__cta--outline {
  background: transparent;
  border: 2px solid var(--koble-forest, #19352B);
  color: var(--koble-forest, #19352B);
}

.hero__cta--outline:hover {
  background: var(--koble-forest, #19352B);
  color: #ffffff;
}

/* ── Stage column ── */
.hero__stage {
  position: relative;
  background: var(--koble-cream, #F4F6F1);
  display: grid;
  place-items: center;
  padding: 4% 0;
  min-height: 440px;
  overflow: hidden;
}

/* SVG fills the stage; viewBox + preserveAspectRatio handle zoom/crop */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

/* Arc sits above the SVG photo layer */
.arc {
  position: relative;
  z-index: 1;
  width: 73.22%;
  aspect-ratio: 1;
}

.arc__circle {
  position: absolute;
  inset: 0;
  border: 2px solid var(--koble-sage, #8DAE57);
  border-radius: 50%;
}

/* Six icon tiles around the upper semicircle */
.node {
  position: absolute;
  width: clamp(69px, 22.6%, 106px);
  transform: translate(-50%, -50%);
}

.node img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(25, 53, 43, .22));
}

.node--1 { left: 0%;     top: 50%; }
.node--2 { left: 9.55%;  top: 20.61%; }
.node--3 { left: 34.55%; top: 2.45%; }
.node--4 { left: 65.45%; top: 2.45%; }
.node--5 { left: 90.45%; top: 20.61%; }
.node--6 { left: 100%;   top: 50%; }

/* ── Responsive ── */
@media (min-width: 1081px) {
  .hero { min-height: 760px; }
}

@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 56px 40px 62px; }
  .hero__title, .hero__title h1 { font-size: clamp(38px, 11cqi, 92px); }
  .hero__sub { font-size: clamp(17px, 3.4cqi, 26px); }
  .hero__cta { font-size: clamp(15px, 2.3cqi, 19px); }
  .hero__stage { min-height: 0; padding: 9% 0 11%; }
}

@media (max-width: 600px) {
  .hero__copy { padding: 44px 20px 52px; }
  .hero__title, .hero__title h1 { font-size: clamp(36px, 12cqi, 64px); }
  .hero__sub { max-width: 20ch; }
  .hero__cta { width: 100%; text-align: center; }
  .hero__stage { padding: 12% 0 14%; }
  .node { width: clamp(59px, 21%, 85px); }
}

@media (prefers-reduced-motion: reduce) {
  .node { transition: none !important; }
}

@media (min-width: 1081px) {
  #smb-erp-hero .hero__copy {
    padding-left: 11.3%;
    padding-right: 8%;
  }
  #smb-erp-hero .hero__title,
  #smb-erp-hero .hero__title h1 {
    font-size: 12.5cqi;
    line-height: .9;
  }
  #smb-erp-hero .hero__sub {
    font-size: max(18px, 3.8cqi);
    max-width: 24em;
  }
  #smb-erp-hero .hero__cta {
    font-size: max(15px, 2.6cqi);
  }  #smb-erp-hero {
    min-height: 640px;
  }
  #smb-erp-hero .arc {
    width: 62%;
  }  #smb-erp-hero .hero__cta {
    padding: .9em 1.2em;
  }
  #smb-erp-hero .hero__actions {
    gap: 10px;
  }
}
}