/* =========================================================
   VITA Studio — страницы под поисковые запросы
   Дополняет styles.css: хлебные крошки, первый экран,
   цена, наборы ссылок и текстовая колонка.
   ========================================================= */

.lp {
  background: var(--cream);
}

/* --- Хлебные крошки --- */
.crumbs {
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 18px) 22px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted-2);
}

.crumbs a {
  color: var(--muted);
  transition: color 0.2s;
}

.crumbs a:hover {
  color: var(--purple-deep);
}

.crumbs b {
  color: var(--text);
  font-weight: 600;
}

/* --- Первый экран --- */
.lp-hero {
  padding: 26px 0 40px;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.lp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.1;
  margin-bottom: 18px;
}

.lp-hero__lead {
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
}

.lp-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
}

.lp-facts li {
  display: flex;
  flex-direction: column;
}

.lp-facts b {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--purple-deep);
  line-height: 1.2;
}

.lp-facts span {
  font-size: 12.8px;
  color: var(--muted-2);
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.lp-hero__note {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted-2);
}

.lp-hero__art {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  background: var(--cream-3);
}

.lp-hero__art picture,
.lp-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-hero__art-small {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 132px;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: var(--shadow-md);
  background: var(--cream-3);
}

.lp-hero__art-small picture,
.lp-hero__art-small img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* --- Текстовая колонка --- */
.lp-text {
  max-width: 820px;
}

.lp-text p {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--muted);
  margin-bottom: 18px;
}

.lp-text p:last-child {
  margin-bottom: 0;
}

/* --- Галерея: кнопка «смотреть все» --- */
.lp-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

/* --- Цена --- */
.lp-price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.lp-price__main {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.lp-price__sum {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--muted);
  margin: 12px 0 4px;
}

.lp-price__sum b {
  font-size: clamp(38px, 4.6vw, 54px);
  color: var(--text);
  line-height: 1;
}

.lp-price__label {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 18px;
}

.lp-price__terms {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
}

.lp-price__terms b {
  font-weight: 700;
}

.lp-price__note {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.8px;
  color: var(--muted-2);
  border-top: 1px solid var(--line);
}

.lp-price__box {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--cream);
  display: flex;
  flex-direction: column;
}

.lp-price__box-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 16px;
}

.lp-price__box ul {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.lp-price__box li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(251, 247, 242, 0.88);
}

.lp-price__box li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-2);
  font-weight: 700;
}

.lp-price__box .btn {
  margin-top: auto;
}

.lp-price__hint {
  margin-top: 12px;
  text-align: center;
  font-size: 12.8px;
  color: rgba(251, 247, 242, 0.5);
}

/* --- Ссылки на другие страницы --- */
.lp-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.lp-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: all 0.22s var(--ease);
}

.lp-link:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.lp-link b {
  font-size: 16.5px;
}

.lp-link span {
  font-size: 13px;
  color: var(--muted-2);
}

/* --- Заявка --- */
.lp-form-note {
  margin-top: 14px;
  text-align: center;
  font-size: 13.5px;
  color: rgba(251, 247, 242, 0.6);
}

.lp-form-note a {
  color: var(--purple-2);
  text-decoration: underline;
}

.lp-form-note .lp-max-inline[hidden],
.lp-form-note [data-max-wrap][hidden] {
  display: none;
}

/* --- Успешная отправка --- */
.lp-success {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
  padding: 20px 0;
}

.lp-success__icon {
  font-size: 46px;
  line-height: 1;
}

.lp-success h3 {
  font-family: var(--font-display);
  font-size: 26px;
}

.lp-success p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(251, 247, 242, 0.72);
  margin-bottom: 6px;
}

.lp-success__id {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-2);
}

/* MAX: бот не может писать первым — клиент открывает чат сам по кнопке или QR */
.lp-success__max {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  gap: 10px;
}

.lp-success__max p {
  text-align: left;
  margin: 0;
  font-size: 14.5px;
}

.lp-success__qr {
  display: grid;
  justify-items: center;
}

.lp-success__qr svg {
  width: 168px;
  height: 168px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
}

.lp-success__qr-note {
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  color: rgba(251, 247, 242, 0.6);
  margin: 0;
}

@media (max-width: 980px) {
  .lp-hero__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .lp-hero__art {
    order: -1;
    aspect-ratio: 16 / 10;
  }
  .lp-price {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .crumbs {
    padding-top: calc(var(--header-h) + 10px);
  }
  .lp-hero {
    padding-top: 16px;
  }
  .lp-facts {
    gap: 12px 22px;
  }
  .lp-facts b {
    font-size: 17.5px;
  }
  .lp-hero__cta .btn {
    width: 100%;
  }
  .lp-hero__art-small {
    width: 92px;
    right: 10px;
    bottom: 10px;
  }
  .lp-price__main,
  .lp-price__box {
    padding: 24px 20px;
  }
  .lp-text p {
    font-size: 15.8px;
  }
}
