/* =====================================================================
   Landing components (used by zapravka-avtokonditsionera and future
   landing pages). Kept in a separate file so the large generated
   main.css is never touched.
   ===================================================================== */

/* --- Image + text block (image left, text right; stacks on mobile) --- */
.landing-image-text__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.landing-image-text__media img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}
.landing-image-text__body .l-section__heading {
  text-align: left;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .landing-image-text__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* --- Price table (real table on desktop, cards on mobile) --- */
.landing-price__table {
  width: 100%;
}
.landing-price__row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
}
.landing-price__row--head {
  font-weight: 700;
  text-transform: uppercase;
  font-size: .85em;
  letter-spacing: .03em;
  background: rgba(0, 0, 0, .03);
  border-radius: 8px 8px 0 0;
}
.landing-price__cell--service {
  font-weight: 600;
}
.landing-price__cell--price {
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .landing-price__row--head {
    display: none;
  }
  .landing-price__row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 0;
  }
  .landing-price__cell--service {
    font-size: 1.1em;
  }
  .landing-price__cell--includes {
    opacity: .8;
  }
  .landing-price__cell--price {
    font-size: 1.1em;
  }
}

/* --- Floating "call" button: mobile only, fixed at the bottom --- */
.floating-call {
  display: none;
}
@media (max-width: 768px) {
  .floating-call {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 16px;
    z-index: 9999;
    width: auto;
    margin: 0;
    padding: 12px 24px;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .3);
    white-space: nowrap;
  }
  .floating-call__icon {
    flex: 0 0 auto;
  }
}

/* --- Bright, contrasting CTA — only on landing pages (body.is-landing) --- */
.is-landing .button--promo,
.is-landing .floating-call {
  background-color: #ffb400;
  border-color: #ffb400;
  color: #1a1a1a;
}
.is-landing .button--promo:hover,
.is-landing .floating-call:hover {
  background-color: #e8a200;
  border-color: #e8a200;
  color: #1a1a1a;
}
