/* gtm-site1 «Уровень» - S2: «Сколько стоит» (lv-price-*) and «Тарифы - все функции» (lv-plans / lv-pl-*).
   Tokens, .lv-wrap, .lv-h2, .lv-cap, .lv-dim, .lv-btn*, .lv-sr come from level.css (loaded before this file). */

/* ---------- «Сколько стоит» ---------- */
.lv-price {
  padding-top: 76px;
}
.lv-price-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
body.lv .lv-price-more {
  color: var(--gold);
  text-decoration: none;
  font-size: 15px;
  line-height: 22px;
  white-space: nowrap;
}
.lv-price-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: var(--bg-2);
}
.lv-price-col {
  padding: 26px 30px 28px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lv-price-col:first-child {
  border-left: 0;
}
.lv-price-name {
  font: 600 19px/1 var(--font);
  display: flex;
  align-items: center;
  gap: 10px;
}
.lv-price-tag {
  font: 500 11px/1 var(--font);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 5px 8px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.lv-price-amount {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 6px;
}
.lv-price-amount b {
  font: 600 46px/48px var(--font);
  letter-spacing: -1px;
}
.lv-price-amount span {
  color: var(--text-2);
  font-size: 15px;
  line-height: 22px;
}
.lv-price-lines {
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
  font-size: 15px;
  line-height: 22px;
  color: var(--text-2);
}
.lv-price-line {
  padding: 5px 0 5px 22px;
  position: relative;
}
.lv-price-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 17px;
  width: 10px;
  height: 1px;
  background: var(--steel);
}
.lv-price-line.is-on.is-dev {
  color: var(--gold);
}
.lv-price-line.is-on.is-dev::before {
  background: var(--gold);
}
.lv-price-line.is-off {
  color: var(--text-3);
}
.lv-price-go {
  margin-top: auto;
}
.lv-price-go.lv-btn,
.lv-price-go .lv-form,
.lv-price-go .lv-form-go,
.lv-price-go .lv-form-row {
  width: 100%;
}
.lv-price-go.lv-btn,
.lv-price-go .lv-form-go {
  height: 48px;
}

/* ---------- «Тарифы - все функции» ---------- */
.lv-plans {
  position: relative;
  padding-top: 120px;
  padding-bottom: 30px;
}
.lv-plans--full {
  padding-top: 48px;
}
.lv-sw-in {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  opacity: 0;
}
.lv-pl-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.lv-pl-title {
  margin: 0;
}
.lv-pl-swwrap {
  display: flex;
  align-items: center;
  flex: none;
}
.lv-switch {
  position: relative;
  display: inline-flex;
  height: 44px;
  padding: 4px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px var(--line-2);
  background: rgba(255, 255, 255, 0.03);
}
.lv-switch label {
  position: relative;
  z-index: 2;
  width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font: 500 15px/1 var(--font);
  cursor: pointer;
  transition: color 0.3s;
}
.lv-switch .lv-thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: 120px;
  height: 36px;
  border-radius: 7px;
  background: var(--gold);
  transition: transform 0.5s var(--ease);
  box-shadow: 0 0 22px rgba(244, 196, 48, 0.4);
}
#lv-term-m:checked ~ .lv-pl-top label[for='lv-term-m'],
#lv-term-y:checked ~ .lv-pl-top label[for='lv-term-y'] {
  color: #0a0b0d;
}
#lv-term-y:checked ~ .lv-pl-top .lv-thumb {
  transform: translateX(120px);
}
.lv-sw-in:focus-visible ~ .lv-pl-top .lv-switch {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.lv-save {
  margin-left: 14px;
  font-size: 14px;
  line-height: 20px;
  color: var(--gold);
  white-space: nowrap;
}
#lv-term-m:checked ~ .lv-pl-cols .lv-y,
#lv-term-y:checked ~ .lv-pl-cols .lv-m {
  display: none;
}

.lv-pl-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  position: relative;
}
.lv-pl-col {
  padding: 0 30px 30px;
  border-left: 1px solid var(--line);
  min-width: 0;
}
.lv-pl-col:first-child {
  border-left: 0;
}
.lv-pl-head {
  position: sticky;
  top: var(--lv-nav-h, 64px);
  z-index: 6;
  margin: 0 -30px;
  padding: 28px 30px 22px;
  background: linear-gradient(180deg, var(--bg-2) 93%, rgba(11, 13, 17, 0));
}
.lv-pl-col:first-child .lv-pl-head {
  border-top-left-radius: 15px;
}
.lv-pl-ultra .lv-pl-head {
  border-top-right-radius: 15px;
}
.lv-pl-sub {
  font-size: 13px;
  line-height: 18px;
  color: var(--text-3);
  min-height: 36px;
}
.lv-pl-head .lv-btn {
  width: 100%;
  margin-top: 14px;
  height: 48px;
}
.lv-pl-nobuy {
  display: block;
  height: 62px;
}
body.lv .lv-btn-light {
  background: var(--text);
  color: #0a0b0d;
  box-shadow: none;
}
.lv-pl-ultra {
  background: linear-gradient(180deg, rgba(244, 196, 48, 0.055), rgba(244, 196, 48, 0) 420px);
  border-radius: 0 16px 16px 0;
}
.lv-pl-ultra .lv-pl-head {
  background: linear-gradient(180deg, #100f0b 93%, rgba(16, 15, 11, 0));
}
.lv-pl-only {
  margin: 18px 0 4px;
  padding: 16px 18px;
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(244, 196, 48, 0.35);
  background: rgba(244, 196, 48, 0.05);
}
.lv-pl-only .lv-cap {
  color: var(--gold);
  margin-bottom: 8px;
}
.lv-pl-grp {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.lv-pl-grp > .lv-cap {
  margin-bottom: 10px;
  color: var(--text-2);
}
.lv-pl-row {
  display: flex;
  gap: 10px;
  font-size: 14.5px;
  line-height: 21px;
  padding: 4px 0;
  color: var(--text);
}
.lv-pl-ic {
  flex: 0 0 14px;
  height: 14px;
  margin-top: 4px;
  background: var(--up);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3.2L12 3.6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.lv-pl-row.is-off {
  color: var(--text-3);
}
.lv-pl-row.is-off .lv-pl-ic {
  background: var(--text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 3.5l7 7M10.5 3.5l-7 7' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 3.5l7 7M10.5 3.5l-7 7' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.lv-pl-row.is-on.is-dev {
  color: var(--gold);
}
.lv-pl-row.is-on.is-dev .lv-pl-ic {
  background: var(--gold);
}

.lv-pl-cols.is-cut {
  max-height: 1180px;
  overflow: hidden;
}
.lv-pl-cols.is-cut .lv-pl-head {
  position: static;
}
.lv-pl-cols.is-cut::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 260px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, rgba(11, 13, 17, 0), var(--bg-2) 70%);
  pointer-events: none;
}
.lv-pl-all {
  display: flex;
  justify-content: center;
  margin-top: -26px;
  position: relative;
  z-index: 7;
}
.lv-pl-all[hidden] {
  display: none;
}
.lv-pl-all .lv-btn {
  background: var(--bg-2);
}
.lv-foot {
  margin: 22px 0 0;
  text-align: center;
  font: 400 12px/18px var(--font);
  color: var(--text-3);
  letter-spacing: 0.01em;
}
.lv-foot i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  box-shadow: 0 0 10px rgba(244, 196, 48, 0.7);
}
.lv-pl-start {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* /pricing: the closing e-mail form */
.lv-sec-final {
  padding: 70px 0 120px;
  text-align: center;
}
.lv-sec-final .lv-form {
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- phone (concept A_07): the switch on top, three stacked lists, nothing sticks ---------- */
@media (max-width: 760px) {
  .lv-price {
    padding-top: 40px;
  }
  .lv-price-head {
    display: block;
  }
  body.lv .lv-price-more {
    display: block;
    margin-top: 10px;
    white-space: normal;
  }
  .lv-price-row,
  .lv-pl-cols {
    grid-template-columns: 1fr;
  }
  .lv-price-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .lv-price-col:first-child {
    border-top: 0;
  }
  .lv-plans {
    padding-top: 70px;
  }
  .lv-plans--full {
    padding-top: 28px;
  }
  .lv-pl-top {
    display: block;
    margin-bottom: 26px;
  }
  .lv-pl-swwrap {
    display: block;
    margin-top: 18px;
  }
  .lv-save {
    display: block;
    margin: 10px 0 0;
  }
  .lv-pl-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .lv-pl-col:first-child {
    border-top: 0;
  }
  .lv-pl-head {
    position: static;
  }
  .lv-pl-ultra {
    border-radius: 0 0 15px 15px;
  }
  .lv-pl-col:not(:first-child) .lv-pl-head,
  .lv-pl-ultra .lv-pl-head {
    border-radius: 0;
  }
  .lv-pl-col:first-child .lv-pl-head {
    border-radius: 15px 15px 0 0;
  }
  .lv-pl-cols.is-cut {
    max-height: 1500px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .lv-switch .lv-thumb,
  .lv-switch label {
    transition: none;
  }
}
