/* FlowX marketing site — Roboto (кириллица), тонкие заголовки; фон Aiero bg-layer2 */
:root {
  --fx-bg: #ffffff;
  --fx-bg-elev: #f8fafc;
  --fx-surface: rgba(255, 255, 255, 0.72);
  --fx-line: rgba(15, 23, 42, 0.08);
  --fx-text: #0f172a;
  --fx-muted: #475569;
  --fx-dim: #64748b;
  --fx-accent: #2563eb;
  --fx-accent-2: #1d4ed8;
  --fx-ok: #059669;
  --fx-radius: 14px;
  --fx-header-h: 72px;
  --font-display: "Roboto", Arial, Helvetica, sans-serif;
  --font-body: "Roboto", Arial, Helvetica, sans-serif;
  --fx-heading-weight: 200;
  --fx-bg-layer: url("https://aiero-nextjs-template.vercel.app/assets/images/layers/bg-layer2.png");
}

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

html {
  scroll-behavior: smooth;
}

body.fx-site {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-optical-sizing: auto;
  font-weight: 400;
  color: var(--fx-text);
  background-color: var(--fx-bg);
  /* Слой как в Aiero: мягкие cyan + lavender «облака» на белом */
  background-image:
    radial-gradient(ellipse 120% 70% at 50% -20%, rgba(186, 230, 253, 0.55), transparent 55%),
    radial-gradient(ellipse 90% 60% at 88% 8%, rgba(221, 214, 254, 0.45), transparent 50%),
    radial-gradient(ellipse 85% 55% at 5% 18%, rgba(165, 243, 252, 0.35), transparent 48%),
    var(--fx-bg-layer);
  background-size:
    auto,
    auto,
    auto,
    cover;
  background-position:
    center -5%,
    top right,
    top left,
    center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--fx-header-h);
  border-bottom: 1px solid var(--fx-line);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px) saturate(160%);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(15, 23, 42, 0.06);
}

.site-header__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fx-text);
}

.site-logo__text {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.site-nav {
  align-items: center;
  gap: 0.25rem;
}

.site-nav__link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--fx-muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}

.site-nav__link:hover,
.site-nav__link.is-active {
  color: var(--fx-text);
  background: rgba(15, 23, 42, 0.06);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-phone {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fx-muted);
  text-decoration: none;
}

.site-phone:hover {
  color: var(--fx-accent);
}

.site-btn {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.1rem;
  border: none;
  transition: transform 0.15s, filter 0.15s, background 0.2s;
}

.site-btn--primary {
  background: linear-gradient(180deg, var(--fx-accent), var(--fx-accent-2));
  color: #fff;
}

.site-btn--primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.site-btn--ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--fx-text);
  border: 1px solid var(--fx-line);
}

.site-btn--ghost:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--fx-text);
}

.site-burger {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--fx-line);
  background: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s;
}

.site-burger:hover {
  background: rgba(15, 23, 42, 0.06);
}

.site-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fx-text);
  border-radius: 2px;
}

/* ——— Typography (Aiero-like: small label + huge title) ——— */
.fx-kicker {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fx-dim);
  margin: 0 0 1rem;
}

.fx-kicker span {
  color: var(--fx-accent);
}

.fx-display {
  font-family: var(--font-display);
  font-weight: var(--fx-heading-weight);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.fx-h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: var(--fx-heading-weight);
}

.fx-h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: var(--fx-heading-weight);
}

.fx-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--fx-muted);
  max-width: 560px;
  margin: 0;
}

.fx-section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

/* Единый разделитель между блоками, как под hero */
main > section + section:not(.fx-pricing-deco-slot) {
  border-top: 1px solid var(--fx-line);
}

.fx-section-head {
  margin-bottom: 2.5rem;
}

.fx-slash {
  display: inline-block;
  color: var(--fx-dim);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  margin-bottom: 0.75rem;
}

.fx-slash::before {
  content: "/ ";
  color: var(--fx-accent);
}

.fx-slash::after {
  content: " /";
  color: var(--fx-accent);
}

/* ——— Placeholders ——— */
.fx-ph {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #f1f5f9 0%, #e2e8f0 40%, #f1f5f9 80%);
  background-size: 200% 100%;
  animation: fx-shimmer 2.8s ease-in-out infinite;
  border-radius: var(--fx-radius);
  border: 1px solid var(--fx-line);
}

.fx-ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.22);
}

.fx-ph--16x9 {
  aspect-ratio: 16 / 9;
}

.fx-ph--4x3 {
  aspect-ratio: 4 / 3;
}

.fx-ph--square {
  aspect-ratio: 1;
}

.fx-ph--phone {
  aspect-ratio: 9 / 19;
  max-height: 420px;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

@keyframes fx-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

/* ——— Cards & grids ——— */
.fx-card-dark {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.88));
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  padding: 1.35rem;
  height: 100%;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, border-color 0.25s, box-shadow 0.25s;
}

.fx-card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
}

.fx-card-dark h3,
.fx-card-dark .h5 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.05rem;
  margin: 0 0 0.5rem;
}

.fx-card-dark p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--fx-muted);
  line-height: 1.55;
}

.fx-icon-dot {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* ——— Hero ——— */
.fx-hero {
  padding-top: clamp(0.35rem, 1.1vw, 0.9rem);
  padding-bottom: clamp(0.45rem, 1.4vw, 1.2rem);
  overflow: visible;
}

.fx-hero__grid {
  align-items: center;
}

.fx-hero__visual {
  position: relative;
  min-height: 320px;
  overflow: visible;
}

.fx-hero__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.5), transparent 65%);
  filter: blur(48px);
  top: -40px;
  right: 10%;
  pointer-events: none;
  opacity: 0.85;
}

.fx-hero__frame {
  position: relative;
  border-radius: 24px;
  padding: 12px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border: 1px solid var(--fx-line);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.fx-hero__visual--floating {
  min-height: clamp(420px, 56vw, 680px);
}

.fx-hero__floating-image {
  position: absolute;
  left: -24%;
  bottom: clamp(-88px, -8vw, -28px);
  width: 118%;
  max-width: 920px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 24px 56px rgba(15, 23, 42, 0.26));
  transform: translateY(-30%);
  z-index: 3;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .fx-hero__visual--floating {
    min-height: clamp(280px, 60vw, 480px);
  }

  .fx-hero__floating-image {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    margin: 1.25rem 0 0;
    width: min(100%, 520px);
    max-width: 100%;
    transform: none;
  }
}

/* ——— Marquee row ——— */
.fx-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  opacity: 0.75;
}

.fx-logo-slot {
  width: 120px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px dashed rgba(15, 23, 42, 0.12);
}

.fx-partner-logo {
  max-height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.9;
}

/* ——— Steps ——— */
.fx-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 100;
  color: rgba(37, 99, 235, 0.28);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ——— FAQ ——— */
.fx-accordion-item {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--fx-line);
  border-radius: var(--fx-radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.fx-accordion-btn {
  width: 100%;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: transparent;
  border: none;
  color: var(--fx-text);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.fx-accordion-btn::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--fx-accent);
  transition: transform 0.25s;
}

.fx-accordion-item.is-open .fx-accordion-btn::after {
  transform: rotate(45deg);
}

.fx-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.fx-accordion-panel-inner {
  padding: 0 1.25rem 1.15rem;
  color: var(--fx-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ——— CTA band ——— */
.fx-cta-band {
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(219, 234, 254, 0.65), rgba(224, 231, 255, 0.45));
  border: 1px solid rgba(37, 99, 235, 0.15);
  text-align: center;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

/* ——— Sidebar (off-canvas) ——— */
.site-sidebar {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

.site-sidebar.is-open {
  pointer-events: auto;
}

.site-sidebar__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site-sidebar.is-open .site-sidebar__backdrop {
  opacity: 1;
}

.site-sidebar__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid var(--fx-line);
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.12);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.5rem 2rem;
  overflow-y: auto;
}

.site-sidebar.is-open .site-sidebar__panel {
  transform: translateX(0);
}

.site-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--fx-line);
}

.site-sidebar__label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.1rem;
}

.site-sidebar__close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--fx-line);
  background: rgba(248, 250, 252, 0.95);
  cursor: pointer;
  position: relative;
}

.site-sidebar__close span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--fx-text);
  border-radius: 2px;
}

.site-sidebar__close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-sidebar__close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-sidebar__link {
  font-size: 1.35rem;
  font-family: var(--font-display);
  font-weight: 300;
  padding: 0.65rem 0;
  text-decoration: none;
  color: var(--fx-muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, padding-left 0.2s;
}

.site-sidebar__link:hover,
.site-sidebar__link.is-active {
  color: var(--fx-text);
  padding-left: 6px;
}

.site-sidebar__cta {
  margin-top: auto;
  padding-top: 2rem;
}

.site-sidebar__contacts {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fx-line);
}

.site-sidebar__phone {
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--fx-accent);
}

body.site-sidebar-open {
  overflow: hidden;
}

/* ——— Footer ——— */
.site-footer {
  border-top: 1px solid var(--fx-line);
  padding: 3.5rem 0 2rem;
  margin-top: 2rem;
  background: rgba(248, 250, 252, 0.85);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.site-footer__lead {
  color: var(--fx-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fx-dim);
  margin-bottom: 1rem;
}

.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__list li {
  margin-bottom: 0.5rem;
}

.site-footer__list a {
  color: var(--fx-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.site-footer__list a:hover {
  color: var(--fx-accent);
}

.site-footer__contact a {
  color: var(--fx-text);
  text-decoration: none;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fx-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--fx-dim);
}

/* ——— Reveal on scroll ——— */
.fx-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fx-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ——— Inner pages ——— */
.fx-page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 2rem;
}

.fx-page-hero .fx-lead {
  max-width: 640px;
}

.fx-prose {
  max-width: 720px;
}

.fx-prose p {
  color: var(--fx-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.fx-prose h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  margin: 2rem 0 1rem;
}

/* ——— Pricing (Aiero-like blocks, FlowX tokens) ——— */
.fx-breadcrumb {
  font-size: 0.85rem;
  color: var(--fx-dim);
  margin-bottom: 1.25rem;
}

.fx-breadcrumb a {
  color: var(--fx-muted);
  text-decoration: none;
}

.fx-breadcrumb a:hover {
  color: var(--fx-accent);
}

.fx-breadcrumb__sep {
  margin: 0 0.35rem;
  opacity: 0.5;
}

.fx-breadcrumb__current {
  color: var(--fx-text);
  font-weight: 500;
}

.fx-page-hero--pricing .fx-kicker {
  margin-bottom: 0.5rem;
}

.fx-pricing-section--alt {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.85), rgba(255, 255, 255, 0.4));
  border-top: 1px solid var(--fx-line);
  border-bottom: 1px solid var(--fx-line);
}

.fx-pricing-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fx-pricing-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  color: var(--fx-muted);
  line-height: 1.5;
}

.fx-pricing-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-2));
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.fx-price-card {
  position: relative;
  height: 100%;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--fx-radius);
  border: 1px solid var(--fx-line);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.65));
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fx-price-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
}

.fx-price-card--popular {
  border-color: rgba(37, 99, 235, 0.35);
  background: linear-gradient(165deg, #ffffff, rgba(219, 234, 254, 0.45));
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.12);
}

.fx-price-card__badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--fx-accent), var(--fx-accent-2));
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.fx-price-card__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
  padding-right: 4rem;
  color: var(--fx-text);
}

.fx-price-card--popular .fx-price-card__name {
  padding-right: 5.5rem;
}

.fx-price-card__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  color: var(--fx-muted);
  line-height: 1.45;
}

.fx-price-card__trial {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  color: var(--fx-ok);
  font-weight: 600;
}

.fx-price-card__features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1 1 auto;
}

.fx-price-card__features li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  color: var(--fx-muted);
  line-height: 1.45;
}

.fx-price-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--fx-accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.fx-price-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.fx-price-card__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: -0.03em;
  color: var(--fx-text);
}

.fx-price-card__period {
  font-size: 0.95rem;
  color: var(--fx-dim);
}

.fx-price-card__footnote {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  color: var(--fx-dim);
  text-align: center;
  line-height: 1.4;
}

/* ——— Aiero: первый блок + настраиваемые разделители между секциями ——— */
.aiero-pricing-block {
  position: relative;
  overflow: visible;
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: #ffffff;
}

/* «Мост» между блоками: внутри задаётся top % для слоёв (как на исходном сайте) */
.fx-pricing-deco-slot {
  position: relative;
  height: clamp(120px, 18vh, 200px);
  margin: calc(clamp(120px, 18vh, 200px) / -2) 0;
  overflow: visible;
  z-index: 2;
  pointer-events: none;
}

.fx-pricing-deco-layer {
  position: absolute;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
  width: var(--deco-w, 100px);
  height: var(--deco-h, min(520px, 58vh));
  top: var(--deco-top, 50%);
  z-index: 0;
}

.fx-pricing-deco-layer--left {
  left: max(-2.5vw, -14px);
  right: auto;
  transform: translateY(-50%);
}

.fx-pricing-deco-layer--right {
  right: max(-2.5vw, -14px);
  left: auto;
  transform: translateY(-50%);
}

.fx-pricing-deco-layer--center {
  left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 767.98px) {
  .fx-pricing-deco-layer--left {
    left: -6px;
    opacity: inherit;
  }

  .fx-pricing-deco-layer--right {
    right: -6px;
  }

  .fx-pricing-deco-layer {
    width: min(var(--deco-w, 100px), 72px) !important;
  }
}

.aiero-pricing-block__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  box-sizing: border-box;
}

.aiero-pricing-block__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.aiero-pricing-block__eyebrow {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: lowercase;
  color: var(--fx-dim);
  margin: 0 0 0.75rem;
}

.aiero-pricing-block__title {
  font-family: var(--font-display);
  font-weight: var(--fx-heading-weight);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--fx-text);
  margin: 0;
  max-width: 920px;
}

.aiero-pricing-block__text-row {
  margin-bottom: 2rem;
}

.aiero-pricing-block__copy {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--fx-muted);
}

.aiero-pricing-block__bullets {
  list-style: none;
  margin: 0 0 2.75rem;
  padding: 0;
}

.aiero-pricing-block__bullets li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.6rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--fx-muted);
}

.aiero-pricing-block__bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--fx-text);
  opacity: 0.35;
}

.aiero-pricing-block__bullet-strong,
.aiero-pricing-block__bullets strong {
  font-weight: 600;
  color: var(--fx-text);
}

.aiero-pricing-block__cards {
  --aiero-card-pad: clamp(1.5rem, 3vw, 2.1rem);
}

/* Колонки Bootstrap — иначе flex не даёт сжиматься ниже контента и полоски наезжают на соседей */
.aiero-pricing-block__cards > .col {
  min-width: 0;
}

.aiero-plan-with-deco {
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

/* Доля колонки: декор + зазор + карточка всегда внутри ширины колонки */
.aiero-plan-deco {
  flex: 0 1 auto;
  align-self: stretch;
  width: clamp(24px, 7vw, 88px);
  max-width: min(88px, 30%);
  min-width: 22px;
  min-height: 8rem;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left top;
}

.aiero-plan-with-deco > .aiero-price-card {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 1199.98px) {
  .aiero-pricing-block__cards {
    --aiero-card-pad: clamp(1.1rem, 2.2vw, 1.85rem);
  }

  .aiero-plan-deco {
    width: clamp(22px, 6vw, 72px);
    max-width: min(72px, 28%);
  }
}

@media (max-width: 575.98px) {
  .aiero-plan-deco {
    width: clamp(20px, 9vw, 52px);
    max-width: min(52px, 26%);
    min-height: 6rem;
    background-position: center top;
  }
}

.aiero-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--aiero-card-pad);
  padding-top: calc(var(--aiero-card-pad) + 0.35rem);
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: 0 4px 28px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.aiero-price-card:hover {
  box-shadow: 0 12px 44px rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 23, 42, 0.1);
}

.aiero-price-card--featured {
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 50px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.aiero-price-card__ribbon {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--fx-text);
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  line-height: 1;
}

.aiero-price-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  padding-right: 5.5rem;
  color: var(--fx-text);
}

.aiero-price-card__tagline {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  color: var(--fx-muted);
  line-height: 1.45;
}

.aiero-price-card__trial {
  margin: 0 0 1.15rem;
  font-size: 0.8rem;
  color: var(--fx-dim);
  font-weight: 500;
}

.aiero-price-card__feats {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  flex: 1 1 auto;
}

.aiero-price-card__feats li {
  padding: 0.65rem 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--fx-muted);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.aiero-price-card__feats li:last-child {
  border-bottom: none;
}

.aiero-price-card__pricebox {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.15rem 0.5rem;
  margin-bottom: 1.35rem;
}

.aiero-price-card__amount {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.45rem);
  font-weight: 200;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fx-text);
}

.aiero-price-card__period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fx-dim);
  padding-bottom: 0.15rem;
}

.aiero-price-card__btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.82rem 1.2rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--fx-text);
  color: var(--fx-text);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.aiero-price-card__btn:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--fx-text);
}

.aiero-price-card__btn--solid {
  background: var(--fx-text);
  color: #fff !important;
  border-color: var(--fx-text);
}

.aiero-price-card__btn--solid:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

.aiero-price-card__note {
  margin: 1rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--fx-dim);
  text-align: center;
}
