/* responsive.css — Breakpoints for the complex page */

@media (max-width: 1100px) {
  .hero-side {
    width: 320px;
    right: 20px;
    top: 20px;
    padding: 22px;
  }
}

@media (max-width: 1000px) {
  /* Stack hero: gallery full, then info below */
  .hero-side {
    position: static;
    width: 100%;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border: 1px solid #eaeaea;
    border-radius: 14px;
    margin-top: 12px;
  }

  .gallery-main {
    height: 360px;
  }

  .gallery-side-btn {
    height: 80px;
  }
}

@media (max-width: 700px) {
  .complex-wrap {
    padding: 14px 14px 64px;
  }

  .section {
    padding: 18px;
  }

  .section h2 {
    font-size: 26px;
  }

  .gallery-main {
    height: 260px;
  }

  .gallery-side-btn {
    height: 64px;
  }

  .price {
    font-size: 26px;
  }

  .hero-side {
    padding: 18px;
    gap: 10px;
  }

  .complex-anchor-nav__link {
    padding: 12px 14px;
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 86px;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 1800;
    transform: translateY(120%);
    opacity: 0;
    transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1), opacity .35s ease;
    pointer-events: none;
  }

  .mobile-sticky-cta.visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-sticky-cta__inner {
    background: rgba(255, 255, 255, .94);
    border: 1px solid #e6e7eb;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(16, 18, 24, .14);
  }

  .mobile-sticky-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e30613, #b8040f);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
  }
}
