:root {
  --ppc-blue: #202877;
  --ppc-blue-dark: #161c54;
  --ppc-purple: #6730e3;
  --ppc-wa: #0f6b4c;
  --ppc-bg: #f6f7fb;
  --ppc-card: #ffffff;
  --ppc-text: #1b1f33;
  --ppc-muted: #4a5068;
  --ppc-line: #e4e7f0;
  --ppc-radius: 12px;
  --ppc-wrap: 1120px;
  --ppc-shadow: 0 8px 24px rgba(32, 40, 119, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
  overflow-x: hidden;
}

body.ppc-page {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ppc-text);
  background: #fff;
  line-height: 1.55;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ppc-blue); }
a:hover { color: var(--ppc-purple); }
:focus-visible {
  outline: 2px solid var(--ppc-purple);
  outline-offset: 3px;
}

.ppc-skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ppc-blue);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.ppc-skip:focus { top: 12px; }

.ppc-wrap {
  width: min(100% - 32px, var(--ppc-wrap));
  margin-inline: auto;
}

.ppc-header {
  background: #fff;
  border-bottom: 1px solid var(--ppc-line);
}
.ppc-header__inner {
  width: min(100% - 32px, var(--ppc-wrap));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.ppc-logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  cursor: default;
}
.ppc-logo img {
  width: auto;
  height: 40px;
  max-width: 190px;
}
.ppc-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  min-width: 0;
}
.ppc-header__actions .ppc-btn {
  white-space: nowrap;
  flex: 0 0 auto;
}
.ppc-header__phone {
  color: var(--ppc-blue);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.ppc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-size: 16px;
  line-height: 1.2;
}
.ppc-btn--primary { background: var(--ppc-blue); color: #fff; }
.ppc-btn--primary:hover { background: var(--ppc-blue-dark); color: #fff; }
.ppc-btn--wa { background: var(--ppc-wa); color: #fff; }
.ppc-btn--wa:hover { background: #0b513a; color: #fff; }
.ppc-btn--ghost {
  background: transparent;
  color: var(--ppc-blue);
  border: 2px solid var(--ppc-blue);
}
.ppc-btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.ppc-btn--block { width: 100%; }
.ppc-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

.ppc-hero {
  padding: 28px 0 36px;
  background: linear-gradient(180deg, #f7f8fd 0%, #fff 100%);
}
.ppc-hero__grid {
  display: grid;
  gap: 28px;
}
.ppc-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ppc-blue);
}
.ppc-hero .ppc-lead { font-size: 1.05rem; color: var(--ppc-muted); margin: 0 0 20px; }
.ppc-promise {
  margin: 16px 0 0;
  color: var(--ppc-muted);
  font-size: 0.95rem;
}
.ppc-hero__visual {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #e8ebf6;
  box-shadow: var(--ppc-shadow);
}
.ppc-hero__visual svg,
.ppc-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ppc-logos { margin-top: 28px; }
.ppc-logos__label {
  margin: 0 0 12px;
  color: var(--ppc-muted);
  font-size: 0.92rem;
}
.ppc-logos__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding: 0;
  margin: 0;
  align-items: center;
}
.ppc-logos__list img {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: grayscale(0.15);
}

.ppc-section { padding: 64px 0; }
.ppc-section--alt { background: var(--ppc-bg); }
.ppc-section h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
  color: var(--ppc-blue);
  letter-spacing: -0.02em;
}
.ppc-lead { color: var(--ppc-muted); max-width: 68ch; }

.ppc-cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}
.ppc-card {
  background: var(--ppc-card);
  border: 1px solid var(--ppc-line);
  border-radius: var(--ppc-radius);
  padding: 20px;
  box-shadow: var(--ppc-shadow);
}
.ppc-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--ppc-blue); }
.ppc-card p { margin: 0; color: var(--ppc-muted); }
.ppc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #eceef8;
  color: var(--ppc-blue);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}
.ppc-icon svg { width: 22px; height: 22px; }

.ppc-diff {
  background: var(--ppc-blue);
  color: #fff;
  border-radius: 20px;
  padding: 32px 24px;
}
.ppc-diff h2,
.ppc-diff p { color: #fff; }
.ppc-diff p { opacity: 0.92; max-width: 54ch; }

.ppc-steps {
  display: grid;
  gap: 16px;
  margin-top: 24px;
  counter-reset: step;
}
.ppc-step {
  background: #fff;
  border: 1px solid var(--ppc-line);
  border-radius: var(--ppc-radius);
  padding: 20px 20px 20px 72px;
  position: relative;
}
.ppc-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 16px;
  top: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ppc-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.ppc-step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.ppc-step p { margin: 0; color: var(--ppc-muted); }

.ppc-feature-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}
.ppc-feature-card {
  background: var(--ppc-card);
  border: 1px solid var(--ppc-line);
  border-radius: var(--ppc-radius);
  padding: 22px;
  box-shadow: 0 4px 14px rgba(32, 40, 119, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}
.ppc-feature-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ppc-blue);
}
.ppc-feature-card p {
  margin: 0;
  color: var(--ppc-muted);
  font-size: 0.98rem;
  line-height: 1.5;
}
.ppc-feature-card__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ppc-muted);
  opacity: 0.92;
}
.ppc-feature-card__media {
  margin: 0 0 4px;
  border-radius: 10px;
  overflow: hidden;
}
.ppc-feature-card__media img {
  width: 100%;
  height: auto;
  display: block;
}
.ppc-mini-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}
.ppc-mini-pill {
  font-size: 0.85rem;
  color: var(--ppc-blue);
  background: #eceef8;
  padding: 5px 11px;
  border-radius: 999px;
  line-height: 1.3;
}
.ppc-section--tight { padding: 48px 0; }
.ppc-steps--compact .ppc-step {
  padding: 18px 16px 18px 64px;
}
.ppc-steps--compact .ppc-step::before {
  width: 36px;
  height: 36px;
  top: 16px;
  font-size: 0.95rem;
}
.ppc-steps--compact .ppc-step h3 { margin: 0; font-size: 1rem; }

.ppc-hero__highlight {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--ppc-purple);
  background: #f0f2fa;
  color: var(--ppc-blue);
  font-weight: 600;
  max-width: 48ch;
  line-height: 1.4;
}

.ppc-proof-block {
  border: 1px solid var(--ppc-line);
  border-radius: var(--ppc-radius);
  background: #fff;
  padding: 24px;
  box-shadow: var(--ppc-shadow);
}
.ppc-proof-block p { margin: 0 0 10px; color: var(--ppc-muted); }
.ppc-proof-block p:last-child { margin-bottom: 0; }
.ppc-proof-stat {
  margin-top: 12px;
  font-weight: 600;
  color: var(--ppc-blue);
}

.ppc-form-grid {
  display: grid;
  gap: 28px;
}
.ppc-form {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.ppc-field { display: grid; gap: 6px; }
.ppc-field label { font-weight: 600; }
.ppc-optional { font-weight: 400; color: var(--ppc-muted); }
.ppc-field input,
.ppc-field select,
.ppc-field textarea {
  min-height: 48px;
  border: 1px solid #cfd3e2;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  background: #fff;
}
.ppc-field textarea { min-height: 110px; resize: vertical; }
.ppc-field__error { color: #9b1c1c; font-size: 0.9rem; }
.ppc-form__banner {
  background: #fdecec;
  border: 1px solid #f3c1c1;
  color: #7a1d1d;
  padding: 10px 12px;
  border-radius: 10px;
}
.ppc-form__ok {
  background: #e8f6ee;
  border: 1px solid #b7e0c7;
  color: #14532d;
  padding: 10px 12px;
  border-radius: 10px;
}
.ppc-form__legal { font-size: 0.9rem; color: var(--ppc-muted); }
.ppc-hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.ppc-wa-card {
  background: var(--ppc-bg);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid var(--ppc-line);
  height: fit-content;
}
.ppc-wa-card h3 { margin: 0 0 8px; color: var(--ppc-blue); }
.ppc-wa-card__note { color: var(--ppc-muted); font-size: 0.92rem; }

.ppc-faq details {
  border-bottom: 1px solid var(--ppc-line);
  padding: 12px 0;
}
.ppc-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ppc-blue);
}
.ppc-faq details p { color: var(--ppc-muted); margin: 8px 0 4px; }

.ppc-final {
  text-align: left;
}
.ppc-footer {
  background: var(--ppc-blue-dark);
  color: #d7dbea;
  padding: 36px 0 calc(36px + env(safe-area-inset-bottom));
}
.ppc-footer a { color: #fff; }
.ppc-footer__brand { font-weight: 800; color: #fff; margin: 0 0 8px; }
.ppc-footer__meta,
.ppc-footer__contact,
.ppc-footer__links { margin: 0 0 8px; }

.ppc-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--ppc-line);
  transform: translateY(110%);
  transition: transform .2s ease;
}
.ppc-sticky.is-visible { transform: translateY(0); }
.ppc-sticky .ppc-btn { flex: 1; }
.ppc-sticky__close {
  background: transparent;
  border: 0;
  font-size: 24px;
  line-height: 1;
  color: var(--ppc-muted);
  min-width: 36px;
}
body.has-sticky { padding-bottom: 84px; }
body.has-sticky.ppc-hide-sticky { padding-bottom: 0; }
body.ppc-hide-sticky .ppc-sticky { display: none; }

.ppc-split {
  display: grid;
  gap: 24px;
  align-items: start;
}
.ppc-split__copy .ppc-lead { max-width: none; }
.ppc-visual {
  margin: 0;
  border-radius: 16px;
  overflow: visible;
  background: #fff;
}
.ppc-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center top;
}
@media (min-width: 960px) {
  .ppc-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
  }
  .ppc-split--wide {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.2fr);
  }
}
.ppc-visual--43,
.ppc-visual--169 {
  min-width: 0;
}
.ppc-visual--169 img {
  object-fit: contain;
}

.ppc-legal { padding: 48px 0 80px; }
.ppc-legal h1 { color: var(--ppc-blue); }
.ppc-legal h2 { margin-top: 28px; font-size: 1.2rem; }

@media (max-width: 767px) {
  .ppc-logo img { height: 32px; max-width: 152px; }
  .ppc-header__inner { min-height: 52px; gap: 8px; }
  .ppc-header__phone { display: none; }
  .ppc-header__actions { gap: 6px; }
  .ppc-header__actions .ppc-btn--sm { min-height: 40px; padding: 8px 12px; font-size: 13px; }
  .ppc-hero__visual { margin-top: 8px; }
  .ppc-split > .ppc-visual {
    width: calc(100% + 32px);
    max-width: none;
    margin-inline: -16px;
    border-radius: 0;
  }
  .ppc-split > .ppc-visual img { border-radius: 0; }
}

@media (max-width: 380px) {
  .ppc-logo img { height: 28px; max-width: 132px; }
  .ppc-header__actions .ppc-btn--sm {
    min-height: 36px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

@media (min-width: 768px) {
  .ppc-cards { grid-template-columns: repeat(3, 1fr); }
  .ppc-cards--2 { grid-template-columns: repeat(2, 1fr); }
  .ppc-feature-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .ppc-steps { grid-template-columns: repeat(2, 1fr); }
  .ppc-form-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .ppc-sticky { display: none !important; }
  body.has-sticky { padding-bottom: 0; }
}

@media (min-width: 960px) {
  .ppc-hero { padding: 48px 0 56px; }
  .ppc-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
  .ppc-hero__visual { order: 0; }
  .ppc-steps { grid-template-columns: repeat(4, 1fr); }
  .ppc-diff { padding: 48px 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ppc-sticky { transition: none; }
}
