/* ============================================
   Посадочная под Яндекс Директ — /direct/
   Дизайн-система наследуется из /css/style.css
   ============================================ */

.lp-direct { background: var(--bg); }

/* ---------- HEADER ---------- */
.lp-direct__phone {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .01em;
  color: var(--ink);
  white-space: nowrap;
}
.lp-direct__phone:hover { color: var(--accent); }

/* ---------- HERO ---------- */
.lp-direct__hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.lp-direct__hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.lp-direct__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}
.lp-direct__hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(20, 32, 26, .94) 0%, rgba(20, 32, 26, .82) 42%, rgba(20, 32, 26, .38) 72%, rgba(20, 32, 26, .25) 100%);
}
.lp-direct__hero .container { position: relative; z-index: 2; }
.lp-direct__hero-inner { max-width: 760px; }

.lp-direct__hero .eyebrow {
  color: var(--gold);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 12px;
}
.lp-direct__hero h1 {
  color: #f5f1e8;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1.05;
  margin: 22px 0 20px;
}
.lp-direct__hero h1 span {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.lp-direct__hero .lead {
  color: rgba(245, 241, 232, .84);
  font-size: 17px;
  max-width: 620px;
  font-weight: 300;
}
.lp-direct__hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 40px;
}
.lp-direct__hero .btn--ghost {
  border-color: rgba(245, 241, 232, .45);
  color: #f5f1e8;
}
.lp-direct__hero .btn--ghost:hover { background: rgba(245, 241, 232, .12); }

.lp-direct__hero-facts {
  list-style: none;
  display: grid;
  gap: 12px;
  border-top: 1px solid rgba(245, 241, 232, .18);
  padding-top: 26px;
}
.lp-direct__hero-facts li {
  color: rgba(245, 241, 232, .78);
  font-size: 15px;
  font-weight: 300;
  padding-left: 24px;
  position: relative;
}
.lp-direct__hero-facts li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 600;
}
.lp-direct__hero-facts b { color: #f5f1e8; font-weight: 600; }

/* ---------- ЧТО ВХОДИТ ---------- */
.lp-direct__incl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.lp-direct__incl-item {
  background: var(--surface);
  padding: 30px 26px 32px;
  transition: background var(--transition);
}
.lp-direct__incl-item:hover { background: #fff; }
.lp-direct__incl-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .12em;
  margin-bottom: 14px;
}
.lp-direct__incl-item b {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.25;
}
.lp-direct__incl-item p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
}

/* ---------- КАРТОЧКИ ЦЕН ---------- */
.lp-direct__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.lp-direct__card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 34px 30px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}
.lp-direct__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(26, 36, 33, .09);
}
.lp-direct__card--accent {
  background: var(--accent-2);
  border-color: var(--accent-2);
}
.lp-direct__card--accent h3,
.lp-direct__card--accent .lp-direct__card-price { color: #f5f1e8; }
.lp-direct__card--accent p { color: rgba(245, 241, 232, .78); }
.lp-direct__card-tag {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.lp-direct__card h3 {
  font-size: 27px;
  margin-bottom: 12px;
  line-height: 1.2;
}
.lp-direct__card p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  flex: 1;
  margin-bottom: 22px;
}
.lp-direct__card-price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--ink);
  margin-bottom: 20px;
  line-height: 1;
}
.lp-direct__card-price small {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0;
}
.lp-direct__card--accent .lp-direct__card-price small { color: rgba(245, 241, 232, .6); }

.lp-direct__note {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  padding: 22px 26px;
  background: var(--surface);
}
.lp-direct__note b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.lp-direct__note p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 300;
  margin-top: 4px;
}

/* ---------- КАЛЬКУЛЯТОР ---------- */
.lp-direct__calc {
  margin-top: 30px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}
.lp-direct__calc-head {
  padding: 34px 30px;
  background: var(--accent-2);
}
.lp-direct__calc-head .eyebrow { color: var(--gold); }
.lp-direct__calc-head h3 {
  color: #f5f1e8;
  font-size: 30px;
  line-height: 1.15;
  margin-top: 14px;
}
.lp-direct__calc-body {
  padding: 34px 30px;
  display: grid;
  gap: 24px;
}
.lp-direct__calc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 14px;
}
.lp-direct__calc-out {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: grid;
  gap: 12px;
  justify-items: start;
}
.lp-direct__calc-label {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-direct__calc-price {
  font-family: var(--font-display);
  font-size: 46px;
  line-height: 1;
  color: var(--accent);
}
.lp-direct__calc-note {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.5;
  max-width: 520px;
}

/* ---------- ДОВЕРИЕ ---------- */
.lp-direct__trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 40px;
}
.lp-direct__trust b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.lp-direct__trust p {
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
}

/* ---------- ОБЪЕКТЫ ---------- */
.lp-direct__cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-direct__cases figure { margin: 0; }
.lp-direct__cases img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: saturate(.92);
}
.lp-direct__cases figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
  letter-spacing: .02em;
}
.lp-direct__cases-more { margin-top: 30px; text-align: center; }

/* ---------- ФОРМА ---------- */
.lp-direct__lead {
  background: var(--accent-2);
  padding: 90px 0;
  position: relative;
}
.lp-direct__lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.lp-direct__lead .eyebrow { color: var(--gold); }
.lp-direct__lead h2 { color: #f5f1e8; font-size: clamp(30px, 4vw, 44px); margin: 18px 0 16px; }
.lp-direct__lead .lead { color: rgba(245, 241, 232, .8); font-weight: 300; }
.lp-direct__lead-points {
  list-style: none;
  margin: 30px 0 0;
  display: grid;
  gap: 11px;
}
.lp-direct__lead-points li {
  color: rgba(245, 241, 232, .82);
  font-size: 15px;
  font-weight: 300;
  padding-left: 24px;
  position: relative;
}
.lp-direct__lead-points li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.lp-direct__lead-phone {
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid rgba(245, 241, 232, .16);
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.lp-direct__lead-phone span { color: rgba(245, 241, 232, .55); font-size: 14px; }
.lp-direct__lead-phone a {
  font-family: var(--font-display);
  font-size: 26px;
  color: #f5f1e8;
}
.lp-direct__lead-phone a:hover { color: var(--gold); }
.lp-direct__lead-phone a[href*="wa.me"] {
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid rgba(245, 241, 232, .3);
  padding: 8px 16px;
}

.lp-direct__form {
  background: var(--surface);
  padding: 34px 32px 30px;
  display: grid;
  gap: 16px;
}
.lp-direct__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-direct__field { display: grid; gap: 7px; }
.lp-direct__field label {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.lp-direct__field input,
.lp-direct__field select,
.lp-direct__field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--fg);
  width: 100%;
  border-radius: 0;
  transition: border-color var(--transition);
}
.lp-direct__field input:focus,
.lp-direct__field select:focus,
.lp-direct__field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.lp-direct__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
  cursor: pointer;
}
.lp-direct__consent input { margin-top: 2px; accent-color: var(--accent); }
.lp-direct__form .btn--primary { margin-top: 4px; padding: 17px; font-size: 16px; }
.lp-direct__form-note {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.lp-direct__form-note a { text-decoration: underline; }

/* ---------- КОНТАКТЫ ---------- */
.lp-direct__contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.lp-direct__contacts > div {
  background: var(--surface);
  padding: 24px 26px;
}
.lp-direct__contacts span {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.lp-direct__contacts a,
.lp-direct__contacts p {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--ink);
}
.lp-direct__contacts a:hover { color: var(--accent); }

.lp-direct__footer { background: #16221c; }
.lp-direct__footer .footer__legal { color: rgba(245, 241, 232, .55); }
.lp-direct__footer .footer__bottom { color: rgba(245, 241, 232, .5); }
.lp-direct__footer a { color: rgba(245, 241, 232, .7); }
.lp-direct__footer a:hover { color: #f5f1e8; }

/* ---------- ЛИПКАЯ ПАНЕЛЬ (мобильные) ---------- */
.lp-direct__sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 32, 26, .96);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(245, 241, 232, .14);
}
.lp-direct__sticky a {
  flex: 1;
  text-align: center;
  padding: 15px 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .01em;
}
.lp-direct__sticky-call {
  border: 1px solid rgba(245, 241, 232, .35);
  color: #f5f1e8;
}
.lp-direct__sticky-cta {
  background: var(--gold);
  color: #16221c;
  flex: 1.4 !important;
}

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1100px) {
  .lp-direct__incl { grid-template-columns: repeat(2, 1fr); }
  .lp-direct__cards { grid-template-columns: 1fr 1fr; }
  .lp-direct__trust { grid-template-columns: repeat(3, 1fr); }
  .lp-direct__cases { grid-template-columns: 1fr 1fr; }
  .lp-direct__contacts { grid-template-columns: repeat(2, 1fr); }
  .lp-direct__hero { min-height: auto; padding: 100px 0 70px; }
  .lp-direct__calc { grid-template-columns: 1fr; }
  .lp-direct__calc-fields { grid-template-columns: 1fr 1fr 1.4fr; }
}

@media (max-width: 780px) {
  .lp-direct__phone { display: none; }
  .lp-direct__lead-grid { grid-template-columns: 1fr; gap: 40px; }
  .lp-direct__lead { padding: 64px 0; }
  .lp-direct__calc-body { padding: 24px 20px; }
  .lp-direct__calc-head { padding: 26px 20px; }
  .lp-direct__calc-fields { grid-template-columns: 1fr 1fr; }
  .lp-direct__calc-price { font-size: 38px; }
  .lp-direct__hero::after {
    background: linear-gradient(180deg, rgba(20, 32, 26, .88) 0%, rgba(20, 32, 26, .9) 55%, rgba(20, 32, 26, .95) 100%);
  }
  .lp-direct__hero h1 { font-size: 36px; }
  .lp-direct__hero .lead { font-size: 16px; }
  .lp-direct__hero-cta .btn { flex: 1; text-align: center; }
  .lp-direct__incl { grid-template-columns: 1fr; }
  .lp-direct__cards { grid-template-columns: 1fr; }
  .lp-direct__trust { grid-template-columns: 1fr; gap: 26px; }
  .lp-direct__cases { grid-template-columns: 1fr; }
  .lp-direct__cases img { height: 230px; }
  .lp-direct__contacts { grid-template-columns: 1fr; }
  .lp-direct__form { padding: 24px 20px 22px; }
  .lp-direct__sticky { display: flex; }
  body.lp-direct { padding-bottom: 74px; }
  .lp-direct__note { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 460px) {
  .lp-direct__row { grid-template-columns: 1fr; }
}
