/* /prices/ - редизайн хаба цен */

.main--prices-hub {
  margin-bottom: 0;
  font-family: Inter-Fallback, system-ui, sans-serif;
}

.main--prices-hub .page-top {
  margin-bottom: 0;
}

.main--prices-hub .breadcrumbs {
  margin-bottom: 0;
  font-family: Inter-Fallback, system-ui, sans-serif;
}

.prices-hub {
  --ph-ink: #14161d;
  --ph-ink-70: #3d4250;
  --ph-ink-50: #6b7280;
  --ph-surface: #f3f5f8;
  --ph-line: #e4e8ee;
  --ph-accent: #15a05a;
  --ph-accent-700: #0f7d45;
  --ph-accent-50: #e9f6ef;
  --ph-navy: #0f1320;
  --ph-r: 16px;
  --ph-r-sm: 10px;
  color: var(--ph-ink);
  font-family: Inter-Fallback, system-ui, sans-serif;
}

/* Hero */
.prices-hub__hero {
  padding: 8px 0 40px;
  position: relative;
  overflow: hidden;
}

.prices-hub__hero::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(21, 160, 90, 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.prices-hub__hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  position: relative;
}

.prices-hub__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  background: var(--ph-accent-50);
  color: var(--ph-accent-700);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
}

.prices-hub__pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ph-accent);
  box-shadow: 0 0 0 0 rgba(21, 160, 90, 0.5);
  animation: prices-hub-pulse 2.2s infinite;
}

@keyframes prices-hub-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 160, 90, 0.45);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(21, 160, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 160, 90, 0);
  }
}

.prices-hub__title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 0 0 18px;
  color: var(--ph-ink);
}

.prices-hub__title em {
  font-style: normal;
  color: var(--ph-accent);
}

.prices-hub__lead {
  color: var(--ph-ink-70);
  font-size: 17px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 0 22px;
}

.prices-hub__checks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 26px;
  padding: 0;
}

.prices-hub__checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ph-ink-70);
}

.prices-hub__chk {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ph-accent-50);
  color: var(--ph-accent-700);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.prices-hub__hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.prices-hub__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-family: Inter-Fallback, system-ui, sans-serif;
  font-weight: 600;
  border: none;
  transition: all 0.18s;
  white-space: nowrap;
  text-decoration: none;
}

.prices-hub__btn--primary {
  background: var(--ph-accent);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--ph-r-sm);
  font-size: 14.5px;
}

.prices-hub__btn--primary:hover {
  background: var(--ph-accent-700);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(21, 160, 90, 0.3);
  color: #fff;
}

.prices-hub__btn--ghost {
  background: #fff;
  color: var(--ph-ink);
  border: 1px solid var(--ph-line);
  padding: 12px 22px;
  border-radius: var(--ph-r-sm);
  font-size: 14.5px;
}

.prices-hub__btn--ghost:hover {
  border-color: var(--ph-ink-50);
  color: var(--ph-ink);
}

/* Tariff preview card */
.prices-hub__tariff-card {
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-r);
  padding: 22px 22px 18px;
  box-shadow: 0 12px 32px rgba(20, 22, 29, 0.06);
}

.prices-hub__tariff-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.prices-hub__tariff-title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
}

.prices-hub__tariff-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ph-accent-700);
  background: var(--ph-accent-50);
  padding: 5px 10px;
  border-radius: 100px;
}

.prices-hub__tariff-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ph-accent);
  display: inline-block;
}

.prices-hub__tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prices-hub__tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ph-surface);
  position: relative;
}

.prices-hub__tier--best {
  background: linear-gradient(180deg, #f3faf6, #eef8f2);
  border: 1px solid #cdeada;
}

.prices-hub__tier-flag {
  position: absolute;
  top: -8px;
  right: 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ph-accent);
  background: #fff;
  border: 1px solid #cdeada;
  padding: 3px 8px;
  border-radius: 6px;
}

.prices-hub__tier-name {
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 2px;
}

.prices-hub__tier-meta {
  font-size: 12.5px;
  color: var(--ph-ink-50);
}

.prices-hub__tier-price {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
}

.prices-hub__tier-price span {
  font-size: 12px;
  font-weight: 500;
  color: var(--ph-ink-50);
}

.prices-hub__tariff-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--ph-ink-50);
  line-height: 1.45;
}

/* Trust */
.prices-hub__trust {
  padding: 8px 0 44px;
}

.prices-hub__trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 18px;
}

.prices-hub__trust-num {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -1px;
  color: var(--ph-ink);
}

.prices-hub__trust-num span {
  color: var(--ph-accent);
}

.prices-hub__trust-txt {
  font-size: 13px;
  color: var(--ph-ink-50);
  line-height: 1.4;
}

/* Groups & cards */
.prices-hub__block {
  padding: 0 0 64px;
}

.prices-hub__group + .prices-hub__group {
  margin-top: 48px;
}

.prices-hub__group-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ph-line);
}

.prices-hub__group-label {
  color: var(--ph-accent);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.prices-hub__group-line {
  flex: 1;
  height: 1px;
  background: var(--ph-line);
}

.prices-hub__group-count {
  font-size: 13px;
  color: var(--ph-ink-50);
  white-space: nowrap;
}

.prices-hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.prices-hub__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-r);
  padding: 24px 24px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.prices-hub__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ph-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s;
}

.prices-hub__card:hover {
  border-color: transparent;
  box-shadow: 0 16px 40px rgba(20, 22, 29, 0.1);
  transform: translateY(-3px);
  color: inherit;
}

.prices-hub__card:hover::before {
  transform: scaleY(1);
}

.prices-hub__card-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.prices-hub__ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.prices-hub__ic svg {
  width: 24px;
  height: 24px;
}

.prices-hub__ic--green { background: #15a05a; }
.prices-hub__ic--blue { background: #2563eb; }
.prices-hub__ic--violet { background: #7c3aed; }
.prices-hub__ic--amber { background: #d98412; }
.prices-hub__ic--teal { background: #0ea5b7; }
.prices-hub__ic--rose { background: #e1467c; }

.prices-hub__card-title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin: 0;
  color: var(--ph-ink);
}

.prices-hub__card-text {
  color: var(--ph-ink-70);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 18px;
  flex: 1;
}

.prices-hub__card-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.prices-hub__card-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prices-hub__price-from {
  font-size: 12px;
  color: var(--ph-ink-50);
  text-transform: lowercase;
}

.prices-hub__price-amt {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.4px;
  color: var(--ph-ink);
}

.prices-hub__price-amt span {
  font-size: 14px;
  font-weight: 500;
  color: var(--ph-ink-50);
}

.prices-hub__price-model {
  font-size: 12.5px;
  color: var(--ph-accent-700);
  font-weight: 600;
}

.prices-hub__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-accent);
}

.prices-hub__more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s;
}

.prices-hub__card:hover .prices-hub__more svg {
  transform: translateX(4px);
}

/* Sections */
.prices-hub__sec-head {
  margin-bottom: 28px;
  max-width: 720px;
}

.prices-hub__sec-label {
  display: inline-block;
  color: var(--ph-accent);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
}

.prices-hub__sec-title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 3.5vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 0 0 10px;
}

.prices-hub__sec-sub {
  color: var(--ph-ink-70);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.prices-hub__incl-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.prices-hub__incl-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 12px;
  font-size: 15px;
  color: var(--ph-ink);
}

.prices-hub__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.prices-hub__step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: var(--ph-r);
}

.prices-hub__step-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ph-accent-50);
  color: var(--ph-accent-700);
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prices-hub__step-title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.prices-hub__step p {
  margin: 0;
  color: var(--ph-ink-70);
  font-size: 15px;
  line-height: 1.55;
}

/* FAQ */
.prices-hub__faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.prices-hub__faq {
  background: #fff;
  border: 1px solid var(--ph-line);
  border-radius: 12px;
  overflow: hidden;
}

.prices-hub__faq-q {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prices-hub__faq-q::-webkit-details-marker {
  display: none;
}

.prices-hub__faq-q::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--ph-ink-50);
  flex-shrink: 0;
}

.prices-hub__faq[open] .prices-hub__faq-q::after {
  content: "−";
}

.prices-hub__faq-a {
  padding: 0 20px 18px;
}

.prices-hub__faq-a p {
  margin: 0;
  color: var(--ph-ink-70);
  font-size: 15px;
  line-height: 1.55;
}

/* CTA */
.prices-hub__cta {
  padding: 0;
  background: var(--ph-navy);
  position: relative;
  overflow: hidden;
}

.prices-hub__cta::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, rgba(21, 160, 90, 0.4) 0%, transparent 65%);
  pointer-events: none;
}

.prices-hub__cta .container {
  position: relative;
  text-align: center;
  padding: 72px 16px;
}

.prices-hub__cta-title {
  font-family: "Inter Tight-Fallback", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.9px;
  margin: 0 0 12px;
  color: #fff;
}

.prices-hub__cta-text {
  color: #9aa3b6;
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.prices-hub__cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.prices-hub__cta .prices-hub__btn--white {
  background: #fff;
  color: var(--ph-navy);
  padding: 14px 30px;
  border-radius: var(--ph-r-sm);
  font-size: 15px;
  font-weight: 700;
}

.prices-hub__cta .prices-hub__btn--white:hover {
  background: #fff;
  color: var(--ph-navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.prices-hub__cta .prices-hub__btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 30px;
  border-radius: var(--ph-r-sm);
  font-size: 15px;
  font-weight: 600;
}

.prices-hub__cta .prices-hub__btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

/* Responsive */
@media (min-width: 600px) {
  .prices-hub__trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

@media (min-width: 980px) {
  .prices-hub__hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
    gap: 32px;
  }

  .prices-hub__trust-grid {
    grid-template-columns: repeat(5, 1fr);
  }

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

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

@media (max-width: 767px) {
  .prices-hub__hero {
    padding-top: 0;
  }

  .prices-hub__card-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
