:root {
  --color-secondary: #0f172a;
  --color-accent: #fcaf3b;
  --color-title: #121212;
  --color-text: #2b2b2b;
  --bg-1: #f7f6f4;
  --bg-2: #f3f1ee;
  --bg-3: #fdf4e6;
  --bg-4: rgba(252, 175, 59, 0.15);
  --color-white: #ffffff;
}

.pt-page,
.pt-page * {
  box-sizing: border-box;
}

.pt-page {
  font-family: Montserrat, Arial, sans-serif;
  color: var(--color-text);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
}

.pt-container {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.pt-section,
.pt-final {
  padding: 110px 0;
}

.pt-bg-light-grid,
.pt-bg-dark-grid,
.pt-bg-system-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.pt-bg-light-grid {
  background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
}

.pt-bg-light-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 18%, rgba(252, 175, 59, 0.12), transparent 40%),
    linear-gradient(rgba(15, 23, 42, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 52px 52px, 52px 52px;
}

.pt-bg-dark-grid,
.pt-bg-system-dark {
  background: var(--color-secondary);
}

.pt-bg-dark-grid::before,
.pt-bg-system-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, rgba(252, 175, 59, 0.16), transparent 40%),
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

.pt-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-4);
  color: var(--color-title);
  font-size: 14px;
  font-weight: 800;
}

.pt-label--dark {
  color: var(--color-accent);
  background: rgba(252, 175, 59, 0.14);
}

.pt-label span:first-child {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(252, 175, 59, 0.18);
}

.pt-section__head {
  max-width: 860px;
  margin-bottom: 52px;
}

.pt-section__head--dark h2,
.pt-section__head--dark p {
  color: #fff;
}

.pt-bg-dark-grid .pt-section__head h2,
.pt-bg-dark-grid .pt-section__head h3,
.pt-bg-dark-grid .pt-final h2,
.pt-bg-dark-grid .pt-why__main h3,
.pt-bg-dark-grid .pt-why__side h3,
.pt-bg-dark-grid .pt-system h3 {
  color: #fff;
}

.pt-bg-dark-grid .pt-section__head p,
.pt-bg-dark-grid .pt-final p,
.pt-bg-dark-grid .pt-why__main p,
.pt-bg-dark-grid .pt-why__side p,
.pt-bg-dark-grid .pt-system p,
.pt-bg-dark-grid .pt-system li {
  color: rgba(255, 255, 255, 0.78);
}

.pt-bg-light-grid .pt-section__head h2,
.pt-bg-light-grid .pt-section__head h3,
.pt-bg-light-grid .pt-case__meta h3,
.pt-expert-section h2,
.pt-expert-section h3 {
  color: var(--color-title);
}

.pt-bg-light-grid .pt-section__head p,
.pt-bg-light-grid .pt-card p,
.pt-bg-light-grid .pt-price-card p,
.pt-bg-light-grid .pt-case p,
.pt-expert-section p {
  color: rgba(43, 43, 43, 0.8);
}

.pt-section__head h2,
.pt-final h2,
.pt-expert h2 {
  margin: 0 0 18px;
  color: var(--color-title);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.06;
  letter-spacing: 0;
}

.pt-section__head p,
.pt-final p {
  margin: 0;
  color: rgba(43, 43, 43, 0.76);
  font-size: 20px;
  line-height: 1.6;
}

.pt-section__head--dark p {
  color: rgba(255, 255, 255, 0.72);
}

.pt-hero {
  padding: 130px 0;
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
}

.pt-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 60px;
  align-items: center;
}

.pt-hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 5.6vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
  color: var(--color-title);
  text-wrap: balance;
}

.pt-hero__subtitle {
  max-width: 760px;
  font-size: 21px;
  line-height: 1.6;
  color: var(--color-text);
}

.pt-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.pt-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
}

.pt-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
}

.pt-hero__cta {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.pt-hero__cta p {
  max-width: 380px;
  margin: 0;
  font-weight: 600;
  line-height: 1.55;
}

.pt-btn,
.pt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 28px;
  border-radius: 12px;
  background: var(--color-accent);
  color: var(--color-title);
  text-decoration: none;
  font-weight: 800;
  transition: 0.2s ease;
}

.pt-btn:hover,
.pt-button:hover {
  transform: translateY(-2px);
  background: var(--color-title);
  color: #fff;
}

.pt-hero__visual {
  min-height: 420px;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.pt-hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pt-hero__card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(10px);
}

.pt-hero__card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 24px;
}

.pt-cards {
  display: grid;
  gap: 24px;
}

.pt-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

.pt-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.pt-cards--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pt-audience-cards {
  align-items: stretch;
}

.pt-audience-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px 26px 22px;
  border-radius: 28px;
  border: 1px solid #f5b24a;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 202, 112, 0.22), transparent 42%),
    linear-gradient(180deg, #fff5e7 0%, #fffaf3 34%, #ffffff 100%);
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.pt-audience-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
  line-height: 1.16;
  min-height: 2.4em;
  font-weight: 800;
  color: #111827;
}

.pt-audience-card__text {
  margin: 0 0 18px !important;
  min-height: 5.1em;
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: rgba(31, 41, 55, 0.88) !important;
}

.pt-audience-card__list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  min-height: 9.6em;
}

.pt-audience-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 16px;
  line-height: 1.45;
  color: rgba(31, 41, 55, 0.92);
}

.pt-audience-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(252, 175, 59, 0.16);
}

.pt-audience-card__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 148px;
  padding-top: 18px;
  border-top: 1px solid rgba(245, 178, 74, 0.32);
}

.pt-audience-card__btn {
  width: 100%;
  min-height: 58px;
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.2;
  text-align: center;
  background: linear-gradient(180deg, #ffbc4c 0%, #f9ab35 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.pt-audience-card__footer p {
  margin: 0;
  max-width: 28ch;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(55, 65, 81, 0.82);
}

.pt-audience-note {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 999px;
  background: rgba(252, 175, 59, 0.14);
  color: var(--color-title);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.pt-audience-note span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent);
  flex: 0 0 10px;
}

.pt-page .pt-card:not(.pt-audience-card),
.pt-page .pt-problem-card,
.pt-page .pt-price-card,
.pt-page .pt-case,
.pt-page .pt-dark-card {
  padding: 30px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  transition: 0.25s ease;
}

.pt-page .pt-card:not(.pt-audience-card):hover,
.pt-page .pt-problem-card:hover,
.pt-page .pt-price-card:hover,
.pt-page .pt-case:hover,
.pt-page .pt-dark-card:hover,
.pt-page .pt-step:hover {
  transform: translateY(-5px);
}

.pt-page .pt-card--accent {
  background: linear-gradient(180deg, #fff, var(--bg-3));
  border-color: rgba(252, 175, 59, 0.3);
}

.pt-page .pt-card h3,
.pt-page .pt-problem-card h3,
.pt-page .pt-price-card h3,
.pt-page .pt-dark-card h3 {
  margin: 0 0 14px;
  font-size: 26px;
  line-height: 1.24;
  color: var(--color-title);
  font-weight: 800;
}

.pt-page .pt-card p,
.pt-page .pt-problem-card p,
.pt-page .pt-price-card p,
.pt-page .pt-dark-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(43, 43, 43, 0.78);
}

.pt-chip {
  display: inline-flex;
  margin-top: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--bg-3);
  color: var(--color-title);
  font-weight: 700;
  font-size: 14px;
}

.pt-solution__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 28px;
}

.pt-steps {
  display: grid;
  gap: 18px;
}

.pt-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding: 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.07);
  transition: 0.25s ease;
}

.pt-step__num {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: var(--bg-3);
  color: var(--color-title);
  font-weight: 800;
  font-size: 22px;
}

.pt-page .pt-step h3,
.pt-page .pt-system h3 {
  margin: 0 0 10px;
  color: var(--color-title);
  font-size: 24px;
  font-weight: 800;
}

.pt-step p,
.pt-system p,
.pt-system li {
  margin: 0;
  color: rgba(43, 43, 43, 0.78);
  font-size: 16px;
  line-height: 1.6;
}

.pt-system {
  padding: 34px;
  border-radius: 28px;
  color: #fff;
}

.pt-system h3 {
  color: #fff;
  font-size: 34px;
}

.pt-system p,
.pt-system li {
  color: rgba(255, 255, 255, 0.76);
}

.pt-system ul {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.pt-why__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
}

.pt-why__main,
.pt-why__side article {
  padding: 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-page .pt-why__main h3,
.pt-page .pt-why__side h3 {
  color: #fff;
  font-weight: 800;
}

.pt-why__main p,
.pt-why__side p {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.pt-why__side {
  display: grid;
  gap: 18px;
}

.pt-cases {
  display: grid;
  gap: 26px;
}

.pt-case {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
}

.pt-case__meta span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--bg-3);
  font-size: 13px;
  font-weight: 700;
}

.pt-page .pt-case__meta h3 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.pt-case__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pt-case__cols > div {
  padding: 18px;
  border-radius: 18px;
  background: var(--bg-1);
}

.pt-case__cols strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-title);
}

.pt-case__cols p {
  margin: 0;
  line-height: 1.55;
}

.pt-case__result {
  background: var(--bg-3) !important;
}

.pt-expert-section {
  background: linear-gradient(180deg, var(--bg-1), var(--bg-2));
}

.pt-expert {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 56px;
  align-items: center;
}

.pt-expert p {
  font-size: 17px;
  line-height: 1.75;
}

.pt-expert blockquote {
  margin: 32px 0 0;
  padding: 28px;
  border-radius: 24px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
  line-height: 1.6;
}

.pt-expert__photo {
  position: relative;
}

.pt-expert__photo img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.16);
}

.pt-expert__badge {
  position: absolute;
  left: -18px;
  bottom: 34px;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--color-secondary);
  color: #fff;
  font-weight: 700;
}

.pt-dark-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.pt-page .pt-dark-card h3 {
  color: #fff;
}

.pt-page .pt-dark-card p {
  color: rgba(255, 255, 255, 0.72);
}

.pt-page h3 {
  letter-spacing: 0;
}

.pt-page .pt-card h3,
.pt-page .pt-problem-card h3,
.pt-page .pt-price-card h3,
.pt-page .pt-dark-card h3,
.pt-page .pt-step h3,
.pt-page .pt-system h3,
.pt-page .pt-why__main h3,
.pt-page .pt-why__side h3,
.pt-page .pt-case__meta h3,
.pt-page .pt-audience-card h3 {
  font-weight: 800 !important;
}

.pt-page .pt-audience-card h3 {
  font-size: 28px !important;
  line-height: 1.16 !important;
}

.pt-price {
  margin: 18px 0;
  font-size: 34px;
  line-height: 1;
  font-weight: 800;
  color: var(--color-title);
}

.pt-final {
  text-align: center;
  color: #fff;
}

.pt-final h2 {
  max-width: 860px;
  margin: 0 auto 20px;
  color: #fff;
}

.pt-final p {
  max-width: 720px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1100px) {
  .pt-cards--4,
  .pt-case__cols {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .pt-section,
  .pt-final,
  .pt-hero {
    padding: 72px 0;
  }

  .pt-hero__grid,
  .pt-solution__grid,
  .pt-why__grid,
  .pt-case,
  .pt-expert {
    grid-template-columns: 1fr;
  }

  .pt-cards--3,
  .pt-cards--2 {
    grid-template-columns: 1fr;
  }

  .pt-section__head h2,
  .pt-final h2,
  .pt-expert h2 {
    font-size: clamp(30px, 4.8vw, 44px);
    line-height: 1.1;
  }

  .pt-hero h1 {
    font-size: clamp(36px, 6vw, 52px);
  }

  .pt-hero__visual {
    min-height: 300px;
  }

  .pt-expert__photo {
    max-width: 560px;
  }

  .pt-case__meta h3,
  .pt-card h3,
  .pt-problem-card h3,
  .pt-price-card h3,
  .pt-dark-card h3,
  .pt-step h3,
  .pt-system h3 {
    font-size: 24px;
  }

  .pt-audience-card h3 {
    font-size: 26px;
    min-height: 0;
  }

  .pt-audience-card__text,
  .pt-audience-card__list {
    min-height: 0;
  }

  .pt-audience-card__footer {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .pt-container {
    width: min(100% - 32px, 1240px);
  }

  .pt-section,
  .pt-final,
  .pt-hero {
    padding: 56px 0;
  }

  .pt-section__head h2,
  .pt-final h2,
  .pt-expert h2 {
    font-size: 28px;
    line-height: 1.12;
  }

  .pt-hero h1 {
    font-size: 31px;
    line-height: 1.08;
  }

  .pt-hero__subtitle,
  .pt-section__head p {
    font-size: 16px;
    line-height: 1.55;
  }

  .pt-hero__cta {
    gap: 16px;
  }

  .pt-hero__cta p {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
  }

  .pt-label {
    margin-bottom: 16px;
    padding: 9px 14px;
    font-size: 12px;
  }

  .pt-list {
    gap: 10px;
    margin: 22px 0;
  }

  .pt-list li {
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.45;
  }

  .pt-step {
    grid-template-columns: 1fr;
  }

  .pt-cards--4,
  .pt-case__cols {
    grid-template-columns: 1fr;
  }

  .pt-card,
  .pt-problem-card,
  .pt-price-card,
  .pt-case,
  .pt-dark-card,
  .pt-why__main,
  .pt-why__side article,
  .pt-system {
    padding: 24px;
    border-radius: 22px;
  }

  .pt-case__meta h3 {
    font-size: 22px;
  }

  .pt-price {
    font-size: 28px;
  }

  .pt-hero__visual {
    min-height: 240px;
    border-radius: 24px;
  }

  .pt-hero__card {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 18px;
    border-radius: 18px;
  }

  .pt-hero__card strong {
    font-size: 18px;
  }

  .pt-chip {
    font-size: 12px;
    line-height: 1.35;
  }

  .pt-audience-card h3 {
    font-size: 22px;
  }

  .pt-audience-card__text {
    font-size: 16px !important;
    min-height: 0;
  }

  .pt-audience-card__list {
    gap: 12px;
    margin-bottom: 20px;
    min-height: 0;
  }

  .pt-audience-card__list li {
    font-size: 15px;
  }

  .pt-audience-card__btn {
    min-height: 54px;
    font-size: 14px;
  }

  .pt-audience-card__footer {
    min-height: 0;
  }

  .pt-audience-note {
    display: flex;
    align-items: flex-start;
    border-radius: 20px;
    padding: 14px 16px;
    font-size: 14px;
  }

  .pt-expert__badge {
    position: static;
    margin-top: 16px;
  }

  .pt-btn,
  .pt-button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .pt-container {
    width: min(100% - 24px, 1240px);
  }

  .pt-section,
  .pt-final,
  .pt-hero {
    padding: 48px 0;
  }

  .pt-hero h1 {
    font-size: 28px;
  }

  .pt-section__head h2,
  .pt-final h2,
  .pt-expert h2 {
    font-size: 25px;
  }

  .pt-hero__subtitle,
  .pt-section__head p,
  .pt-final p,
  .pt-expert p {
    font-size: 15px;
  }

  .pt-card h3,
  .pt-problem-card h3,
  .pt-price-card h3,
  .pt-dark-card h3,
  .pt-step h3,
  .pt-system h3,
  .pt-why__main h3,
  .pt-why__side h3 {
    font-size: 20px;
  }

  .pt-step__num {
    width: 60px;
    height: 60px;
    font-size: 18px;
    border-radius: 18px;
  }

  .pt-audience-card h3 {
    font-size: 20px;
  }

  .pt-audience-card__footer p,
  .pt-audience-note {
    font-size: 13px;
  }

  .pt-audience-card {
    padding: 22px 20px 18px;
  }
}
