.gbtm {
  --gbtm-ink: #18211d;
  --gbtm-muted: #667068;
  --gbtm-forest: #163b2d;
  --gbtm-forest-dark: #0d281e;
  --gbtm-moss: #486753;
  --gbtm-gold: #c9a76b;
  --gbtm-gold-light: #eadbc0;
  --gbtm-paper: #f6f3ec;
  --gbtm-card: #ffffff;
  --gbtm-line: rgba(24, 33, 29, 0.13);
  --gbtm-error: #8f2d2d;
  --gbtm-success: #236344;
  --gbtm-shadow: 0 24px 70px rgba(21, 38, 29, 0.13);
  --gbtm-radius-xl: 32px;
  --gbtm-radius-lg: 22px;
  --gbtm-radius-md: 14px;

  width: min(1240px, calc(100% - 32px));
  margin: clamp(24px, 5vw, 76px) auto;
  color: var(--gbtm-ink);
  font-family: inherit;
}

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

.gbtm button,
.gbtm input,
.gbtm select,
.gbtm textarea {
  font: inherit;
}

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

.gbtm__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--gbtm-radius-xl);
  color: #fff;
  background: var(--gbtm-forest-dark);
  box-shadow: var(--gbtm-shadow);
}

.gbtm__hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 6vw, 78px);
  background:
    radial-gradient(circle at 18% 0%, rgba(201, 167, 107, 0.18), transparent 36%),
    linear-gradient(135deg, var(--gbtm-forest-dark), var(--gbtm-forest));
}

.gbtm__brand {
  align-self: flex-start;
  margin-bottom: clamp(42px, 7vw, 78px);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.gbtm__brand span {
  color: var(--gbtm-gold);
}

.gbtm__eyebrow,
.gbtm__summary-kicker,
.gbtm__step-count {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gbtm__eyebrow {
  color: var(--gbtm-gold-light);
}

.gbtm__title {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 5.4vw, 5.45rem);
  font-weight: 690;
  line-height: 0.96;
  letter-spacing: -0.058em;
}

.gbtm__lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

.gbtm__trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.86rem;
  font-weight: 650;
}

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

.gbtm__trust-row span::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gbtm-gold);
  content: "";
}

.gbtm__hero-image {
  position: relative;
  min-height: 350px;
  background-image:
    linear-gradient(90deg, rgba(22, 59, 45, 0.34), transparent 35%),
    url("tragolv-slipning.jpg");
  background-position: center;
  background-size: cover;
}

.gbtm__hero-image::after {
  position: absolute;
  inset: auto 24px 24px auto;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(13, 40, 30, 0.62);
  backdrop-filter: blur(8px);
  content: "Trägolv • Bohuslän";
  font-size: 0.75rem;
  font-weight: 700;
}

.gbtm__status {
  margin: 22px 0;
  padding: 16px 18px;
  border: 1px solid;
  border-radius: var(--gbtm-radius-md);
  line-height: 1.5;
}

.gbtm__status--success {
  color: var(--gbtm-success);
  border-color: rgba(35, 99, 68, 0.25);
  background: #edf7f1;
}

.gbtm__status--error {
  color: var(--gbtm-error);
  border-color: rgba(143, 45, 45, 0.22);
  background: #fff2f2;
}

.gbtm__workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.65fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.gbtm__form-card,
.gbtm__summary {
  border: 1px solid var(--gbtm-line);
  background: var(--gbtm-card);
  box-shadow: 0 16px 50px rgba(21, 38, 29, 0.08);
}

.gbtm__form-card {
  overflow: hidden;
  border-radius: var(--gbtm-radius-xl);
}

.gbtm__progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(18px, 4vw, 46px);
  border-bottom: 1px solid var(--gbtm-line);
  background: var(--gbtm-paper);
}

.gbtm__progress-step {
  position: relative;
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 10px 6px;
  border: 0;
  color: var(--gbtm-muted);
  background: transparent;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 720;
}

.gbtm__progress-step::after {
  position: absolute;
  right: 6px;
  bottom: -1px;
  left: 6px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: transparent;
  content: "";
}

.gbtm__progress-number {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--gbtm-line);
  border-radius: 50%;
  background: #fff;
  font-size: 0.74rem;
}

.gbtm__progress-step.is-active {
  color: var(--gbtm-forest);
}

.gbtm__progress-step.is-active::after {
  background: var(--gbtm-gold);
}

.gbtm__progress-step.is-complete .gbtm__progress-number {
  color: #fff;
  border-color: var(--gbtm-forest);
  background: var(--gbtm-forest);
}

.gbtm__progress-step:disabled {
  cursor: default;
  opacity: 0.48;
}

.gbtm__form {
  padding: clamp(26px, 5vw, 54px);
}

.gbtm__step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.gbtm--enhanced .gbtm__step:not(.is-active) {
  display: none;
}

.gbtm:not(.gbtm--enhanced) .gbtm__step + .gbtm__step {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--gbtm-line);
}

.gbtm:not(.gbtm--enhanced) [data-next],
.gbtm:not(.gbtm--enhanced) [data-prev],
.gbtm:not(.gbtm--enhanced) .gbtm__progress {
  display: none;
}

.gbtm__step-heading {
  margin-bottom: 30px;
}

.gbtm__step-heading h3,
.gbtm__summary h3,
.gbtm__demo-success h3 {
  margin: 0;
  color: var(--gbtm-ink);
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.gbtm__step-heading p:last-child {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--gbtm-muted);
  line-height: 1.58;
}

.gbtm__step-count,
.gbtm__summary-kicker {
  color: var(--gbtm-moss);
}

.gbtm__field,
.gbtm__field-grid {
  margin-top: 22px;
}

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

.gbtm__field-grid .gbtm__field {
  margin-top: 0;
}

.gbtm__label {
  display: block;
  margin-bottom: 9px;
  color: var(--gbtm-ink);
  font-size: 0.91rem;
  font-weight: 730;
}

.gbtm__field input[type="text"],
.gbtm__field input[type="number"],
.gbtm__field input[type="tel"],
.gbtm__field input[type="email"],
.gbtm__field select,
.gbtm__field textarea {
  width: 100%;
  min-height: 53px;
  padding: 13px 15px;
  border: 1px solid rgba(24, 33, 29, 0.2);
  border-radius: 12px;
  outline: none;
  color: var(--gbtm-ink);
  background: #fff;
  line-height: 1.35;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.gbtm__field textarea {
  min-height: 120px;
  resize: vertical;
}

.gbtm__field input::placeholder,
.gbtm__field textarea::placeholder {
  color: #929990;
}

.gbtm__field input:focus,
.gbtm__field select:focus,
.gbtm__field textarea:focus {
  border-color: var(--gbtm-moss);
  box-shadow: 0 0 0 4px rgba(72, 103, 83, 0.12);
}

.gbtm__field input:user-invalid,
.gbtm__field select:user-invalid,
.gbtm__field textarea:user-invalid {
  border-color: var(--gbtm-error);
}

.gbtm__input-suffix {
  position: relative;
  display: block;
}

.gbtm__input-suffix > span {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--gbtm-muted);
  transform: translateY(-50%);
  pointer-events: none;
  font-weight: 700;
}

.gbtm__input-suffix input {
  padding-right: 52px !important;
}

.gbtm__choices {
  display: grid;
  gap: 12px;
}

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

.gbtm__choice {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.gbtm__choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.gbtm__choice > span {
  position: relative;
  display: flex;
  min-height: 104px;
  flex-direction: column;
  justify-content: center;
  padding: 18px 48px 18px 18px;
  border: 1px solid rgba(24, 33, 29, 0.16);
  border-radius: var(--gbtm-radius-md);
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.gbtm__choice > span::after {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 21px;
  height: 21px;
  border: 1px solid rgba(24, 33, 29, 0.28);
  border-radius: 50%;
  background: #fff;
  content: "";
  box-shadow: inset 0 0 0 5px #fff;
}

.gbtm__choice strong,
.gbtm__choice small {
  display: block;
}

.gbtm__choice strong {
  color: var(--gbtm-ink);
  font-size: 0.96rem;
  line-height: 1.3;
}

.gbtm__choice small {
  margin-top: 5px;
  color: var(--gbtm-muted);
  font-size: 0.83rem;
  line-height: 1.42;
}

.gbtm__choice:hover > span {
  border-color: rgba(72, 103, 83, 0.5);
  transform: translateY(-1px);
}

.gbtm__choice input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(72, 103, 83, 0.17);
}

.gbtm__choice input:checked + span {
  border-color: var(--gbtm-moss);
  background: #f5f8f4;
  box-shadow: inset 0 0 0 1px var(--gbtm-moss);
}

.gbtm__choice input:checked + span::after {
  border-color: var(--gbtm-moss);
  background: var(--gbtm-moss);
}

.gbtm__choice--line > span {
  min-height: 72px;
  padding-block: 14px;
}

.gbtm__dropzone {
  position: relative;
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 96px;
  padding: 18px;
  border: 1px dashed rgba(72, 103, 83, 0.52);
  border-radius: var(--gbtm-radius-md);
  color: var(--gbtm-ink);
  background: #f6f9f5;
  cursor: pointer;
}

.gbtm__dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.gbtm__dropzone-icon {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gbtm-forest);
  font-size: 1.4rem;
}

.gbtm__dropzone strong,
.gbtm__dropzone small {
  display: block;
}

.gbtm__dropzone small {
  margin-top: 4px;
  color: var(--gbtm-muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.gbtm__file-list {
  display: block;
  margin-top: 8px;
  color: var(--gbtm-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.gbtm__consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 24px;
  color: var(--gbtm-muted);
  cursor: pointer;
  font-size: 0.87rem;
  line-height: 1.5;
}

.gbtm__consent input {
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--gbtm-forest);
}

.gbtm__consent a {
  color: var(--gbtm-forest);
  font-weight: 750;
  text-underline-offset: 3px;
}

.gbtm__privacy-note {
  display: grid;
  gap: 3px;
  margin-top: 22px;
  padding: 14px 16px;
  border-left: 3px solid var(--gbtm-gold);
  color: var(--gbtm-muted);
  background: var(--gbtm-paper);
  font-size: 0.82rem;
  line-height: 1.45;
}

.gbtm__privacy-note strong {
  color: var(--gbtm-ink);
}

.gbtm__actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
}

.gbtm__actions--end {
  justify-content: flex-end;
}

.gbtm__button {
  display: inline-flex;
  min-height: 50px;
  gap: 9px;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.89rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.gbtm__button:disabled,
.gbtm__button[aria-busy="true"] {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.gbtm__button:focus-visible,
.gbtm__progress-step:focus-visible {
  outline: 3px solid rgba(201, 167, 107, 0.65);
  outline-offset: 2px;
}

.gbtm__button--primary {
  color: #fff;
  background: var(--gbtm-forest);
  box-shadow: 0 10px 24px rgba(22, 59, 45, 0.2);
}

.gbtm__button--primary:hover {
  background: var(--gbtm-forest-dark);
}

.gbtm__button--ghost {
  color: var(--gbtm-forest);
  border-color: var(--gbtm-line);
  background: #fff;
}

.gbtm__summary {
  position: sticky;
  top: 24px;
  padding: 28px;
  border-radius: var(--gbtm-radius-lg);
}

.gbtm__summary h3 {
  font-size: 1.55rem;
}

.gbtm__summary-list {
  margin: 24px 0 0;
}

.gbtm__summary-list > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--gbtm-line);
}

.gbtm__summary-list dt,
.gbtm__summary-list dd {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
}

.gbtm__summary-list dt {
  color: var(--gbtm-muted);
}

.gbtm__summary-list dd {
  color: var(--gbtm-ink);
  font-weight: 700;
  text-align: right;
}

.gbtm__readiness {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 22px;
  padding: 14px;
  border-radius: 13px;
  background: var(--gbtm-paper);
}

.gbtm__readiness-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--gbtm-gold);
  box-shadow: 0 0 0 5px rgba(201, 167, 107, 0.15);
}

.gbtm__readiness strong,
.gbtm__readiness small {
  display: block;
}

.gbtm__readiness strong {
  font-size: 0.85rem;
  line-height: 1.35;
}

.gbtm__readiness small {
  margin-top: 3px;
  color: var(--gbtm-muted);
  font-size: 0.77rem;
  line-height: 1.4;
}

.gbtm__estimate {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(201, 167, 107, 0.35);
  border-radius: 13px;
  background: #fbf8f1;
}

.gbtm__estimate > span,
.gbtm__estimate strong,
.gbtm__estimate small {
  display: block;
}

.gbtm__estimate > span {
  color: var(--gbtm-muted);
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gbtm__estimate strong {
  margin-top: 5px;
  color: var(--gbtm-forest);
  font-size: 1.18rem;
  line-height: 1.3;
}

.gbtm__estimate small {
  margin-top: 5px;
  color: var(--gbtm-muted);
  font-size: 0.75rem;
  line-height: 1.45;
}

.gbtm__summary-foot {
  margin: 18px 0 0;
  color: var(--gbtm-muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.gbtm__demo-success {
  padding: clamp(42px, 8vw, 88px) clamp(24px, 5vw, 54px);
  text-align: center;
}

.gbtm__demo-success p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--gbtm-muted);
  line-height: 1.6;
}

.gbtm__success-mark {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--gbtm-success);
  font-size: 1.55rem;
  font-weight: 800;
}

.gbtm__trap {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

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

  .gbtm__hero-copy {
    min-height: 410px;
  }

  .gbtm__hero-image {
    min-height: 280px;
    background-position: center 62%;
  }

  .gbtm__brand {
    margin-bottom: 48px;
  }

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

  .gbtm__summary {
    position: static;
  }

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

@media (max-width: 680px) {
  .gbtm {
    width: min(100% - 20px, 1240px);
    margin-block: 10px 38px;
  }

  .gbtm__hero,
  .gbtm__form-card {
    border-radius: 22px;
  }

  .gbtm__hero-copy {
    min-height: 440px;
    padding: 28px 24px 36px;
  }

  .gbtm__hero-image {
    min-height: 220px;
  }

  .gbtm__title {
    font-size: clamp(2.45rem, 14vw, 4.35rem);
  }

  .gbtm__trust-row {
    display: grid;
    gap: 8px;
  }

  .gbtm__progress {
    padding-inline: 8px;
  }

  .gbtm__progress-step {
    min-height: 65px;
  }

  .gbtm__progress-number {
    font-size: 0.74rem;
  }

  .gbtm__progress-label {
    display: none;
  }

  .gbtm__form {
    padding: 30px 20px;
  }

  .gbtm__choices--tiles,
  .gbtm__field-grid,
  .gbtm__summary-list {
    grid-template-columns: 1fr;
  }

  .gbtm__choice > span {
    min-height: 86px;
  }

  .gbtm__summary {
    padding: 22px 20px;
  }

  .gbtm__summary-list > div {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .gbtm__actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .gbtm__actions--end {
    flex-direction: column;
  }

  .gbtm__button {
    width: 100%;
  }
}

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