/* =========================================
   LANDING PAGE — База подрядчиков в строительстве
   Isolated CSS — does not conflict with parent project
   ========================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.lp-root {
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  color: #1a2233;
  background: #fff;
  line-height: 1.5;
}

/* ---- Utility ---- */
.lp-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================================================
   HERO SECTION
   ================================================ */
.lp-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: url('images/001.png') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.lp-hero .lp-container {
  width: 100%;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,30,70,0.82) 0%, rgba(10,30,70,0.45) 60%, transparent 100%);
}

.lp-hero__inner {
  position: relative;
  z-index: 1;
  width: 50%;
  max-width: 600px;
  padding: 80px 0;
}

.lp-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.lp-hero__subtitle {
  font-size: 1rem;
  opacity: 0.88;
  margin-bottom: 32px;
  max-width: 100%;
}

.lp-hero__search {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.lp-hero__input {
  width: 100%;
  padding: 14px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  color: #1a2233;
  outline: none;
}

.lp-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.lp-hero__input::placeholder {
  color: #888;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.lp-btn--primary {
  background: #1557d0;
  color: #fff;
  border-color: #1557d0;
}

.lp-btn--primary:hover {
  background: #0d44b0;
  border-color: #0d44b0;
}

.lp-btn--outline {
  background: #fff;
  color: #1557d0;
  border-color: #fff;
}

.lp-btn--outline:hover {
  background: #f0f4ff;
  border-color: #f0f4ff;
}

.lp-btn--orange {
  background: #e8650a;
  color: #fff;
  border-color: #e8650a;
}

.lp-btn--orange:hover {
  background: #c9570a;
  border-color: #c9570a;
}

.lp-btn--more {
  background: transparent;
  color: #1557d0;
  border-color: #1557d0;
  padding: 10px 28px;
}

.lp-btn--more:hover {
  background: #f0f4ff;
}

.lp-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.lp-hero__badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lp-hero__badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
}

.lp-hero__badge-icon--check {
  background: #e8650a;
  color: #fff;
}

.lp-hero__badge-icon--num {
  background: #1557d0;
  color: #fff;
  font-weight: 700;
}

/* ================================================
   SECTION HEADINGS
   ================================================ */
.lp-section {
  padding: 64px 0;
}

.lp-section__title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a2233;
  margin-bottom: 40px;
}

/* ================================================
   CATEGORIES
   ================================================ */
.lp-categories {
  background: #f8f9fc;
}

.lp-categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.lp-cat-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.lp-cat-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.13);
  transform: translateY(-3px);
}

.lp-cat-card__img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.lp-cat-card__label {
  padding: 12px 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a2233;
}

.lp-categories__more {
  display: flex;
  justify-content: center;
}

.lp-link-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1557d0;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.lp-link-more:hover {
  color: #0d44b0;
}

.lp-link-more::after {
  content: '›';
  font-size: 1.2rem;
  line-height: 1;
}

/* ================================================
   HOW IT WORKS
   ================================================ */
.lp-how {
  background: #fff;
}

.lp-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lp-step {
  background: #f0f4ff;
  border-radius: 10px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.lp-step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e8650a;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lp-step__text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a2233;
}

/* ================================================
   CONTRACTORS SECTION
   ================================================ */
.lp-contractors {
  background: #f8f9fc;
}

.lp-contractors__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}

.lp-contractor-card {
  position: relative;
  background: #fff center right / cover no-repeat;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  min-height: 180px;
  display: flex;
  align-items: stretch;
}

.lp-contractor-card:hover {
  box-shadow: 0 6px 28px rgba(0,0,0,0.16);
  transform: translateY(-2px);
}

/* gradient overlay: opaque white left → transparent right */
.lp-contractor-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #fff 42%, rgba(255,255,255,0.72) 62%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.lp-contractor-card__body {
  position: relative;
  z-index: 2;
  padding: 20px 20px 20px 22px;
  width: 68%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lp-contractor-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1a2233;
}

.lp-contractor-card__meta {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lp-contractor-card__meta li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #444;
}

.lp-meta-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.lp-contractors__more {
  display: flex;
  justify-content: center;
}

/* ================================================
   CTA BOTTOM
   ================================================ */
.lp-cta {
  position: relative;
  background: url('images/cta-bottom-bg.png') center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}

.lp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,30,70,0.80) 0%, rgba(10,30,70,0.55) 100%);
}

.lp-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 64px 20px 64px 25%;
}

.lp-cta__photo {
  width: 220px;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.lp-cta__content {
  max-width: 500px;
}

.lp-cta__title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.lp-cta__subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.lp-cta__list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-cta__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.lp-cta__check {
  color: #e8650a;
  font-size: 1.1rem;
}

/* ================================================
   FOOTER
   ================================================ */
.lp-footer {
  background: #0e1d3a;
  color: #c5cfe0;
  padding: 50px 0 30px;
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.lp-footer__col-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 18px;
  border-bottom: 2px solid #1557d0;
  padding-bottom: 8px;
}

.lp-footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lp-footer__links a {
  color: #c5cfe0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.lp-footer__links a:hover {
  color: #fff;
}

.lp-footer__links li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #c5cfe0;
}

.lp-footer__contact-icon {
  font-size: 1rem;
}

.lp-footer__phone {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.lp-footer__email {
  font-size: 0.9rem;
  color: #c5cfe0;
  margin-bottom: 16px;
}

.lp-footer__social {
  display: flex;
  gap: 10px;
}

.lp-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.lp-social-btn:hover {
  opacity: 0.8;
}

.lp-social-btn--vk { background: #4a76a8; }
.lp-social-btn--tw { background: #1da1f2; }
.lp-social-btn--wa { background: #25d366; }

.lp-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #7a8baa;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .lp-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lp-how__steps {
    grid-template-columns: 1fr;
  }

  .lp-contractors__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-cta__photo {
    display: none;
  }
}

@media (max-width: 600px) {
  .lp-hero__inner {
    padding: 60px 0;
    width: 100%;
  }

  .lp-hero__search {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }

  .lp-hero__buttons {
    flex-direction: column;
  }

  .lp-hero__buttons .lp-btn {
    width: 100% !important;
    justify-content: center;
  }

  .lp-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lp-contractors__grid {
    grid-template-columns: 1fr;
  }

  .lp-footer__grid {
    grid-template-columns: 1fr;
  }

  .lp-section__title {
    font-size: 1.4rem;
  }
}
