@media (max-width: 1180px) {
  :root {
    --container: min(100% - 32px, 1040px);
  }

  .main-nav a {
    padding-inline: 9px;
    font-size: 0.86rem;
  }

  .brand {
    min-width: 190px;
  }

  .brand img {
    width: 132px;
  }

  .card-grid.four,
  .card-grid.featured-three,
  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filters-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-cta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 76px;
  }

  .section {
    padding: 82px 0;
  }

  .nav-shell {
    min-height: var(--header-height);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 16px;
    border-radius: 8px;
    background: rgba(19, 26, 29, 0.97);
    border: 1px solid var(--line);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 14px;
    font-size: 1rem;
  }

  .nav-actions .btn {
    display: none;
  }

  .hero-content,
  .section-grid,
  .visual-split,
  .calculator,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    align-items: center;
    padding-bottom: 94px;
  }

  .hero-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-badge {
    min-height: 128px;
  }

  .card-grid,
  .about-pillars,
  .milestone-grid,
  .feature-grid,
  .faq-grid,
  .team-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .image-frame {
    min-height: 340px;
  }

  .footer-grid {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .section {
    padding: 68px 0;
  }

  .brand-copy {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .brand img {
    width: 126px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: calc(var(--header-height) + 46px);
    padding-bottom: 110px;
  }

  .hero-actions,
  .card-actions,
  .cta-content .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-stats,
  .hero-badges,
  .result-grid,
  .spec-list,
  .card-grid,
  .card-grid.four,
  .card-grid.featured-three,
  .preview-gallery-grid,
  .about-pillars,
  .milestone-grid,
  .feature-grid,
  .faq-grid,
  .team-grid,
  .steps-grid,
  .contact-card-grid,
  .contact-cta-grid {
    grid-template-columns: 1fr;
  }

  .feature-badge {
    min-height: auto;
  }

  .comparison-actions {
    display: grid;
  }

  .filters-grid {
    grid-template-columns: 1fr;
  }

  .detail-specs {
    grid-template-columns: 1fr;
  }

  .thumb-row {
    grid-template-columns: repeat(4, minmax(62px, 1fr));
    overflow-x: auto;
  }

  .gallery-masonry {
    columns: 1;
  }

  .newsletter-form {
    display: grid;
  }

  .footer-bottom {
    display: grid;
  }

  .catalogue-sticky {
    top: auto;
    left: 14px;
    bottom: 92px;
    writing-mode: horizontal-tb;
    border-radius: 999px;
    padding: 12px 14px;
    font-size: 0.8rem;
  }

  .catalogue-sticky .tooltip-label {
    display: none;
  }

  .floating-whatsapp {
    right: 14px;
    bottom: 92px;
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
  }

  .back-to-top {
    right: 14px;
    bottom: 24px;
  }

  .mobile-booking-bar {
    display: grid;
  }

  body.has-mobile-bar {
    padding-bottom: 72px;
  }

  .scroll-indicator {
    display: none;
  }

  .video-toggle {
    right: 18px;
    bottom: 22px;
  }
}

@media (max-width: 430px) {
  .nav-shell {
    gap: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .brand img {
    width: 112px;
  }

  .btn {
    width: 100%;
    min-height: 48px;
    white-space: normal;
    text-align: center;
  }

  .tab-btn,
  .filter-btn {
    flex: 1 1 auto;
  }

  .form-panel,
  .result-panel,
  .detail-panel,
  .modal-inner {
    padding: 20px;
  }

  .lightbox,
  .modal-shell {
    padding: 14px;
  }
}
