/* Fronius System Partner blocks — rendered by sw-partner.js. Type and colours follow the
   Framer site: Anton headlines, Geist text, gold #ebbd55 accents, ink #211f1c. */
.swpt, .swpt *, .swpt-foot, .swpt-foot * { box-sizing: border-box; }

.swpt {
  width: 100%;
  padding: 0 16px 64px;
  font-family: Geist, "Geist Placeholder", Inter, system-ui, sans-serif;
  color: #211f1c;
}
.swpt__card {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  padding: 28px 22px 30px;
  border-radius: 20px;
  background: #211f1c;
  color: rgba(242, 238, 230, 0.8);
  overflow: hidden;
  isolation: isolate;
}
/* soft gold glow behind the badge */
.swpt__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  left: -160px;
  top: -200px;
  background: radial-gradient(closest-side, rgba(235, 189, 85, 0.28), rgba(235, 189, 85, 0));
}

.swpt__badge {
  justify-self: start;
  width: min(52vw, 200px);
  padding: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: rotate(-2deg);
}
.swpt__badge img { display: block; width: 100%; height: auto; border-radius: 16px; }

.swpt__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ebbd55;
}
.swpt__title {
  margin: 0 0 16px;
  font-family: Anton, "Anton Placeholder", Impact, sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1.08;
  text-transform: uppercase;
  color: #fff;
}
.swpt__lead { margin: 0 0 24px; font-size: 16px; line-height: 1.55; max-width: 56ch; }

.swpt__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.swpt__facts li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.swpt__facts b { display: block; color: #fff; font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.swpt__ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #ebbd55;
}
.swpt__ico svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #211f1c;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (min-width: 810px) {
  .swpt { padding: 0 32px 96px; }
  .swpt__card {
    grid-template-columns: 300px 1fr;
    align-items: center;
    gap: 56px;
    padding: 56px 56px 56px 64px;
  }
  .swpt__badge { width: 100%; justify-self: stretch; }
  .swpt__title { font-size: 48px; }
  .swpt__facts { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .swpt__facts li { flex-direction: column; gap: 12px; }
}
@media (min-width: 1200px) {
  .swpt__card { grid-template-columns: 340px 1fr; gap: 72px; }
  .swpt__title { font-size: 56px; }
}

/* badge inside the Framer footer card */
.swpt-foot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 12px 16px 12px 12px;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(33, 31, 28, 0.1);
  border-radius: 14px;
  background: #fff;
  font-family: Geist, "Geist Placeholder", Inter, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(33, 31, 28, 0.65);
}
.swpt-foot img { flex: none; width: 72px; height: 72px; border-radius: 8px; display: block; }
.swpt-foot b { display: block; font-size: 15px; font-weight: 600; color: #211f1c; margin-bottom: 2px; }
