.sphp-wrap {
  --sphp-image-translate-x: 0px;
  --sphp-image-translate-y: 0px;
  position: relative;
  overflow: hidden;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 14% 16%, rgba(170, 204, 177, 0.18) 0, rgba(170, 204, 177, 0.06) 18%, transparent 38%),
    radial-gradient(circle at 84% 18%, rgba(176, 214, 185, 0.12) 0, rgba(176, 214, 185, 0.04) 18%, transparent 38%),
    linear-gradient(180deg, #f7faf5 0%, #f3f7f2 100%);
  border: 1px solid rgba(54, 88, 61, 0.12);
  box-shadow: 0 18px 40px rgba(25, 47, 30, 0.08), inset 0 1px 0 rgba(255,255,255,0.85);
  color: #183021;
}
.sphp-wrap *, .sphp-wrap *::before, .sphp-wrap *::after { box-sizing: border-box; }
.sphp-grid, .sphp-side-formula { position: absolute; inset: 0; pointer-events: none; }
.sphp-grid-fine {
  background-image:
    linear-gradient(rgba(41, 79, 52, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 79, 52, 0.08) 1px, transparent 1px);
  background-size: 10px 10px;
}
.sphp-grid-major {
  background-image:
    linear-gradient(rgba(41, 79, 52, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(41, 79, 52, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.sphp-side-formula {
  inset: 10px 16px auto auto;
  width: auto;
  height: auto;
  color: rgba(25, 58, 35, 0.18);
  font: 600 10px/1.2 Orbitron, Rajdhani, Arial, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.sphp-hero-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 24px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,0.56);
  border: 1px solid rgba(47, 82, 56, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
  backdrop-filter: blur(2px);
}
.sphp-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 6px 4px 6px 6px;
}
.sphp-eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #33543b;
  background: rgba(120, 162, 131, 0.12);
  border: 1px solid rgba(76, 114, 86, 0.14);
  font: 600 12px/1.2 Orbitron, Rajdhani, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sphp-title {
  margin: 0;
  color: #143422;
  font: 700 clamp(30px, 4.2vw, 56px)/0.98 Orbitron, Rajdhani, Arial, sans-serif;
  letter-spacing: -.03em;
}
.sphp-subtitle {
  margin-top: 12px;
  color: #3d5e46;
  font: 600 18px/1.35 Rajdhani, Arial, sans-serif;
}
.sphp-description {
  margin-top: 24px;
  color: #315039;
  font: 600 18px/1.48 Rajdhani, Arial, sans-serif;
  white-space: pre-line;
  max-width: 680px;
}
.sphp-button-slot {
  --sphp-button-offset-x: 0px;
  --sphp-button-offset-y: 0px;
  margin-top: 22px;
  display: inline-flex;
  width: fit-content;
  transform: translate(var(--sphp-button-offset-x), var(--sphp-button-offset-y));
}
.sphp-visual-card {
  position: relative;
  min-height: 420px;
  height: 420px;
  border-radius: 22px;
  overflow: hidden;
  padding: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.82), rgba(246,249,245,0.92)),
    radial-gradient(circle at 80% 16%, rgba(174, 214, 183, 0.16), transparent 32%);
  border: 1px solid rgba(55, 88, 63, 0.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.82);
}
.sphp-visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(38, 71, 47, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 71, 47, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.sphp-visual-caption {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  color: rgba(45, 78, 54, 0.42);
  font: 600 11px/1.2 Orbitron, Rajdhani, Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.sphp-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(18, 47, 29, 0.028);
  font: 700 clamp(70px, 13vw, 180px)/0.9 Orbitron, Rajdhani, Arial, sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}
.sphp-image-stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.sphp-image-stage-stretch { justify-content: stretch; }
.sphp-image-stage-empty::before,
.sphp-image-stage-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(39, 71, 48, 0.08);
}
.sphp-image-stage-empty::after {
  inset: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(115, 158, 125, 0.08), rgba(115, 158, 125, 0) 58%),
    linear-gradient(180deg, rgba(255,255,255,0.48), rgba(255,255,255,0));
}
.sphp-image {
  position: relative;
  z-index: 2;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: 420px;
  object-fit: contain;
  object-position: 50% 50%;
  margin: 0;
  transform: translate(var(--sphp-image-translate-x), var(--sphp-image-translate-y));
  filter: drop-shadow(0 18px 24px rgba(17, 38, 23, 0.14));
}
.sphp-image-stage-stretch .sphp-image {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
}
.sphp-image-placeholder-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(54, 88, 61, 0.12);
  color: rgba(45, 78, 54, 0.72);
  font: 600 11px/1.2 Orbitron, Rajdhani, Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
@media (max-width: 1024px) {
  .sphp-hero-card {
    grid-template-columns: 1fr;
  }
  .sphp-copy {
    order: 1;
  }
  .sphp-visual-card {
    order: 2;
  }
}
@media (max-width: 767px) {
  .sphp-wrap {
    padding: 12px;
    border-radius: 24px;
  }
  .sphp-hero-card {
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
  }
  .sphp-copy {
    align-items: center;
    text-align: center;
    padding: 0;
  }
  .sphp-eyebrow,
  .sphp-button-slot {
    width: auto;
    justify-content: center;
  }
  .sphp-description,
  .sphp-subtitle {
    text-align: center;
  }
  .sphp-visual-card {
    min-height: 0;
  }
}
