@media (max-width: 1180px) {
  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.35rem;
  }

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

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

  .process-line::before {
    display: none;
  }
}

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

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 4px;
    padding: 12px;
    background: rgba(5, 5, 5, 0.96);
    border: 1px solid rgba(255, 212, 0, 0.18);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero {
    min-height: 860px;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 5, 0.94), rgba(5, 5, 5, 0.72)),
      linear-gradient(0deg, rgba(5, 5, 5, 0.95), rgba(5, 5, 5, 0.34));
  }

  .trust-grid,
  .why-grid,
  .segment-grid,
  .google-reviews-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout,
  .instagram-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    position: static;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 4.5rem 0;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 0.94rem;
  }

  .brand small {
    font-size: 0.68rem;
  }

  h1 {
    font-size: 2.62rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    min-height: 830px;
    padding-top: calc(var(--header-height) + 42px);
  }

  .hero-actions .btn,
  .form-submit {
    width: 100%;
  }

  .hero-badges {
    align-items: stretch;
    flex-direction: column;
  }

  .trust-grid,
  .service-grid,
  .why-grid,
  .project-grid,
  .process-line,
  .segment-grid,
  .instagram-stats,
  .google-reviews-grid,
  .footer-grid,
  .quote-form,
  .mini-list {
    grid-template-columns: 1fr;
  }

  .instagram-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .instagram-actions .btn {
    width: 100%;
  }

  .instagram-phone {
    max-width: none;
  }

  .instagram-profile-card {
    max-width: none;
    padding: 18px;
  }

  .ig-profile-header {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ig-metrics {
    justify-content: center;
  }

  .ig-profile-info a {
    justify-content: center;
  }

  .ig-profile-actions {
    grid-template-columns: 1fr 1fr 44px;
  }

  .ig-highlights {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .ig-highlights span {
    flex: 0 0 78px;
  }

  .instagram-panel::before {
    inset: 18px 8px -12px 18px;
  }

  .project-grid {
    grid-auto-rows: 320px;
  }

  .project-card:nth-child(1),
  .project-card:nth-child(3) {
    grid-row: span 1;
  }

  .about-image img,
  .compare-widget {
    height: 430px;
  }

  .instagram-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .instagram-profile-card .instagram-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .instagram-profile-card .instagram-feed a {
    min-height: 112px;
  }

  .testimonial-card {
    min-height: 380px;
    padding: 26px;
  }

  .testimonial-card p {
    font-size: 1.08rem;
  }

  .slider-controls {
    left: 26px;
    right: auto;
  }

  .footer-bottom,
  .footer-bottom div {
    flex-direction: column;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 58px;
    min-height: 58px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.18rem;
  }

  h2 {
    font-size: 1.72rem;
  }

  .hero {
    min-height: 800px;
  }

  .project-grid {
    grid-auto-rows: 280px;
  }

  .about-image img,
  .compare-widget {
    height: 360px;
  }
}
