.home-solutions-premium {
  --hs-ink: #10202b;
  --hs-muted: #6a7780;
  --hs-line: rgba(16, 32, 43, 0.1);
  --hs-line-strong: rgba(16, 32, 43, 0.16);
  --hs-accent: #ef624f;
  --hs-green: #75a58d;
  --hs-blue: #9ec5ea;
  --hs-sand: #d9b77a;
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.86), transparent 26%),
    linear-gradient(180deg, #f7f9f8 0%, #f3f6f5 100%);
  color: var(--hs-ink);
}

.home-solutions-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background:
    linear-gradient(rgba(16, 32, 43, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 43, 0.028) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 84%, transparent 100%);
}

.home-solutions-premium .hs-shell {
  position: relative;
  z-index: 1;
}

.hs-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: 76px;
  align-items: end;
  margin-bottom: 34px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.68s ease, transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.hs-compact-delivery .hs-heading {
  grid-template-columns: minmax(0, 780px);
  gap: 0;
}

.hs-heading.is-visible,
.hs-stage.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--hs-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.hs-eyebrow::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hs-heading h2 {
  max-width: 760px;
  margin: 0;
  color: var(--hs-ink);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: 0;
}

.hs-heading-side {
  padding-bottom: 2px;
}

.hs-heading-side p {
  margin: 0 0 22px;
  color: var(--hs-muted);
  font-size: 16px;
  line-height: 1.85;
}

.hs-all-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--hs-ink);
  font-size: 15px;
  font-weight: 700;
}

.hs-all-link i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--hs-line-strong);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  font-style: normal;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.hs-all-link:hover i {
  color: #fff;
  background: var(--hs-ink);
  transform: rotate(45deg);
}

.hs-heading-visual {
  position: relative;
  height: clamp(138px, 13vw, 184px);
  margin: 28px 0 0;
  overflow: hidden;
  background: #fff;
  isolation: isolate;
}

.hs-heading-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 249, 248, 0.72), transparent 42%);
}

.hs-heading-visual img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 64% 50%;
}

.hs-stage {
  opacity: 0.18;
  transform: translateY(22px);
  transition:
    opacity 0.75s ease 0.06s,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}

.hs-loop-panel {
  position: relative;
  display: grid;
  box-sizing: border-box;
  min-height: 292px;
  grid-template-columns: minmax(390px, 0.5fr) minmax(0, 1.5fr);
  column-gap: clamp(54px, 5.4vw, 96px);
  padding: 16px clamp(28px, 3.2vw, 56px) 24px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(ellipse at 66% 50%, rgba(217, 183, 122, 0.11), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(253, 253, 250, 0.92) 58%, rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: none;
}

.hs-loop-panel::before {
  display: none;
  content: "";
  pointer-events: none;
}

.hs-loop-intro {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 44px clamp(24px, 2.4vw, 40px) 42px 0;
  border-right: 0;
}

.hs-loop-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--hs-accent);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0;
}

.hs-loop-label::before {
  width: 20px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: currentColor;
  box-shadow: none;
}

.hs-loop-intro h3 {
  max-width: 510px;
  margin: 0;
  color: var(--hs-ink);
  font-size: clamp(30px, 2.05vw, 41px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
}

.hs-loop-intro p {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--hs-muted);
  font-size: 15px;
  line-height: 1.95;
}

.hs-loop-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 32px;
  max-width: 520px;
}

.hs-loop-meta span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 0;
  padding: 0 0 0 18px;
  border: 0;
  background: transparent;
  color: #53626b;
  font-size: 12.5px;
  font-weight: 700;
}

.hs-loop-meta span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--hs-accent);
  box-shadow: none;
  transform: translateY(-50%);
}

.hs-loop-meta b {
  display: none;
  margin-right: 9px;
  color: var(--hs-accent);
  font-size: 11px;
}

.hs-loop-map {
  --mx: 64%;
  --my: 42%;
  --loop-gap: 18px;
  --loop-card-col: calc((100% - (var(--loop-gap) * 3)) / 4);
  position: relative;
  min-width: 0;
  padding: 34px 0 16px;
}

.hs-loop-map::before {
  display: none;
  content: "";
}

.hs-loop-glow {
  display: none;
}

.hs-loop-axis {
  position: absolute;
  left: 0;
  right: 0;
  top: 42px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--loop-gap);
  align-items: center;
  pointer-events: none;
}

.hs-loop-axis::before {
  content: "";
  position: absolute;
  left: calc(var(--loop-card-col) / 2);
  right: calc(var(--loop-card-col) / 2);
  top: 50%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(16, 32, 43, 0.1), rgba(16, 32, 43, 0.1), transparent);
}

.hs-loop-axis i {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 38px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 32, 43, 0.13);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.82),
    0 8px 18px rgba(20, 40, 46, 0.08);
  transition: width 0.32s ease, background 0.32s ease, box-shadow 0.32s ease, opacity 0.32s ease;
}

.hs-loop-panel[data-active="0"] .hs-loop-axis i:nth-child(1),
.hs-loop-panel[data-active="1"] .hs-loop-axis i:nth-child(2),
.hs-loop-panel[data-active="2"] .hs-loop-axis i:nth-child(3),
.hs-loop-panel[data-active="3"] .hs-loop-axis i:nth-child(4) {
  width: 64px;
  background: linear-gradient(90deg, var(--hs-accent), #d9b77a);
  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(239, 98, 79, 0.14);
  opacity: 1;
}

.hs-loop-steps {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--loop-gap);
  padding-top: 76px;
}

.hs-loop-step {
  position: relative;
  display: flex;
  min-height: 176px;
  flex-direction: column;
  justify-content: flex-start;
  padding: 38px 34px 30px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 43, 0.075);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 250, 0.9));
  color: var(--hs-ink);
  box-shadow: 0 18px 42px rgba(20, 40, 46, 0.045);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.hs-loop-step::before {
  content: "";
  display: none;
  position: absolute;
  left: 34px;
  right: auto;
  top: 0;
  width: 60px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  background: var(--hs-accent);
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

.hs-loop-step::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 30px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(16, 32, 43, 0.055);
  border-radius: 12px;
  background:
    var(--hs-icon) center / 21px 21px no-repeat,
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 249, 248, 0.78));
  opacity: 0.82;
  transform: none;
  transition: opacity 0.32s ease, transform 0.32s ease, filter 0.32s ease;
}

.hs-loop-step[data-scene="brief"] {
  --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2395a4aa' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3.5h7.4L18 7.1v13.4H7z'/%3E%3Cpath d='M14 3.8V8h4'/%3E%3Cpath d='M9.5 12h5'/%3E%3Cpath d='M9.5 15.5h4'/%3E%3C/svg%3E");
}

.hs-loop-step[data-scene="content"] {
  --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef624f' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 6h14'/%3E%3Cpath d='M5 10h9'/%3E%3Cpath d='M5 14h14'/%3E%3Cpath d='M5 18h11'/%3E%3C/svg%3E");
}

.hs-loop-step[data-scene="launch"] {
  --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375a58d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='14' rx='2'/%3E%3Cpath d='M4 9h16'/%3E%3Cpath d='m8.5 14 2.2 2.2 4.8-5'/%3E%3C/svg%3E");
}

.hs-loop-step[data-scene="growth"] {
  --hs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2382aaca' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19h16'/%3E%3Cpath d='M7 16v-3'/%3E%3Cpath d='M12 16V8'/%3E%3Cpath d='M17 16V5'/%3E%3Cpath d='m5.5 10.5 4-3 3 2.4 5-6'/%3E%3C/svg%3E");
}

.hs-loop-step span,
.hs-loop-step strong,
.hs-loop-step small,
.hs-loop-step em {
  position: relative;
  z-index: 2;
}

.hs-loop-step span {
  position: absolute;
  left: 34px;
  top: 36px;
  color: #a6b0b5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hs-loop-step strong {
  display: block;
  color: var(--hs-ink);
  margin-top: 52px;
  padding-right: 48px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.28;
}

.hs-loop-step small {
  display: block;
  min-height: 54px;
  margin-top: 15px;
  padding-right: 10px;
  color: var(--hs-muted);
  font-size: 14px;
  line-height: 1.9;
}

.hs-loop-step em {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin-top: auto;
  padding-top: 20px;
  border: 0;
  color: rgba(16, 32, 43, 0.52);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  opacity: 0.72;
}

.hs-loop-step.is-active,
.hs-loop-step:hover,
.hs-loop-step:focus-visible {
  border-color: rgba(239, 98, 79, 0.18);
  background: linear-gradient(180deg, #fff, rgba(255, 252, 248, 0.96));
  box-shadow: 0 26px 54px rgba(20, 40, 46, 0.078);
  transform: translateY(-4px);
}

.hs-loop-step.is-active::before,
.hs-loop-step:hover::before,
.hs-loop-step:focus-visible::before {
  transform: none;
}

.hs-loop-step.is-active::after,
.hs-loop-step:hover::after,
.hs-loop-step:focus-visible::after {
  opacity: 1;
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 18px rgba(20, 40, 46, 0.08));
}

.hs-loop-step.is-active span,
.hs-loop-step:hover span,
.hs-loop-step:focus-visible span {
  color: var(--hs-accent);
}

.hs-loop-status {
  display: none;
}

.hs-loop-status b {
  width: 38px;
  height: 38px;
  grid-row: span 2;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 98, 79, 0.32), rgba(117, 165, 141, 0.18));
}

.hs-loop-status span,
.hs-loop-status i {
  height: 8px;
  border-radius: 999px;
  background: rgba(16, 32, 43, 0.12);
}

.hs-loop-status i:nth-of-type(1) { width: 88%; }
.hs-loop-status i:nth-of-type(2) { width: 64%; }
.hs-loop-status i:nth-of-type(3) { display: none; }

@media (max-width: 1280px) {
  .home-solutions-premium {
    padding: 74px 0 84px;
  }

  .hs-heading h2 {
    font-size: 43px;
  }

  .hs-loop-intro {
    padding: 34px 0;
  }

  .hs-loop-intro h3 {
    font-size: 30px;
  }

  .hs-loop-map {
    padding: 30px 0 22px;
  }

  .hs-loop-step {
    padding: 30px 22px 24px;
  }

  .hs-loop-step strong {
    font-size: 20px;
  }
}

@media (max-width: 1024px) {
  .hs-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hs-heading-side p {
    max-width: 720px;
  }

  .hs-heading-visual {
    max-width: 720px;
    height: clamp(152px, 24vw, 230px);
  }

  .hs-loop-panel {
    grid-template-columns: 1fr;
  }

  .hs-loop-intro {
    border-right: 0;
    border-bottom: 0;
    padding: 28px 0 24px;
  }

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

  .hs-loop-axis {
    display: none;
  }
}

@media (max-width: 767px) {
  .home-solutions-premium {
    padding: 54px 0 60px;
  }

  .hs-heading {
    margin-bottom: 26px;
  }

  .hs-eyebrow {
    font-size: 12px;
  }

  .hs-eyebrow::before {
    width: 24px;
  }

  .hs-heading h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .hs-heading-side p {
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.75;
  }

  .hs-heading-visual {
    height: clamp(136px, 42vw, 194px);
    margin-top: 20px;
  }

  .hs-loop-panel {
    min-height: 0;
    padding: 0;
    border-radius: 0;
  }

  .hs-loop-panel::before {
    display: none;
  }

  .hs-loop-intro {
    padding: 28px 0 22px;
  }

  .hs-loop-intro h3 {
    max-width: 320px;
    font-size: 25px;
  }

  .hs-loop-intro p {
    font-size: 14px;
  }

  .hs-loop-meta {
    gap: 8px;
    margin-top: 22px;
  }

  .hs-loop-meta span {
    min-height: 0;
    padding: 0 0 0 13px;
    font-size: 12px;
  }

  .hs-loop-map {
    padding: 8px 0 8px;
  }

  .hs-loop-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
    padding: 4px 0 8px;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .hs-loop-steps::-webkit-scrollbar {
    height: 0;
  }

  .hs-loop-step {
    width: auto;
    min-width: 0;
    min-height: 168px;
    box-sizing: border-box;
    padding: 30px 22px 22px;
    scroll-snap-align: none;
  }

  .hs-loop-step::before {
    left: 22px;
    right: auto;
    width: 46px;
  }

  .hs-loop-step::after {
    right: 20px;
    top: 20px;
    width: 38px;
    height: 38px;
  }

  .hs-loop-step span {
    left: 22px;
    top: 30px;
  }

  .hs-loop-step strong {
    margin-top: 42px;
    padding-right: 36px;
    font-size: 18px;
  }

  .hs-loop-step small {
    min-height: 0;
    font-size: 13px;
  }

  .hs-loop-step.is-active,
  .hs-loop-step:hover,
  .hs-loop-step:focus-visible {
    transform: translateY(-4px);
  }

  .hs-loop-status,
  .hs-loop-glow {
    display: none;
  }
}

@media (max-width: 520px) {
  .hs-loop-steps {
    grid-template-columns: 1fr;
  }
}
