@media (max-width: 1100px) {
  :root {
    --header-height: 72px;
  }

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

  .hero-copy,
  .section-copy {
    max-width: none;
  }

  .card-grid.three,
  .school-logo-grid,
  .metro-grid,
  .person-grid,
  .pricing-grid,
  .why-grid,
  .career-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    gap: 6px;
    max-height: calc(100svh - var(--header-height) - 24px);
    overflow-y: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 14px;
    background: rgba(7, 17, 31, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

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

  .nav-menu a {
    width: 100%;
    justify-content: center;
  }

  .nav-menu .nav-cta {
    margin-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    left: 16px;
  }
}

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

  .section {
    padding: 78px 0;
  }

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

  h1 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .hero-stats,
  .check-grid,
  .contact-cards,
  .form-grid,
  .card-grid.three,
  .school-logo-grid,
  .metro-grid,
  .person-grid,
  .pricing-grid,
  .why-grid,
  .career-grid,
  .gallery-grid,
  .media-grid,
  .lms-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-band,
  .footer-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-band .btn,
  .lead-form .btn {
    width: 100%;
  }

  .hero-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .media-frame-large,
  .lab-image {
    aspect-ratio: 4 / 3;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .testimonial-shell {
    grid-template-columns: 1fr;
  }

  .slider-btn {
    display: none;
  }

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

  .floating-whatsapp,
  .back-to-top {
    right: 14px;
  }

  .floating-whatsapp {
    bottom: 14px;
  }

  .back-to-top {
    bottom: 74px;
  }
}

@media (max-width: 460px) {
  .brand img {
    width: 136px;
  }

  .nav-menu {
    right: 14px;
    left: 14px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .feature-card,
  .program-card,
  .lab-card,
  .lead-form,
  .media-feature {
    padding: 22px;
  }

  .hero-stats div {
    padding: 16px;
  }

  .presence-row {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
