@media (max-width: 991.98px) {
  :root {
    --header-height: 74px;
  }

  .site-logo {
    height: 52px;
  }

  .navbar-collapse {
    background: rgba(21, 29, 17, 0.96);
    margin-top: 0.5rem;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
  }

  .section-block {
    padding: 4rem 0;
  }

  .section-padding {
    padding: 4rem 0;
  }

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

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-panel {
    padding: 1.5rem;
  }

  .contact-community-image {
    height: 15rem;
    margin-bottom: 1.25rem;
  }

  .contact-community-title {
    font-size: clamp(1.4rem, 4.5vw, 1.75rem);
    line-height: 1.25;
  }

  .contact-item p {
    overflow-wrap: anywhere;
  }

  .contact-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .contact-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .group-list {
    columns: 1;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: 430px;
  }

  .hero-quote {
    inset: auto 0 12%;
  }

  .hero-quote h1,
  .hero-quote h2 {
    max-width: 95%;
  }

  .layout-container {
    width: min(100% - 1.5rem, 1120px);
  }

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

  .pastoral-card img {
    height: 260px;
  }

  .pastoral-bg {
    height: 260px;
  }

  .map-wrap iframe {
    height: 260px;
  }

  .contact-panel {
    padding: 1.15rem;
    border-radius: 1rem;
  }

  .contact-community-image {
    height: 12rem;
    margin-bottom: 1rem;
  }

  .contact-item {
    gap: 0.75rem;
    padding: 0.8rem 0;
  }

  .contact-item-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .contact-item h4 {
    font-size: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
