/* Degero homepage v3: scoped, mobile-first, no legacy cascade dependencies. */
:root {
  --dg-navy: #0a2540;
  --dg-navy-deep: #061a2b;
  --dg-green: #22c55e;
  --dg-green-dark: #16a34a;
  --dg-green-soft: #eefbf2;
  --dg-ink: #17212b;
  --dg-muted: #536371;
  --dg-line: #dbe4df;
  --dg-surface: #ffffff;
  --dg-surface-soft: #f3f7f4;
  --dg-shell: 1200px;
  --dg-gutter: 24px;
  --dg-radius: 8px;
  --dg-shadow: 0 18px 48px -36px rgba(10, 37, 64, 0.42);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--dg-ink);
  background: var(--dg-surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

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

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

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

button {
  font-size: inherit;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
}

h1,
h2,
h3 {
  color: var(--dg-navy);
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  font-size: 58px;
}

h2 {
  font-size: 42px;
}

h3 {
  font-size: 21px;
}

p {
  overflow-wrap: break-word;
}

:focus-visible {
  outline: 3px solid var(--dg-navy);
  outline-offset: 3px;
}

.dg-home-process :focus-visible,
.dg-home-final :focus-visible,
.sb-footer :focus-visible {
  outline-color: var(--dg-green);
}

.dg-shell,
.sb-navbar__inner,
.sb-footer > .sb-container {
  width: min(100% - (2 * var(--dg-gutter)), var(--dg-shell));
  margin-inline: auto;
}

.sb-skip-link {
  position: fixed;
  z-index: 10001;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  color: #fff;
  background: var(--dg-navy);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

/* Shared header */
.sb-navbar {
  position: sticky;
  z-index: 9999;
  top: 0;
  min-height: 78px;
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.sb-navbar--scrolled {
  box-shadow: 0 10px 28px -24px rgba(10, 37, 64, 0.65);
}

.sb-navbar__inner {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 78px;
  gap: 24px;
}

.sb-navbar__brand {
  display: inline-flex;
  align-items: center;
  width: 167px;
  min-width: 0;
}

.sb-navbar__brand img {
  width: 167px !important;
  height: auto !important;
}

.sb-navbar__toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 11px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.sb-navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--dg-navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.sb-navbar__toggle--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.sb-navbar__toggle--open span:nth-child(2) {
  opacity: 0;
}

.sb-navbar__toggle--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.sb-navbar__menu,
.sb-navbar__submenu {
  list-style: none;
}

.sb-navbar__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  gap: 3px;
}

.sb-navbar__menu > li {
  position: relative;
}

.sb-navbar__menu a,
.sb-navbar__dropdown-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 11px;
  border: 0;
  border-radius: 5px;
  color: #22313f;
  background: transparent;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.25;
  white-space: nowrap;
  cursor: pointer;
}

.sb-navbar__menu a:hover,
.sb-navbar__dropdown-btn:hover,
.sb-navbar__menu a.is-active,
.sb-navbar__has-submenu.is-active-section > .sb-navbar__dropdown-btn {
  color: var(--dg-navy);
  background: var(--dg-green-soft);
}

.sb-navbar__caret {
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.sb-navbar__submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: none;
  width: max-content;
  min-width: 245px;
  padding: 7px;
  border: 1px solid var(--dg-line);
  border-radius: var(--dg-radius);
  background: #fff;
  box-shadow: 0 22px 50px -30px rgba(10, 37, 64, 0.65);
}

.sb-navbar__has-submenu:hover > .sb-navbar__submenu,
.sb-navbar__has-submenu:focus-within > .sb-navbar__submenu,
.sb-navbar__has-submenu.sb-submenu--open > .sb-navbar__submenu {
  display: block;
}

.sb-navbar__submenu a {
  display: flex;
  width: 100%;
  padding-inline: 12px;
  white-space: normal;
}

.sb-navbar__tel {
  gap: 7px;
  color: var(--dg-navy) !important;
}

.sb-navbar__tel svg {
  flex: 0 0 16px;
}

/* Shared primitives */
.dg-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--dg-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dg-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  flex: 0 0 26px;
  border-radius: 2px;
  background: var(--dg-green);
}

.dg-home-section {
  padding-block: 96px;
}

.dg-home-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.dg-home-heading h2 {
  margin-bottom: 18px;
}

.dg-home-heading > p:last-child {
  max-width: 700px;
  color: var(--dg-muted);
  font-size: 18px;
  line-height: 1.7;
}

.dg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.dg-button:hover {
  transform: translateY(-1px);
}

.dg-button--primary {
  border-color: var(--dg-green);
  color: var(--dg-navy);
  background: var(--dg-green);
}

.dg-button--primary:hover {
  border-color: var(--dg-navy);
  background: var(--dg-green);
  box-shadow: 0 10px 24px -18px rgba(10, 37, 64, 0.8);
}

.dg-button--secondary {
  border-color: #536778;
  color: var(--dg-navy);
  background: rgba(255, 255, 255, 0.9);
}

.dg-button--secondary:hover {
  border-color: var(--dg-navy);
  background: #fff;
}

.dg-button--light {
  border-color: #fff;
  color: var(--dg-navy);
  background: #fff;
}

.dg-button--light:hover {
  background: #edf7f1;
}

.dg-text-link,
.dg-home-center-link a {
  color: var(--dg-navy);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.dg-text-link:hover,
.dg-home-center-link a:hover {
  color: var(--dg-navy-deep);
}

/* Hero */
.dg-home-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 660px;
  overflow: hidden;
  background-color: #e9eeeb;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.96) 42%, rgba(255, 255, 255, 0.56) 62%, rgba(255, 255, 255, 0.08) 100%),
    url("/images/degero/degero-hero-home-wood-20260524.webp?v=20260716-home-v3");
  background-position: center, right center;
  background-size: cover;
}

.dg-home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--dg-green) 0 32%, transparent 32% 100%);
}

.dg-home-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 62px;
}

@supports (height: 100svh) {
  .dg-home-hero {
    min-height: min(660px, calc(100svh - 78px));
  }
}

.dg-home-hero__content {
  max-width: 720px;
}

.dg-home-hero h1 {
  max-width: 690px;
  margin-bottom: 24px;
}

.dg-home-hero__lead {
  max-width: 680px;
  color: #334451;
  font-size: 20px;
  line-height: 1.65;
}

.dg-home-hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 700px;
  margin-top: 30px;
  list-style: none;
}

.dg-home-hero__proof li {
  position: relative;
  min-width: 0;
  padding: 0 20px 0 22px;
  border-right: 1px solid #b8c8bf;
}

.dg-home-hero__proof li:first-child {
  padding-left: 22px;
}

.dg-home-hero__proof li:last-child {
  border-right: 0;
}

.dg-home-hero__proof li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--dg-green);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.dg-home-hero__proof strong,
.dg-home-hero__proof span {
  display: block;
}

.dg-home-hero__proof strong {
  color: var(--dg-navy);
  font-size: 15px;
  line-height: 1.35;
}

.dg-home-hero__proof span {
  margin-top: 3px;
  color: var(--dg-muted);
  font-size: 13px;
  line-height: 1.4;
}

.dg-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Situation routes */
.dg-home-routes {
  background: #fff;
}

.dg-home-routes__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.dg-route {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-areas:
    "number title"
    "number copy"
    "number link";
  gap: 7px 18px;
  min-height: 220px;
  padding: 30px;
  border: 1px solid var(--dg-line);
  border-radius: var(--dg-radius);
  background: #fff;
  box-shadow: var(--dg-shadow);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.dg-route:hover {
  border-color: rgba(34, 197, 94, 0.72);
  box-shadow: 0 24px 54px -36px rgba(10, 37, 64, 0.58);
  transform: translateY(-2px);
}

.dg-route__number {
  grid-area: number;
  color: var(--dg-navy);
  font-size: 15px;
  font-weight: 850;
}

.dg-route h3 {
  grid-area: title;
}

.dg-route p {
  grid-area: copy;
  color: var(--dg-muted);
}

.dg-route__link {
  grid-area: link;
  align-self: end;
  margin-top: 12px;
  color: var(--dg-navy);
  font-size: 14px;
  font-weight: 750;
}

/* Process */
.dg-home-process {
  color: #e8eff3;
  background: var(--dg-navy);
}

.dg-home-heading--inverse h2 {
  color: #fff;
}

.dg-home-heading--inverse > p:last-child {
  color: #c6d3db;
}

.dg-home-process .dg-kicker,
.dg-home-final .dg-kicker {
  color: var(--dg-green);
}

.dg-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  border-bottom: 1px solid rgba(255, 255, 255, 0.19);
}

.dg-process li {
  min-width: 0;
  padding: 32px 28px 34px;
  border-right: 1px solid rgba(255, 255, 255, 0.19);
}

.dg-process li:first-child {
  padding-left: 0;
}

.dg-process li:last-child {
  padding-right: 0;
  border-right: 0;
}

.dg-process li > span {
  display: block;
  margin-bottom: 24px;
  color: var(--dg-green);
  font-size: 14px;
  font-weight: 850;
}

.dg-process h3 {
  margin-bottom: 12px;
  color: #fff;
}

.dg-process p {
  color: #c6d3db;
  font-size: 15px;
}

.dg-process__note {
  margin-top: 28px;
  color: #c6d3db;
}

.dg-process__note strong {
  color: #fff;
}

/* Cases */
.dg-home-cases {
  background: var(--dg-surface-soft);
}

.dg-home-cases__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.dg-case {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--dg-line);
  border-radius: var(--dg-radius);
  background: #fff;
  box-shadow: var(--dg-shadow);
}

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

.dg-case__body {
  padding: 24px;
}

.dg-case__meta {
  margin-bottom: 8px;
  padding-left: 9px;
  border-left: 3px solid var(--dg-green);
  color: var(--dg-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.dg-case h3 {
  margin-bottom: 10px;
}

.dg-case__body > p:not(.dg-case__meta) {
  min-height: 78px;
  color: var(--dg-muted);
  font-size: 15px;
}

.dg-case a,
.dg-start-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--dg-navy);
  font-size: 14px;
  font-weight: 750;
}

.dg-case a:hover,
.dg-start-card a:hover {
  color: var(--dg-navy-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dg-home-center-link {
  margin-top: 30px;
  text-align: center;
}

/* Start options */
.dg-home-start {
  background: #fff;
}

.dg-home-start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.dg-start-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px;
  border: 1px solid var(--dg-line);
  border-radius: var(--dg-radius);
  background: #fff;
  box-shadow: var(--dg-shadow);
}

.dg-start-card--featured {
  border-top: 4px solid var(--dg-green);
  padding-top: 27px;
  background: #f7fbf8;
}

.dg-start-card__price {
  margin-bottom: 18px;
  color: var(--dg-navy);
  font-size: 14px;
  font-weight: 850;
}

.dg-start-card h3 {
  margin-bottom: 14px;
}

.dg-start-card > p:not(.dg-start-card__price) {
  color: var(--dg-muted);
}

.dg-start-card__fit {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--dg-line);
  font-size: 14px;
}

.dg-start-card__fit strong {
  color: var(--dg-ink);
}

.dg-start-card a {
  margin-top: auto;
  padding-top: 22px;
}

/* Authority */
.dg-home-authority {
  background: var(--dg-surface-soft);
}

.dg-home-authority__grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: center;
  gap: 70px;
}

.dg-home-authority__media {
  max-width: 340px;
}

.dg-home-authority__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: var(--dg-radius);
  object-fit: cover;
  box-shadow: var(--dg-shadow);
}

.dg-home-authority__media figcaption {
  margin-top: 12px;
  color: var(--dg-muted);
  font-size: 13px;
}

.dg-home-authority__content {
  max-width: 720px;
}

.dg-home-authority__content h2 {
  margin-bottom: 20px;
}

.dg-home-authority__content > p:not(.dg-kicker) {
  color: var(--dg-muted);
  font-size: 18px;
}

.dg-home-authority__content ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
  list-style: none;
}

.dg-home-authority__content li {
  position: relative;
  padding-left: 26px;
  color: var(--dg-muted);
}

.dg-home-authority__content li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dg-green);
}

.dg-home-authority__content li strong {
  color: var(--dg-ink);
}

/* Knowledge */
.dg-home-knowledge {
  background: #fff;
}

.dg-home-knowledge__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 50px;
  border-top: 1px solid var(--dg-line);
}

.dg-home-knowledge__grid a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 26px;
  gap: 4px 16px;
  min-height: 116px;
  padding: 24px 6px;
  border-bottom: 1px solid var(--dg-line);
}

.dg-home-knowledge__grid a:hover strong,
.dg-home-knowledge__grid a:hover i {
  color: var(--dg-navy-deep);
}

.dg-home-knowledge__grid span,
.dg-home-knowledge__grid strong {
  grid-column: 1;
  display: block;
}

.dg-home-knowledge__grid span {
  color: var(--dg-navy);
  font-size: 13px;
  font-weight: 750;
}

.dg-home-knowledge__grid strong {
  color: var(--dg-navy);
  font-size: 17px;
  line-height: 1.45;
}

.dg-home-knowledge__grid i {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  color: var(--dg-navy);
  font-style: normal;
  font-size: 22px;
}

/* FAQ */
.dg-home-faq {
  background: var(--dg-surface-soft);
}

.dg-home-faq__layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: 70px;
  align-items: start;
}

.dg-home-faq .dg-home-heading {
  position: sticky;
  top: 112px;
  margin-bottom: 0;
}

.dg-home-faq__list {
  border-top: 1px solid #becdc5;
}

.dg-home-faq__item {
  border-bottom: 1px solid #becdc5;
}

.dg-home-faq__item summary {
  position: relative;
  padding: 23px 48px 23px 0;
  color: var(--dg-navy);
  font-size: 18px;
  font-weight: 750;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

.dg-home-faq__item summary::-webkit-details-marker {
  display: none;
}

.dg-home-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 18px;
  right: 4px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--dg-green);
  border-radius: 50%;
  color: var(--dg-navy);
  font-size: 20px;
  font-weight: 500;
}

.dg-home-faq__item[open] summary::after {
  content: "−";
}

.dg-home-faq__item p {
  max-width: 720px;
  padding: 0 48px 24px 0;
  color: var(--dg-muted);
}

/* Final CTA */
.dg-home-final {
  padding-block: 72px;
  color: #dbe7ed;
  background: var(--dg-navy-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.dg-home-final__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  align-items: center;
  gap: 70px;
}

.dg-home-final h2 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #fff;
}

.dg-home-final p:not(.dg-kicker) {
  max-width: 700px;
  color: #c1d0d8;
  font-size: 17px;
}

.dg-home-final__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 15px;
}

.dg-home-final__actions > a:not(.dg-button) {
  color: #fff;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.dg-home-final__actions > a.dg-button--light,
.dg-home-final__actions > a.dg-button--light:hover {
  color: var(--dg-navy);
  text-decoration: none;
}

/* Shared footer */
.sb-footer {
  padding: 64px 0 0;
  color: #dbe7ed;
  background: var(--dg-navy-deep);
}

.sb-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(3, minmax(150px, 1fr));
  gap: 42px;
  align-items: start;
}

.sb-footer__col {
  min-width: 0;
}

.sb-footer__brand {
  display: inline-flex !important;
  width: 190px;
  margin-bottom: 18px;
}

.sb-footer__brand img {
  width: 190px;
  height: auto;
}

.sb-footer__tag {
  max-width: 390px;
  color: #afc0ca;
  font-size: 14px;
  line-height: 1.65;
}

.sb-footer__contact {
  margin-top: 16px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.sb-footer__contact a:hover,
.sb-footer__col li a:hover {
  color: var(--dg-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sb-footer__heading {
  margin-bottom: 15px;
  color: #fff;
  font-size: 16px;
}

.sb-footer__col ul {
  display: grid;
  gap: 5px;
  list-style: none;
}

.sb-footer__col li a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #afc0ca;
  font-size: 13px;
  line-height: 1.4;
}

.dg-footer-app {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.dg-footer-app__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.04);
}

.dg-footer-app__link:hover {
  border-color: rgba(34, 197, 94, 0.8);
  background: rgba(255, 255, 255, 0.08);
}

.dg-footer-app__link img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.dg-footer-app__text,
.dg-footer-app__text strong,
.dg-footer-app__text span {
  display: block;
}

.dg-footer-app__text strong {
  color: #fff;
  font-size: 12px;
  line-height: 1.25;
}

.dg-footer-app__text span {
  margin-top: 2px;
  color: #afc0ca;
  font-size: 10px;
  line-height: 1.25;
}

.sb-footer__bottom {
  margin-top: 42px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.sb-footer__copyright {
  color: #8fa3af;
  font-size: 12px;
}

/* Chat launcher; the dialog itself is enhanced by chat.js. */
.sb-chat-widget {
  position: fixed;
  z-index: 2147483000;
  right: 22px;
  bottom: 22px;
}

.sb-chat-widget__trigger {
  position: relative;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 3px solid var(--dg-green);
  border-radius: 50%;
  color: #fff;
  background: var(--dg-navy);
  box-shadow: 0 16px 36px -18px rgba(6, 26, 43, 0.75), 0 0 0 5px rgba(34, 197, 94, 0.12);
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.sb-chat-widget__trigger:hover {
  background: var(--dg-navy-deep);
  transform: translateY(-2px);
}

.sb-chat-widget__window {
  display: none;
}

.sb-chat-widget__window--open {
  display: flex;
}

.sb-chat-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.sb-chat-widget__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.sb-chat-widget__input > input {
  min-width: 0;
}

.sb-chat-widget--cta-visible:not(.sb-chat-widget--open) .sb-chat-widget__trigger,
.sb-chat-widget--footer-visible:not(.sb-chat-widget--open) .sb-chat-widget__trigger {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

/* Motion */
.sb-animate {
  opacity: 1;
  transform: none;
  transition: opacity 420ms ease, transform 420ms ease;
}

.sb-animate--visible,
.sb-animate.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 38px;
  }

  .sb-navbar__menu a,
  .sb-navbar__dropdown-btn {
    padding-inline: 8px;
    font-size: 13px;
  }

  .sb-navbar__tel-label {
    display: none;
  }

  .dg-home-authority__grid {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  :root {
    --dg-gutter: 20px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .sb-navbar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .sb-navbar__toggle {
    display: block;
    justify-self: end;
  }

  .sb-navbar__menu {
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 78px);
    padding: 12px;
    overflow-y: auto;
    border: 1px solid var(--dg-line);
    border-top: 0;
    border-radius: 0 0 8px 8px;
    background: #fff;
    box-shadow: 0 24px 48px -32px rgba(10, 37, 64, 0.62);
  }

  .sb-navbar__menu--open {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    justify-items: stretch;
    align-items: stretch;
    gap: 2px;
    text-align: left;
  }

  .sb-navbar__menu > li,
  .sb-navbar__menu a,
  .sb-navbar__dropdown-btn {
    width: 100%;
  }

  .sb-navbar__menu > li {
    min-width: 0;
    justify-self: stretch;
  }

  .sb-navbar__menu a,
  .sb-navbar__dropdown-btn {
    min-height: 46px;
    justify-content: flex-start;
    padding: 11px 12px;
    font-size: 15px;
    text-align: left;
  }

  .sb-navbar__caret {
    margin-left: auto;
  }

  .sb-navbar__submenu {
    position: static;
    display: none !important;
    width: 100%;
    min-width: 0;
    margin: 2px 0 8px 12px;
    padding: 2px 0 2px 10px;
    border: 0;
    border-left: 2px solid var(--dg-green-soft);
    border-radius: 0;
    box-shadow: none;
  }

  .sb-navbar__has-submenu.sb-submenu--open > .sb-navbar__submenu,
  .sb-navbar__has-submenu.is-open > .sb-navbar__submenu {
    display: grid !important;
  }

  .sb-navbar__submenu a {
    min-height: 44px;
    color: var(--dg-muted);
    font-size: 14px;
  }

  .sb-navbar__tel-label {
    display: inline;
  }

  .dg-home-section {
    padding-block: 76px;
  }

  .dg-home-hero {
    min-height: 640px;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.93) 57%, rgba(255, 255, 255, 0.46) 100%),
      url("/images/degero/degero-hero-home-wood-20260524.webp?v=20260716-home-v3");
    background-position: center, 68% center;
  }

  .dg-home-hero__content {
    max-width: 650px;
  }

  .dg-home-hero__lead {
    font-size: 18px;
  }

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

  .dg-process li:nth-child(2) {
    border-right: 0;
  }

  .dg-process li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.19);
  }

  .dg-process li:first-child,
  .dg-process li:nth-child(3) {
    padding-left: 0;
  }

  .dg-process li:nth-child(2),
  .dg-process li:last-child {
    padding-right: 0;
  }

  .dg-home-cases__grid,
  .dg-home-start__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dg-home-cases__grid > :last-child,
  .dg-home-start__grid > :last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 10px);
  }

  .dg-home-authority__grid {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 38px;
  }

  .dg-home-faq__layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dg-home-faq .dg-home-heading {
    position: static;
  }

  .dg-home-final__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .dg-home-final__actions {
    max-width: 380px;
  }

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

@media (max-width: 640px) {
  :root {
    --dg-gutter: 16px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  h3 {
    font-size: 20px;
  }

  .dg-home-section {
    padding-block: 60px;
  }

  .dg-home-heading {
    margin-bottom: 32px;
  }

  .dg-home-heading h2 {
    margin-bottom: 14px;
  }

  .dg-home-heading > p:last-child {
    font-size: 16px;
  }

  .dg-home-hero {
    min-height: 690px;
    align-items: flex-start;
    background-image:
      linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.97) 70%, rgba(255, 255, 255, 0.76) 100%),
      url("/images/degero/degero-hero-home-wood-20260524.webp?v=20260716-home-v3");
    background-position: center, 70% center;
  }

  @supports (height: 100svh) {
    .dg-home-hero {
      min-height: min(690px, calc(100svh - 78px));
    }
  }

  .dg-home-hero__inner {
    padding-block: 48px 38px;
  }

  .dg-home-hero h1 {
    margin-bottom: 18px;
  }

  .dg-home-hero__lead {
    font-size: 17px;
    line-height: 1.6;
  }

  .dg-home-hero__proof {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }

  .dg-home-hero__proof li,
  .dg-home-hero__proof li:first-child {
    padding: 0 0 0 22px;
    border-right: 0;
  }

  .dg-home-hero__proof strong,
  .dg-home-hero__proof span {
    display: inline;
  }

  .dg-home-hero__proof span::before {
    content: " · ";
  }

  .dg-home-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .dg-button {
    width: 100%;
    white-space: normal;
  }

  .dg-home-routes__grid,
  .dg-home-cases__grid,
  .dg-home-start__grid,
  .dg-home-knowledge__grid {
    grid-template-columns: 1fr;
  }

  .dg-route {
    grid-template-columns: 38px minmax(0, 1fr);
    min-height: 0;
    padding: 24px 20px;
  }

  .dg-home-cases__grid > :last-child,
  .dg-home-start__grid > :last-child {
    grid-column: auto;
    max-width: none;
  }

  .dg-case__body > p:not(.dg-case__meta) {
    min-height: 0;
  }

  .dg-process {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .dg-process li,
  .dg-process li:first-child,
  .dg-process li:nth-child(2),
  .dg-process li:nth-child(3),
  .dg-process li:last-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.19);
  }

  .dg-process li > span {
    margin-bottom: 12px;
  }

  .dg-start-card {
    padding: 24px 20px;
  }

  .dg-start-card--featured {
    padding-top: 21px;
  }

  .dg-home-authority__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .dg-home-authority__media {
    max-width: 240px;
  }

  .dg-home-authority__content > p:not(.dg-kicker) {
    font-size: 16px;
  }

  .dg-home-knowledge__grid {
    column-gap: 0;
  }

  .dg-home-knowledge__grid a {
    min-height: 100px;
  }

  .dg-home-faq__item summary {
    padding-block: 20px;
    font-size: 17px;
  }

  .dg-home-faq__item summary::after {
    top: 15px;
  }

  .dg-home-final {
    padding-block: 56px;
  }

  .sb-footer {
    padding-top: 50px;
  }

  .sb-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 22px;
  }

  .sb-footer__grid > .sb-footer__col:first-child {
    grid-column: 1 / -1;
  }

  .sb-footer__col li a {
    min-height: 44px;
  }

  .sb-footer__bottom {
    padding-right: 68px;
  }

  .sb-chat-widget {
    right: 16px;
    bottom: 16px;
  }

  .sb-chat-widget__trigger {
    width: 56px !important;
    height: 56px !important;
    box-shadow: 0 14px 30px -18px rgba(6, 26, 43, 0.8) !important;
  }
}

@media (max-width: 374px) {
  h1 {
    font-size: 33px;
  }

  h2 {
    font-size: 28px;
  }

  .sb-navbar__brand,
  .sb-navbar__brand img {
    width: 150px !important;
  }

  .dg-home-hero {
    min-height: 690px;
  }

  .dg-home-hero__inner {
    padding-block: 38px 26px;
  }

  .dg-home-hero h1 {
    margin-bottom: 14px;
  }

  .dg-home-hero__lead {
    font-size: 16px;
    line-height: 1.55;
  }

  .dg-home-hero__proof {
    gap: 8px;
    margin-top: 20px;
  }

  .dg-home-actions {
    margin-top: 22px;
  }

  .sb-footer__grid {
    grid-template-columns: 1fr;
  }

  .sb-footer__grid > .sb-footer__col:first-child {
    grid-column: auto;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .sb-animate {
    opacity: 1;
    transform: none;
  }
}
