:root {
  --st-bg: #eef3f7;
  --st-card: #ffffff;
  --st-card-soft: #f6f9fc;
  --st-text: #162430;
  --st-muted: #6b7a89;
  --st-line: #c5d4e2;
  --st-accent: #1b8cab;
  --st-accent-dark: #123443;
  --st-shadow: 0 18px 46px rgba(21, 43, 61, .08);
  --st-radius-xl: 30px;
  --st-radius-lg: 24px;
  --st-radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.st-posm-body {
  margin: 0;
  min-width: 320px;
  color: var(--st-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(27, 140, 171, .08), transparent 280px),
    linear-gradient(180deg, #f7fafc 0%, var(--st-bg) 100%);
}

a { color: inherit; }

.st-posm-shell {
  width: min(1100px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 40px;
}

.st-posm-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.st-posm-logo {
  display: inline-flex;
  align-items: center;
  padding: 10px 0;
  text-decoration: none;
}
.st-posm-logo img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}

.st-posm-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--st-line);
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(21, 43, 61, .06);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.st-posm-hero,
.st-posm-panel,
.st-posm-checks {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(197, 212, 226, .92);
  border-radius: var(--st-radius-xl);
  box-shadow: var(--st-shadow);
}

.st-posm-hero {
  padding: clamp(24px, 4vw, 36px);
}

.st-posm-kicker,
.st-form-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #cb7824;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.st-posm-copy h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(31px, 5vw, 54px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.st-posm-copy p {
  margin: 16px 0 0;
  max-width: 780px;
  color: var(--st-muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.55;
}

.st-posm-note {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eaf8fc;
  color: var(--st-accent-dark);
  border: 1px solid #d0eaf2;
  font-size: 14px;
  font-weight: 800;
}

.st-posm-panel {
  margin-top: 18px;
  padding: clamp(18px, 3vw, 28px);
}

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

.st-service-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: start;
  gap: 12px;
  min-height: 132px;
  padding: 18px;
  border: 1px solid var(--st-line);
  border-radius: 26px;
  background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.st-service-card::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 12px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  opacity: .25;
  filter: blur(16px);
  background: radial-gradient(circle, rgba(27, 140, 171, .24) 0%, rgba(255,255,255,0) 72%);
}

.st-service-card:nth-child(2)::after { background: radial-gradient(circle, rgba(242, 199, 83, .22) 0%, rgba(255,255,255,0) 72%); }
.st-service-card:nth-child(3)::after { background: radial-gradient(circle, rgba(91, 190, 133, .18) 0%, rgba(255,255,255,0) 72%); }
.st-service-card:nth-child(4)::after { background: radial-gradient(circle, rgba(162, 134, 255, .18) 0%, rgba(255,255,255,0) 72%); }

.st-service-card:hover,
.st-service-card.is-active {
  transform: translateY(-1px);
  border-color: #93b7ca;
  box-shadow: 0 14px 28px rgba(21, 43, 61, .08);
}

.st-service-card.is-active {
  background: linear-gradient(180deg, #fff 0%, #f5fbfe 100%);
}

.st-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--st-line);
  font-size: 26px;
}

.st-service-card__title {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.08;
}

.st-service-card__text {
  display: block;
  margin-top: 8px;
  max-width: 260px;
  color: var(--st-muted);
  font-size: 14px;
  line-height: 1.45;
}

.st-form-stack { margin-top: 18px; }

.st-form-box {
  background: var(--st-card);
  border: 1px solid var(--st-line);
  border-radius: var(--st-radius-lg);
  padding: clamp(18px, 3vw, 26px);
}

.st-form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #e1eaf1;
}

.st-form-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1;
  letter-spacing: -.03em;
}

.st-form-head p {
  max-width: 460px;
  margin: 0;
  color: var(--st-muted);
  font-size: 14px;
  line-height: 1.55;
}

.st-form-grid {
  display: grid;
  gap: 14px;
}

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

.st-field { display: grid; gap: 7px; }
.st-field--full { grid-column: 1 / -1; }

.st-field span {
  color: #2a3b48;
  font-size: 14px;
  font-weight: 800;
}

.st-field input,
.st-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid #d4e0ea;
  border-radius: 16px;
  background: #fff;
  color: var(--st-text);
  font: inherit;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.st-field textarea {
  min-height: 118px;
  resize: vertical;
}

.st-field input:focus,
.st-field textarea:focus {
  border-color: #7cb4c7;
  box-shadow: 0 0 0 4px rgba(27, 140, 171, .10);
}

.st-form-submit {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.st-submit-btn {
  min-width: 260px;
  min-height: 56px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #11212f, #17384a 56%, #1b8cab 100%);
  color: #fff;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 26px rgba(17, 33, 47, .14);
}

.st-submit-btn:disabled {
  opacity: .72;
  cursor: wait;
}

.st-form-status {
  min-height: 24px;
  color: var(--st-muted);
  font-size: 14px;
  line-height: 1.45;
}
.st-form-status.is-success { color: #0e7a49; }
.st-form-status.is-error { color: #b24343; }

.st-hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.st-posm-checks {
  margin-top: 18px;
  padding: clamp(20px, 3vw, 28px);
}

.st-posm-checks h3 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
  letter-spacing: -.03em;
}

.st-posm-checks__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.st-posm-checks__grid > div {
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--st-card-soft);
  border: 1px solid #dde8f0;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .st-form-head {
    display: grid;
    gap: 8px;
  }
  .st-form-grid--2,
  .st-posm-checks__grid {
    grid-template-columns: 1fr;
  }
  .st-form-submit {
    flex-direction: column;
    align-items: stretch;
  }
  .st-submit-btn {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .st-posm-shell {
    width: min(100%, calc(100% - 12px));
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .st-posm-topbar {
    align-items: start;
    gap: 8px;
  }
  .st-posm-logo img { width: 150px; }
  .st-posm-phone {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 12px;
  }
  .st-posm-hero,
  .st-posm-panel,
  .st-posm-checks {
    border-radius: 24px;
  }
  .st-posm-copy h1 {
    font-size: 27px;
    line-height: 1.04;
  }
  .st-posm-copy p {
    font-size: 15px;
  }
  .st-posm-grid {
    gap: 10px;
  }
  .st-service-card {
    grid-template-columns: 1fr;
    gap: 8px;
    min-height: 146px;
    padding: 14px;
    border-radius: 22px;
  }
  .st-service-card__icon {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }
  .st-service-card__title {
    margin-top: 0;
    font-size: 17px;
  }
  .st-service-card__text {
    margin-top: 4px;
    font-size: 13px;
  }
  .st-form-head h2 { font-size: 24px; }
  .st-field span { font-size: 13px; }
}
