@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-accent-card {
    right: 0;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 2rem;
  }

  .services-bottom {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .services-bottom p {
    max-width: 100%;
  }

  .admin-sidebar {
    width: 200px;
  }

  .admin-main {
    margin-left: 200px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 6rem 0 4rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .cta-banner {
    border-radius: var(--radius-sm);
    padding: 2rem 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-links {
    gap: 1.25rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .admin-main {
    margin-left: 0;
    padding: 1.5rem 1rem;
  }

  .admin-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }

  .modal {
    max-height: 85vh;
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.875rem;
  }

  .cta-banner {
    padding: 1.75rem 1.25rem;
  }

  .testimonial-inner {
    padding: 0 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .about-accent-card {
    position: static;
    margin-top: 1rem;
    border-radius: var(--radius-sm);
  }

  .faith-roles {
    gap: 0.4rem;
  }

  .message-card-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .admin-actions {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .currently-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 6.5rem 0 2.5rem;
  }

  .page-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-accent-card {
    right: 0;
  }

  .currently-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-hero-title {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .about-accent-card {
    position: static;
    margin-top: 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .currently-card {
    padding: 1rem 1.25rem;
  }

  .faith-roles {
    gap: 0.4rem;
  }
}

@media (max-width: 1024px) {
  .project-featured {
    grid-template-columns: 1fr;
  }

  .project-featured-thumb {
    min-height: 200px;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-featured-body {
    padding: 1.75rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .services-bottom {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .services-bottom p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .project-featured-body {
    padding: 1.5rem 1.25rem;
  }

  .project-featured-title {
    font-size: 1.3rem;
  }

  .project-features {
    gap: 0.35rem;
  }

  .services-bottom {
    padding: 1.75rem 1.25rem;
  }
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info p {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    gap: 2.5rem;
  }

  .contact-link-value {
    font-size: 0.825rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .contact-link {
    padding: 0.75rem 0.875rem;
  }

  .contact-link-icon {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .btn-submit {
    font-size: 0.9rem;
    padding: 0.8rem 1.25rem;
  }
}

@media (max-width: 1024px) {
  .admin-sidebar {
    width: 200px;
  }

  .admin-main {
    margin-left: 200px;
  }
}

@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    position: relative;
    bottom: auto;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .admin-main {
    margin-left: 0;
    padding: 1.5rem 1rem;
  }

  .admin-nav {
    flex-direction: row;
    padding: 0.5rem;
    gap: 0.25rem;
  }

  .admin-nav-item {
    flex: 1;
    justify-content: center;
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  .admin-logout {
    padding: 0.75rem 1rem;
    border-top: 1px solid var(--border);
  }

  .admin-panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .admin-modal-actions {
    flex-direction: column-reverse;
  }

  .admin-modal-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .modal-overlay {
    padding: 1rem;
    align-items: flex-end;
  }

  .modal {
    max-height: 88vh;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .admin-main {
    padding: 1.25rem 0.875rem;
  }

  .admin-panel-header h2 {
    font-size: 1.25rem;
  }

  .message-card {
    padding: 1.25rem;
  }

  .message-actions {
    flex-wrap: wrap;
  }

  .admin-actions {
    flex-direction: column;
  }

  .admin-table td,
  .admin-table th {
    padding: 0.75rem 0.75rem;
  }

  .admin-msg-field {
    flex-direction: column;
    gap: 0.25rem;
  }

  .admin-msg-label {
    min-width: unset;
  }
}