/* Прайс-лист — только template-price.php */

.price-page {
  --pp-blue: var(--color-blue, #3d4982);
  --pp-green: var(--color-green, #8ad5ab);
  --pp-dark-green: var(--color-dark-green, #106c39);
  --pp-ink: #1e2438;
  --pp-muted: #5c6578;
  --pp-soft: #eef2f8;
  --pp-line: rgba(61, 73, 130, 0.12);
  color: var(--pp-ink);
  overflow-x: clip;
}

.price-page a {
  cursor: pointer;
}

/* ----- Hero ----- */
.price-page__hero {
  position: relative;
  margin-top: 100px;
  padding: 64px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.price-page__hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(138, 213, 171, 0.35), transparent 55%),
    radial-gradient(ellipse 70% 50% at 10% 80%, rgba(61, 73, 130, 0.18), transparent 50%),
    linear-gradient(145deg, #f7f9fc 0%, #e8eef8 48%, #dfe8f4 100%);
}

.price-page__hero-bg::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% 40%;
  height: 70%;
  background: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 18px,
    rgba(61, 73, 130, 0.04) 18px,
    rgba(61, 73, 130, 0.04) 19px
  );
  pointer-events: none;
  animation: pp-drift 28s linear infinite;
}


.price-page__brand {
  font-weight: 700;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  color: var(--pp-blue);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  animation: pp-fade-up 0.7s ease both;
}

.price-page__brand--light {
  color: var(--pp-green);
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}

.price-page__title {
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.2;
  color: var(--pp-ink);
  margin-bottom: 14px;
  animation: pp-fade-up 0.7s ease 0.08s both;
}

.price-page__lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.55;
  color: var(--pp-muted);
  max-width: 560px;
  margin-bottom: 24px;
  animation: pp-fade-up 0.7s ease 0.16s both;
}

.price-page__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  animation: pp-fade-up 0.7s ease 0.24s both;
}

/* ----- Buttons ----- */
.price-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 60px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.price-page__btn--primary {
  background: var(--pp-green);
  color: var(--pp-dark-green);
  box-shadow: 0 3px 24px rgba(52, 181, 109, 0.4), 0 3px 0 #56bd84;
}

.price-page__btn--primary:hover {
  background: var(--pp-dark-green);
  color: #fff;
  transform: translateY(-2px);
}

.price-page__btn--ghost {
  background: transparent;
  color: var(--pp-blue);
  border: 1px solid rgba(61, 73, 130, 0.35);
}

.price-page__btn--ghost:hover {
  border-color: var(--pp-blue);
  background: rgba(61, 73, 130, 0.06);
}

.price-page__btn--pulse {
  position: relative;
}

.price-page__btn--pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid rgba(138, 213, 171, 0.55);
  animation: pp-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

/* ----- Section ----- */
.price-page__section {
  padding: 48px 0 56px;
}

.price-page__section-head {
  max-width: 680px;
  margin-bottom: 28px;
}

.price-page__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pp-dark-green);
  margin-bottom: 8px;
}

.price-page__section-head h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pp-blue);
  margin-bottom: 10px;
}

.price-page__section-head p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--pp-muted);
}

/* ----- Full-width list cards ----- */
.price-page__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-page__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px 32px;
  width: 100%;
  padding: 20px 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--pp-line);
  box-shadow: 0 6px 22px rgba(30, 36, 56, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  min-width: 0;
}

.price-page__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(61, 73, 130, 0.1);
  border-color: rgba(138, 213, 171, 0.55);
}

.price-page__card.is-featured {
  background: linear-gradient(120deg, #3d4982 0%, #2c3654 100%);
  color: #fff;
  border-color: transparent;
}

.price-page__card.is-featured .price-page__card-title a,
.price-page__card.is-featured .price-page__amount {
  color: #fff;
}

.price-page__card.is-featured .price-page__card-desc {
  color: rgba(255, 255, 255, 0.78);
}

.price-page__card.is-featured .price-page__tag {
  background: rgba(138, 213, 171, 0.2);
  color: var(--pp-green);
}

.price-page__card.is-featured .price-page__link {
  color: var(--pp-green);
}

.price-page__card.is-featured .price-page__wa {
  background: var(--pp-green);
  color: var(--pp-dark-green);
}

.price-page__card-main {
  min-width: 0;
}

.price-page__card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
  text-align: right;
}

.price-page__tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(138, 213, 171, 0.25);
  color: var(--pp-dark-green);
}

.price-page__card-title {
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
}

.price-page__card-title a {
  color: var(--pp-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.price-page__card-title a:hover {
  color: var(--pp-dark-green);
}

.price-page__card-desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--pp-muted);
  margin: 0;
  max-width: 640px;
}

.price-page__amount {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--pp-blue);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.price-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
}

.price-page__link {
  font-weight: 600;
  font-size: 14px;
  color: var(--pp-blue);
  text-decoration: none;
  position: relative;
}

.price-page__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.price-page__link:hover::after {
  transform: scaleX(1);
}

.price-page__wa {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  background: #e8f8ee;
  color: var(--pp-dark-green);
  transition: background 0.2s ease, transform 0.2s ease;
}

.price-page__wa:hover {
  background: var(--pp-green);
  transform: translateY(-1px);
}

/* ----- Includes ----- */
.price-page__includes--inline {
  margin-top: 40px;
  padding: 32px 28px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(138, 213, 171, 0.22), transparent 55%),
    var(--pp-soft);
}

.price-page__includes-head {
  max-width: 720px;
  margin-bottom: 24px;
}

.price-page__includes-title {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  color: var(--pp-blue);
  margin-bottom: 10px;
  line-height: 1.25;
}

.price-page__includes-head p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--pp-muted);
  margin: 0;
}

.price-page__includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.price-page__include {
  padding: 20px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--pp-line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-page__include:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(61, 73, 130, 0.08);
}

.price-page__include-num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pp-blue);
  opacity: 0.45;
  margin-bottom: 8px;
}

.price-page__include h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--pp-blue);
  margin-bottom: 8px;
  line-height: 1.3;
}

.price-page__include p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--pp-muted);
  margin: 0;
}

.price-page__includes-note {
  font-size: 14px;
  line-height: 1.55;
  color: var(--pp-muted);
  margin: 0;
  padding: 14px 16px;
  border-left: 3px solid var(--pp-green);
  background: rgba(255, 255, 255, 0.75);
}

/* ----- Bottom CTA ----- */
.price-page__cta-band {
  padding: 48px 0 64px;
  background: linear-gradient(135deg, var(--pp-blue) 0%, #2c3654 100%);
  color: #fff;
}

.price-page__cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.price-page__cta-copy {
  max-width: 560px;
}

.price-page__cta-copy h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  color: #fff;
}

.price-page__cta-copy p:not(.price-page__brand) {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.price-page__cta-band .price-page__btn--primary {
  flex-shrink: 0;
}

/* ----- Reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.price-page__list [data-reveal]:nth-child(2) { transition-delay: 0.04s; }
.price-page__list [data-reveal]:nth-child(3) { transition-delay: 0.08s; }
.price-page__list [data-reveal]:nth-child(4) { transition-delay: 0.12s; }
.price-page__list [data-reveal]:nth-child(5) { transition-delay: 0.16s; }
.price-page__list [data-reveal]:nth-child(6) { transition-delay: 0.2s; }
.price-page__list [data-reveal]:nth-child(7) { transition-delay: 0.24s; }
.price-page__list [data-reveal]:nth-child(8) { transition-delay: 0.28s; }
.price-page__list [data-reveal]:nth-child(9) { transition-delay: 0.32s; }
.price-page__list [data-reveal]:nth-child(10) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .price-page__hero-bg::after,
  .price-page__btn--pulse::after,
  .price-page__brand,
  .price-page__title,
  .price-page__lead,
  .price-page__hero-cta {
    animation: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes pp-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pp-pulse {
  0% {
    opacity: 0.7;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.08);
  }
  100% {
    opacity: 0;
    transform: scale(1.08);
  }
}

@keyframes pp-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-40px); }
}

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .price-page__includes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .price-page__hero {
    margin-top: 70px;
    padding: 48px 0 36px;
  }

  .price-page__section {
    padding: 40px 0 48px;
  }

  .price-page__card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
  }

  .price-page__card-side {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid var(--pp-line);
  }

  .price-page__card.is-featured .price-page__card-side {
    border-top-color: rgba(255, 255, 255, 0.15);
  }

  .price-page__actions {
    justify-content: flex-start;
  }

  .price-page__amount {
    white-space: normal;
  }

  .price-page__includes--inline {
    padding: 22px 16px;
  }

  .price-page__includes-grid {
    grid-template-columns: 1fr;
  }

  .price-page__cta-band {
    padding: 40px 0 56px;
  }

  .price-page__cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-page__btn {
    width: 100%;
  }

  .price-page__hero-cta {
    width: 100%;
  }
}

