/* Landing pages — Михайлов и К */
.lp-hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  color: #fff;
  background: #1a1a1a center/cover no-repeat;
  isolation: isolate;
}
.lp-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(12,12,12,.88) 0%, rgba(12,12,12,.55) 48%, rgba(12,12,12,.35) 100%);
  z-index: 0;
}
.lp-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 20px 48px;
}
.lp-hero__crumb {
  margin: 0 0 14px;
  font-size: .92rem;
  color: rgba(255,255,255,.72);
}
.lp-hero__crumb a { color: #e0c18e; text-decoration: none; }
.lp-hero__crumb a:hover { text-decoration: underline; }
.lp-hero h1 {
  margin: 0 0 14px;
  max-width: 760px;
  font-family: "Roboto Slab", serif;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: #fff;
  font-weight: 700;
}
.lp-hero__lead {
  margin: 0 0 26px;
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.55;
  color: rgba(255,255,255,.88);
}
.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.lp-btn--gold {
  background: linear-gradient(180deg, #e8d0a0 0%, #c9a46a 100%);
  color: #1a140c;
}
.lp-btn--max {
  background: #4B6BFB;
  color: #fff;
}
.lp-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.lp-btn:hover { filter: brightness(1.05); }

.lp-pros {
  background: #1f1f1f;
  color: #f2f2f2;
  padding: 28px 0;
}
.lp-pros__grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
}
.lp-pros h2 {
  margin: 0 0 8px;
  font-family: "Roboto Slab", serif;
  font-size: 1.15rem;
  color: #e0c18e;
}
.lp-pros p {
  margin: 0;
  line-height: 1.5;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
}

.lp-section {
  padding: 56px 0;
  background: #fff;
}
.lp-section--muted { background: #f7f7f7; }
.lp-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}
.lp-wrap--wide { max-width: 1140px; }
.lp-section h2 {
  margin: 0 0 12px;
  font-family: "Roboto Slab", serif;
  font-size: 1.65rem;
  color: #222;
}
.lp-section .lp-intro {
  margin: 0 0 28px;
  color: #555;
  max-width: 720px;
  line-height: 1.55;
}
.lp-section p, .lp-section li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
}
.lp-section ul {
  margin: 0 0 8px;
  padding-left: 1.2rem;
}
.lp-section h3 {
  margin: 1.8rem 0 .7rem;
  font-family: "Roboto Slab", serif;
  font-size: 1.25rem;
}

.lp-gal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.lp-gal__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4/3;
  background: #eee;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.lp-gal__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.lp-gal__item:hover img { transform: scale(1.05); }
.lp-gal__item.is-hidden { display: none; }
.lp-gal__more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
.lp-gal__more {
  background: #2c2c2c;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.lp-gal__more:hover { background: #1a6b3c; }
.lp-gal__more[hidden] { display: none !important; }

.lp-cta {
  padding: 56px 0;
  background: linear-gradient(135deg, #1f3d2a 0%, #2c2c2c 60%, #1a1a1a 100%);
  color: #fff;
  text-align: center;
}
.lp-cta h2 {
  margin: 0 0 10px;
  font-family: "Roboto Slab", serif;
  font-size: 1.7rem;
  color: #fff;
}
.lp-cta p {
  margin: 0 auto 22px;
  max-width: 560px;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.lp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.lp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}
.lp-lightbox.is-open { display: flex; }
.lp-lightbox img {
  max-width: min(1100px, 96vw);
  max-height: 88vh;
  border-radius: 10px;
}
.lp-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
}

@media (max-width: 900px) {
  .lp-gal { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .lp-hero {
    min-height: 0;
    align-items: flex-start;
  }
  .lp-hero__inner {
    padding: 28px 16px 36px;
  }
  .lp-pros__grid { grid-template-columns: 1fr; }
  .lp-gal { grid-template-columns: 1fr; }
  .lp-hero__actions { flex-direction: column; align-items: stretch; }
  .lp-btn { width: 100%; }
}
