/* ab24-piani.css — pricing page with two-path + calculator + quiz */

.ab-piani { padding: 16px 0 0; background: var(--ab-bg); }
.ab-piani > .container > *:last-child { margin-bottom: 0; }

/* Breadcrumb styles moved to ab24.css (unified across all pages) */
/* Page header now uses global .ab-page-header from ab24.css */
/* .ab-eyebrow now uses global token from ab24.css */

/* ─────────────────────────────────────────────
 *  Two-path section — две равных карточки
 *  на фоне, hover/focus выделяет синей рамкой
 * ───────────────────────────────────────────── */
.ab-twopath {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 48px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(15,94,255,0.04), rgba(15,94,255,0.01));
  border: 1px solid var(--ab-blue-line, rgba(15,94,255,0.12));
  border-radius: calc(var(--ab-radius, 10px) + 4px);
}
.ab-path {
  position: relative;
  display: flex; flex-direction: column;
  padding: 30px 28px;
  background: var(--ab-surface);
  border: 2px solid var(--ab-line);
  border-radius: var(--ab-radius, 10px);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  cursor: pointer;
}
.ab-path:hover,
.ab-path:focus-within {
  border-color: var(--ab-blue);
  transform: translateY(-2px);
  box-shadow: var(--ab-shadow-accent);
}
.ab-path__icon {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ab-blue-soft);
  color: var(--ab-blue);
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 16px;
}
.ab-path__title {
  font-size: 24px; font-weight: 800; color: var(--ab-ink);
  margin: 0 0 6px;
}
.ab-path__sub {
  font-size: 14.5px; color: var(--ab-ink-3);
  margin: 0 0 20px;
}
.ab-path__list {
  list-style: none; padding: 0;
  margin: 0 0 22px;
  display: flex; flex-direction: column; gap: 10px;
  flex: 1;
}
.ab-path__list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ab-ink-2); line-height: 1.5;
}
.ab-path__list .fa {
  flex-shrink: 0;
  color: var(--ab-success);
  font-size: 12px;
  margin-top: 4px;
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ab-success-soft);
  border-radius: 50%;
}
.ab-path__list li strong { color: var(--ab-ink); font-weight: 700; }

.ab-path__price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 16px;
}
.ab-path__price-from {
  font-size: 14px; color: var(--ab-ink-3);
  font-weight: 500;
}
.ab-path__price-value {
  font-size: 36px; font-weight: 800;
  color: var(--ab-blue);
  line-height: 1;
}
.ab-path__price-period {
  font-size: 17px; font-weight: 500; color: var(--ab-ink-3);
}
.ab-path__cta { margin-top: auto; }

/* ─────────────────────────────────────────────
 *  Calculator
 * ───────────────────────────────────────────── */
.ab-calc {
  background: var(--ab-surface);
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  margin-bottom: 48px;
  overflow: hidden;
  animation: abFadeIn .3s ease;
}
@keyframes abFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ab-calc__head {
  position: relative;
  padding: 24px 28px;
  background: var(--ab-bg-2);
  border-bottom: 1px solid var(--ab-line);
}
.ab-calc__title {
  font-size: 22px; font-weight: 800; color: var(--ab-ink);
  margin: 0 0 4px;
}
.ab-calc__sub {
  font-size: 14px; color: var(--ab-ink-3);
  margin: 0;
}
.ab-calc__close,
.ab-quiz__close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  padding: 0;
  border: 1px solid var(--ab-line);
  background: var(--ab-surface);
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: var(--ab-ink-3);
  transition: all .15s;
}
.ab-calc__close:hover,
.ab-quiz__close:hover {
  background: var(--ab-ink);
  color: #fff;
  border-color: var(--ab-ink);
}
.ab-calc__body { padding: 28px; }

.ab-calc__section-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  color: var(--ab-ink);
  margin: 30px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ab-blue-soft);
}
.ab-calc__section-title:first-child { margin-top: 0; }
.ab-calc__section-title .fa { color: var(--ab-blue); }
.ab-calc__section-sub {
  font-size: 13px;
  color: var(--ab-ink-3);
  margin: -6px 0 14px;
  line-height: 1.5;
}

.ab-calc__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
}
.ab-calc__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.ab-calc-mod {
  position: relative;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
}
.ab-calc-mod--optional:hover {
  border-color: var(--ab-blue);
  background: rgba(15,94,255,0.02);
}
.ab-calc-mod--included {
  background: var(--ab-success-soft);
  border-color: rgba(13,153,89,0.15);
  cursor: default;
}
.ab-calc-mod input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.ab-calc-mod__check {
  color: var(--ab-success);
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.ab-calc-mod__checkbox {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border: 2px solid var(--ab-ink-5);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  color: #fff;
  transition: all .15s;
  margin-top: 1px;
}
.ab-calc-mod__checkbox .fa { opacity: 0; }
.ab-calc-mod input:checked + .ab-calc-mod__checkbox {
  background: var(--ab-blue);
  border-color: var(--ab-blue);
}
.ab-calc-mod input:checked + .ab-calc-mod__checkbox .fa { opacity: 1; }
.ab-calc-mod--optional:has(input:checked) {
  border-color: var(--ab-blue);
  background: rgba(15,94,255,0.04);
}
.ab-calc-mod__body { flex: 1; min-width: 0; }
.ab-calc-mod__name {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ab-ink);
  margin-bottom: 2px;
  line-height: 1.3;
}
.ab-calc-mod__price {
  font-size: 13px; color: var(--ab-ink-3);
  font-weight: 500;
}
.ab-calc-mod--included .ab-calc-mod__price { color: var(--ab-success); font-weight: 600; }

/* (?) help icon with tooltip */
.ab-calc-mod__help {
  flex-shrink: 0;
  width: 16px; height: 16px;
  padding: 0;
  border: 1px solid var(--ab-ink-5);
  background: transparent;
  color: var(--ab-ink-4);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  cursor: help;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: all .15s;
}
.ab-calc-mod__help:hover {
  background: var(--ab-blue);
  border-color: var(--ab-blue);
  color: #fff;
}
.ab-calc-mod__help::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 280px;
  padding: 10px 12px;
  background: var(--ab-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  border-radius: 6px;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}
.ab-calc-mod__help::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--ab-ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s, visibility .15s;
  z-index: 10;
}
.ab-calc-mod__help:hover::after,
.ab-calc-mod__help:hover::before,
.ab-calc-mod__help:focus::after,
.ab-calc-mod__help:focus::before {
  opacity: 1;
  visibility: visible;
}

/* ─────────────────────────────────────────────
 *  Aggiunte speciali (upsells) — 2 cols, AlphaWeb style
 * ───────────────────────────────────────────── */
.ab-calc__upsell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ab-calc-upsell {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-line);
  border-radius: 10px;
  cursor: pointer;
  transition: all .15s;
}
.ab-calc-upsell:hover {
  border-color: var(--ab-blue);
  background: rgba(15,94,255,0.02);
}
.ab-calc-upsell input[type="checkbox"] {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.ab-calc-upsell__icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ab-blue-soft);
  color: var(--ab-blue);
  border-radius: 10px;
  font-size: 18px;
}
.ab-calc-upsell__body { flex: 1; min-width: 0; }
.ab-calc-upsell__name {
  font-size: 14.5px; font-weight: 700; color: var(--ab-ink);
  line-height: 1.3;
  margin-bottom: 4px;
}
.ab-calc-upsell__desc {
  font-size: 12.5px; color: var(--ab-ink-3);
  line-height: 1.5;
}
.ab-calc-upsell__price {
  flex-shrink: 0;
  text-align: right;
}
.ab-calc-upsell__amount {
  font-size: 16px; font-weight: 800;
  color: var(--ab-ink);
  line-height: 1.1;
}
.ab-calc-upsell__period {
  font-size: 11px;
  color: var(--ab-ink-4);
  margin-top: 2px;
}
.ab-calc-upsell__check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 2px solid var(--ab-ink-5);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 11px;
  transition: all .15s;
  background: var(--ab-surface);
}
.ab-calc-upsell__check .fa { opacity: 0; }
.ab-calc-upsell input:checked ~ .ab-calc-upsell__check {
  background: var(--ab-blue);
  border-color: var(--ab-blue);
}
.ab-calc-upsell input:checked ~ .ab-calc-upsell__check .fa { opacity: 1; }
.ab-calc-upsell:has(input:checked) {
  border-color: var(--ab-blue);
  background: rgba(15,94,255,0.04);
}

/* Language options */
.ab-calc__lang {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}
.ab-calc-lang-opt {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all .15s;
}
.ab-calc-lang-opt:hover {
  border-color: var(--ab-blue);
}
.ab-calc-lang-opt input { margin: 0; accent-color: var(--ab-blue); }
.ab-calc-lang-opt small { color: var(--ab-ink-3); font-size: 12px; margin-left: 4px; }
.ab-calc-lang-opt input:checked ~ * { color: var(--ab-ink); }
.ab-calc-lang-opt:has(input:checked) {
  background: rgba(15,94,255,0.04);
  border-color: var(--ab-blue);
}

/* Promo */
.ab-calc__promo {
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
  max-width: 420px;
}
.ab-calc__promo input {
  flex: 1; min-width: 160px;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  background: var(--ab-surface);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-weight: 600;
}
.ab-calc__promo input:focus {
  outline: none;
  border-color: var(--ab-blue);
}
.ab-calc__promo button {
  padding: 11px 20px;
  font-size: 13.5px; font-weight: 600;
  background: var(--ab-ink);
  color: #fff;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
}
.ab-calc__promo button:hover { background: var(--ab-blue); }
.ab-calc__promo button:disabled { opacity: 0.5; cursor: wait; }
.ab-calc__promo-result {
  width: 100%;
  font-size: 13px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  display: none;
}
.ab-calc__promo-result.is-loading { display: block; background: var(--ab-bg-2); color: var(--ab-ink-3); }
.ab-calc__promo-result.is-success { display: block; background: var(--ab-success-soft); color: var(--ab-success); font-weight: 600; }
.ab-calc__promo-result.is-error   { display: block; background: rgba(230,57,70,0.08); color: #c62828; }

/* Total */
.ab-calc__total {
  margin-top: 30px;
  padding: 24px;
  background: var(--ab-bg-2);
  border-radius: var(--ab-radius);
}
.ab-calc__total-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14.5px;
  padding: 8px 0;
  color: var(--ab-ink-2);
}
.ab-calc__total-row[hidden] { display: none; }
.ab-calc__total-row--promo {
  color: var(--ab-success);
  font-weight: 600;
}
.ab-calc__total-row--promo strong { font-weight: 700; }
.ab-calc__total-row--final {
  padding-top: 14px;
  border-top: 2px solid var(--ab-ink);
  margin-top: 8px;
  font-size: 18px;
  color: var(--ab-ink);
  font-weight: 800;
}
.ab-calc__total-row--final small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--ab-ink-3);
  margin-top: 2px;
}
.ab-calc__total-final {
  font-size: 28px;
  color: var(--ab-blue);
}
.ab-calc__total-note {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px;
  color: var(--ab-ink-3);
  margin: 14px 0 0;
  padding: 10px 12px;
  background: var(--ab-blue-soft);
  border-radius: 6px;
  line-height: 1.45;
}
.ab-calc__total-note .fa {
  color: var(--ab-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.ab-calc__cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.ab-calc__cta {
  min-width: 260px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
}

/* ─────────────────────────────────────────────
 *  Quiz
 * ───────────────────────────────────────────── */
.ab-quiz {
  background: var(--ab-surface);
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  margin-bottom: 48px;
  overflow: hidden;
  animation: abFadeIn .3s ease;
}
.ab-quiz__head {
  position: relative;
  padding: 24px 28px;
  background: var(--ab-bg-2);
  border-bottom: 1px solid var(--ab-line);
}
.ab-quiz__title {
  font-size: 22px; font-weight: 800; color: var(--ab-ink);
  margin: 0 0 4px;
}
.ab-quiz__sub {
  font-size: 14px; color: var(--ab-ink-3); margin: 0;
}
.ab-quiz__body { padding: 28px; }

.ab-quiz__progress {
  height: 4px;
  background: var(--ab-bg-2);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 14px;
}
.ab-quiz__progress-bar {
  height: 100%;
  background: var(--ab-blue);
  border-radius: 100px;
  transition: width .4s ease;
}

.ab-quiz__skip {
  text-align: right;
  margin-bottom: 22px;
}
.ab-quiz__skip-btn {
  background: transparent;
  border: 0;
  font-size: 13px;
  color: var(--ab-ink-3);
  cursor: pointer;
  padding: 4px 0;
  transition: color .15s;
}
.ab-quiz__skip-btn:hover {
  color: var(--ab-blue);
  text-decoration: underline;
}

.ab-quiz__step { display: none; }
.ab-quiz__step.is-active { display: block; animation: abFadeIn .3s ease; }

.ab-quiz__q {
  font-size: 20px; font-weight: 700; color: var(--ab-ink);
  margin: 0 0 20px;
}
.ab-quiz__opts {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 580px;
}
.ab-quiz__opt {
  display: flex; flex-direction: column;
  padding: 16px 20px;
  background: var(--ab-surface);
  border: 2px solid var(--ab-line);
  border-radius: var(--ab-radius);
  cursor: pointer;
  text-align: left;
  transition: all .15s;
}
.ab-quiz__opt:hover {
  border-color: var(--ab-blue);
  background: rgba(15,94,255,0.02);
  transform: translateX(4px);
}
.ab-quiz__opt strong {
  font-size: 15px; font-weight: 700; color: var(--ab-ink);
}
.ab-quiz__opt small {
  font-size: 13px; color: var(--ab-ink-3);
  margin-top: 4px;
}

.ab-quiz__result-head {
  display: flex; align-items: center; gap: 18px;
  padding: 20px 24px;
  background: var(--ab-success-soft);
  border: 1px solid rgba(13,153,89,0.2);
  border-radius: var(--ab-radius);
  margin-bottom: 24px;
}
.ab-quiz__result-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff;
  color: var(--ab-success);
  border-radius: 50%;
  font-size: 24px;
}
.ab-quiz__result-text { flex: 1; min-width: 0; }
.ab-quiz__result-label {
  font-size: 13px;
  color: var(--ab-ink-3);
  margin-bottom: 2px;
}
.ab-quiz__result-plan {
  font-size: 28px; font-weight: 800;
  color: var(--ab-ink);
  line-height: 1.1;
}
.ab-btn--sm {
  padding: 8px 14px;
  font-size: 13px;
}

.ab-quiz__plan-wrap {
  /* Plan card clone lives here */
}
.ab-quiz__plan-wrap .ab-plan-focus {
  /* Remove extra top border-radius since it sits below the result head */
  animation: abFadeIn .35s ease;
}

/* Scroll targets must leave room for fixed header (64px + extra padding) */
.ab-calc,
.ab-quiz,
.ab-plans-section,
.ab-compare,
#plansSection {
  scroll-margin-top: calc(var(--ab-header-h, 64px) + 20px);
}

/* ─────────────────────────────────────────────
 *  Plans section (focused single plan)
 * ───────────────────────────────────────────── */
.ab-section__title--center {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  color: var(--ab-ink);
  margin: 0 0 20px;
}

.ab-plans-section { margin-bottom: 0; }

/* Billing switcher: 2 cards + arrows between */
.ab-billing-switch {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  margin: 0 auto 28px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
.ab-billing-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  min-width: 180px;
  padding: 14px 28px;
  background: var(--ab-surface);
  border: 2px solid var(--ab-line);
  border-radius: 100px;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  text-align: center;
}
.ab-billing-card:hover:not(.is-active) {
  border-color: var(--ab-blue-line, #c7d7f5);
}
.ab-billing-card.is-active {
  background: var(--ab-blue);
  border-color: var(--ab-blue);
  box-shadow: 0 4px 14px rgba(15,94,255,0.22);
}
.ab-billing-card.is-active .ab-billing-card__label { color: #fff; }
.ab-billing-card.is-active .ab-billing-card__hint { color: rgba(255,255,255,0.82); }
.ab-billing-card.is-active .ab-billing-card__badge {
  background: #fff;
  color: var(--ab-blue);
}

.ab-billing-card__label {
  font-size: 15px; font-weight: 700;
  color: var(--ab-ink);
  line-height: 1.1;
}
.ab-billing-card__hint {
  font-size: 11.5px;
  color: var(--ab-ink-3);
  line-height: 1.2;
}
.ab-billing-card__badge {
  position: absolute;
  top: -8px; right: 14px;
  padding: 3px 9px;
  font-size: 11px; font-weight: 700;
  color: #fff;
  background: var(--ab-success);
  border-radius: 100px;
  box-shadow: 0 2px 6px rgba(13,153,89,0.3);
}

/* Arrows between cards */
.ab-billing-switch__arrows {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  padding: 0 14px;
  color: var(--ab-ink-4);
  font-size: 11px;
  user-select: none;
}
.ab-billing-switch__arrows .fa {
  display: block;
  line-height: 1;
}

/* Plan switcher pills */
.ab-plan-pills {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ab-plan-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px;
  font-size: 14px; font-weight: 600;
  color: var(--ab-ink-3);
  background: var(--ab-surface);
  border: 2px solid var(--ab-line);
  border-radius: 100px;
  cursor: pointer;
  transition: all .15s;
}
.ab-plan-pill:hover:not(.is-active) {
  border-color: var(--ab-blue-line, #c7d7f5);
  color: var(--ab-ink);
}
.ab-plan-pill.is-active {
  background: var(--ab-blue);
  color: #fff;
  border-color: var(--ab-blue);
  box-shadow: 0 4px 12px rgba(15,94,255,0.22);
}
.ab-plan-pill__badge {
  font-size: 11px;
  color: var(--ab-amber, #f59e0b);
}
.ab-plan-pill.is-active .ab-plan-pill__badge { color: #fff; }

/* Focused plan card (large, single) */
.ab-plan-focus {
  background: var(--ab-surface);
  border: 2px solid var(--ab-blue);
  border-radius: var(--ab-radius);
  padding: 32px;
  box-shadow: var(--ab-shadow-accent);
  animation: abFadeIn .3s ease;
}
.ab-plan-focus__header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ab-line);
  margin-bottom: 24px;
}
.ab-plan-focus__head-left { flex: 1; min-width: 220px; }
.ab-plan-focus__name {
  font-size: 30px; font-weight: 800; color: var(--ab-ink);
  margin: 0 0 6px;
}
.ab-plan-focus__tagline {
  font-size: 15px; color: var(--ab-ink-3);
  margin: 0;
}
.ab-plan-focus__head-right { text-align: right; }
.ab-plan-focus__price {
  display: inline-flex; align-items: baseline; gap: 2px;
  color: var(--ab-ink);
}
.ab-plan-focus__currency { font-size: 26px; font-weight: 700; color: var(--ab-ink-3); }
.ab-plan-focus__amount { font-size: 54px; font-weight: 800; line-height: 1; color: var(--ab-blue); }
.ab-plan-focus__period { font-size: 17px; color: var(--ab-ink-3); margin-left: 4px; }
.ab-plan-focus__price-sub {
  font-size: 13px; color: var(--ab-ink-4);
  margin-top: 4px;
}
.ab-plan-focus__price-year {
  font-size: 13px; color: var(--ab-success); font-weight: 600;
  margin-top: 4px;
}

.ab-plan-focus__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.ab-plan-focus__col-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  color: var(--ab-ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ab-blue-soft);
}
.ab-plan-focus__col-title .fa { color: var(--ab-blue); }
.ab-plan-focus__features {
  list-style: none; padding: 0;
  margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ab-plan-focus__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ab-ink-2); line-height: 1.5;
}
.ab-plan-focus__features .fa-check {
  flex-shrink: 0;
  color: var(--ab-success);
  font-size: 11px;
  margin-top: 5px;
  width: 16px; height: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ab-success-soft);
  border-radius: 50%;
}
.ab-plan-focus__features .ab-plan-focus__feature-extra {
  color: var(--ab-blue);
  background: var(--ab-blue-soft);
}

.ab-plan-focus__footer {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--ab-line);
}
.ab-plan-focus__footer .ab-btn--lg {
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
}
.ab-btn--text {
  background: transparent;
  color: var(--ab-ink-3);
  border: 0;
  padding: 10px 12px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color .15s;
}
.ab-btn--text:hover { color: var(--ab-blue); }

/* Comparison table */
.ab-compare {
  margin-top: 32px;
  padding: 28px;
  background: var(--ab-surface);
  border: 1px solid var(--ab-line);
  border-radius: var(--ab-radius);
  animation: abFadeIn .3s ease;
}
.ab-compare__title {
  font-size: 20px; font-weight: 800; color: var(--ab-ink);
  margin: 0 0 20px;
  text-align: center;
}
.ab-compare__wrap { overflow-x: auto; }
.ab-compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.ab-compare__table thead th {
  padding: 14px 12px;
  font-size: 14px;
  color: var(--ab-ink-3);
  text-align: center;
  background: var(--ab-bg-2);
  border-bottom: 2px solid var(--ab-line);
}
.ab-compare__table thead th:first-child {
  text-align: left;
  color: var(--ab-ink);
}
.ab-compare__table thead th.is-highlight {
  background: rgba(15,94,255,0.08);
  color: var(--ab-blue);
}
.ab-compare__table thead th strong {
  display: block;
  font-size: 16px;
  color: var(--ab-ink);
  margin-bottom: 2px;
}
.ab-compare__table thead th.is-highlight strong { color: var(--ab-blue); }
.ab-compare__price {
  font-size: 12px; color: var(--ab-ink-3); font-weight: 500;
}
.ab-compare__table tbody td {
  padding: 12px;
  font-size: 14px;
  color: var(--ab-ink-2);
  border-bottom: 1px solid var(--ab-line);
  text-align: center;
}
.ab-compare__table tbody td:first-child {
  text-align: left;
  color: var(--ab-ink);
  font-weight: 500;
}
.ab-compare__table tbody td.is-highlight {
  background: rgba(15,94,255,0.04);
}
.ab-compare__table .ab-ok { color: var(--ab-success); }
.ab-compare__table .ab-no { color: var(--ab-ink-5); }

/* ─────────────────────────────────────────────
 *  FAQ styles are now in ab24.css (unified across all pages)
 * ───────────────────────────────────────────── */

/* ─────────────────────────────────────────────
 *  Modal (request preventivo)
 * ───────────────────────────────────────────── */
.ab-modal {
  position: fixed; inset: 0;
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.ab-modal[hidden] { display: none; }
.ab-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(16,20,27,0.6);
  backdrop-filter: blur(4px);
}
.ab-modal__dialog {
  position: relative;
  width: 100%; max-width: 500px;
  max-height: 90vh; overflow-y: auto;
  background: var(--ab-surface);
  border-radius: var(--ab-radius);
  padding: 30px;
  box-shadow: var(--ab-shadow-modal);
  animation: abModalIn .3s ease;
}
@keyframes abModalIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ab-modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  padding: 0;
  border: 0;
  background: var(--ab-bg-2);
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  color: var(--ab-ink-3);
  transition: all .15s;
}
.ab-modal__close:hover { background: var(--ab-ink); color: #fff; }
.ab-modal__title {
  font-size: 20px; font-weight: 800; color: var(--ab-ink);
  margin: 0 0 6px;
}
.ab-modal__sub {
  font-size: 14px; color: var(--ab-ink-3);
  margin: 0 0 20px;
}

.ab-modal__summary {
  padding: 14px 16px;
  background: var(--ab-blue-soft);
  border: 1px solid rgba(15,94,255,0.15);
  border-radius: 8px;
  margin-bottom: 20px;
}
.ab-modal__summary-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
}
.ab-modal__summary-head span {
  font-size: 13px;
  color: var(--ab-ink-3);
  font-weight: 500;
}
.ab-modal__summary-head strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--ab-blue);
  line-height: 1;
}
.ab-modal__summary-details {
  font-size: 12.5px;
  color: var(--ab-ink-3);
  margin-top: 4px;
}

.ab-req-form__row { margin-bottom: 14px; }
.ab-req-form__row label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--ab-ink);
  margin-bottom: 6px;
}
.ab-req-form__row input,
.ab-req-form__row textarea {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--ab-line);
  border-radius: 8px;
  background: var(--ab-surface);
  font-family: inherit;
}
.ab-req-form__row input:focus,
.ab-req-form__row textarea:focus {
  outline: none;
  border-color: var(--ab-blue);
}
.ab-req-form__row textarea { resize: vertical; min-height: 80px; }
.ab-req-form__privacy {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--ab-ink-3); line-height: 1.45;
  margin: 14px 0 18px;
  cursor: pointer;
}
.ab-req-form__privacy input { margin-top: 3px; accent-color: var(--ab-blue); }
.ab-req-form__privacy a { color: var(--ab-blue); }

/* .ab-honeypot and .ab-contact-form__status styles moved to ab24.css (unified) */

/* ─────────────────────────────────────────────
 *  Responsive
 * ───────────────────────────────────────────── */
@media (max-width: 991px) and (min-width: 768px) {
  .ab-calc__grid--3col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .ab-twopath {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }
  .ab-path { padding: 24px 22px; }
  .ab-calc__body { padding: 20px; }
  .ab-calc__grid { grid-template-columns: 1fr; }
  .ab-calc__grid--3col { grid-template-columns: 1fr; }
  .ab-calc__upsell-grid { grid-template-columns: 1fr; }
  .ab-modal__dialog { padding: 24px 20px; }

  /* FAQ mobile styles in ab24.css (global) */

  /* Plan focus mobile */
  .ab-plan-focus { padding: 24px 20px; }
  .ab-plan-focus__header { flex-direction: column; gap: 14px; }
  .ab-plan-focus__head-right { text-align: left; }
  .ab-plan-focus__body { grid-template-columns: 1fr; gap: 24px; }
  .ab-plan-focus__footer { flex-direction: column; align-items: stretch; }
  .ab-plan-focus__footer .ab-btn--lg { width: 100%; text-align: center; }
  .ab-plan-focus__name { font-size: 26px; }
  .ab-plan-focus__amount { font-size: 46px; }
  .ab-compare { padding: 20px; }

  /* Quiz result mobile */
  .ab-quiz__result-head {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 12px;
  }
  .ab-quiz__result-text { width: 100%; }
  .ab-quiz__result-plan { font-size: 24px; }
}
@media (max-width: 575px) {
  .ab-calc__promo { flex-direction: column; align-items: stretch; }
  .ab-calc__promo input { min-width: 0; }
  .ab-calc__promo button { width: 100%; }
  .ab-plan-pill { padding: 8px 16px; font-size: 13px; }

  /* Billing switch mobile */
  .ab-billing-card {
    min-width: 130px;
    padding: 12px 16px;
  }
  .ab-billing-card__label { font-size: 14px; }
  .ab-billing-card__hint { font-size: 11px; }
  .ab-billing-switch__arrows { padding: 0 8px; font-size: 10px; }
}
