@media (max-width: 1280px) {
  .phone-link { display: none; }
  .nav-link { padding-inline: 9px; font-size: .86rem; }
  .brand img { width: 172px; }
}

@media (max-width: 1120px) {
  .main-nav { gap: 0; padding: 6px; }
  .nav-link { padding-inline: 8px; font-size: .84rem; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .cursor-glow { display: none; }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(2,10,22,.96);
  }
  .topbar .container {
    justify-content: center;
    text-align: center;
    min-height: 42px;
  }
  .topbar-kicker { display: none; }
  .topbar-links {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }
  .topbar-links a:not(:first-child) { display: none; }
  .topbar-pill {
    min-height: 32px;
    max-width: calc(100vw - 32px);
    padding: 7px 14px;
    font-size: .88rem;
    border-color: rgba(213,163,63,.34);
    background: rgba(6,20,38,.62);
  }
  .site-header {
    top: 42px;
    z-index: 1090;
    background: rgba(2,10,22,.94);
  }
  .site-header.menu-is-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    min-height: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .site-header.menu-is-open .nav-wrap {
    width: 100%;
    min-height: 0;
    height: 0;
    justify-content: flex-end;
    padding: 0;
  }
  .site-header.menu-is-open .brand,
  .site-header.menu-is-open .header-cta,
  .site-header.menu-is-open .phone-link {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
    flex: 0 0 auto;
    position: relative;
    z-index: 1301;
    border-radius: 999px;
  }
  .site-header.menu-is-open .menu-toggle {
    position: fixed;
    top: 42px;
    right: 18px;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    padding: 126px 28px 36px;
    background:
      radial-gradient(circle at 50% 8%, rgba(213,163,63,.16), transparent 18rem),
      linear-gradient(180deg, rgba(2,10,22,.98), rgba(6,20,38,.98));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .26s ease, opacity .26s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav::before {
    content: "";
    position: absolute;
    top: 42px;
    left: 28px;
    width: 156px;
    height: 50px;
    background: url("../images/logo.png") left center / contain no-repeat;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.28));
  }
  .main-nav .nav-link {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.035);
    font-size: 1.08rem;
    line-height: 1;
  }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link.is-active,
  .main-nav .nav-link:hover {
    color: var(--gold-300);
    border-color: rgba(213,163,63,.42);
    background: rgba(213,163,63,.10);
  }
  .header-actions .btn,
  .header-cta { display: none; }
  .nav-wrap { min-height: 76px; }
  .brand img { width: 154px; }
  .hero-grid, .split, .contact-grid, .contact-premium-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 72px; }
  .architect-panel { min-height: 430px; }
  .command-card-main { margin-top: 36px; }
  .command-stack { margin-left: 0; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item { padding-top: 0; padding-left: 54px; }
  .timeline-item::before { left: 0; top: 4px; }
  .package-card.featured, .premium-package.featured, .premium-package.featured:hover, .premium-package:hover { transform: none; }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 28px, 1160px); }
  section { padding: 58px 0; }
  h1 { font-size: clamp(2.15rem, 12vw, 3.25rem); }
  .topbar { font-size: .82rem; }
  .topbar .container { min-height: 40px; }
  .topbar-pill { min-height: 31px; padding: 6px 12px; }
  .site-header { top: 40px; }
  .site-header.menu-is-open { top: 0; }
  .site-header.menu-is-open .menu-toggle { top: 34px; right: 16px; }
  .main-nav { padding: 108px 20px 30px; }
  .main-nav::before { top: 34px; left: 20px; width: 146px; }
  .grid-2, .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .premium-package { min-height: auto; padding: 28px 22px; }
  .premium-package p { min-height: auto; }
  .package-actions { flex-direction: column; align-items: stretch; }
  .why-card { min-height: auto; padding: 26px 22px; }
  .why-signature { padding: 22px; }
  .contact-panel,
  .premium-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-method { grid-template-columns: 48px 1fr; }
  .contact-icon { width: 48px; height: 48px; }
  .hero-copy p { font-size: 1rem; }
  .badges { gap: 8px; }
  .badge { font-size: .8rem; }
  .architect-panel { min-height: 420px; }
  .hero-command-card { padding: 20px; }
  .command-mini-card { grid-template-columns: 42px 1fr; padding: 11px; }
  .mini-icon { width: 42px; height: 42px; }
  .visual-block { min-height: 280px; }
  .card { padding: 22px; }
  .fixed-contact { right: 12px; bottom: 12px; grid-template-columns: repeat(2, 48px); }
  .fixed-contact a { width: 48px; height: 48px; }
  .footer-bottom { padding-bottom: 76px; }
  .gallery-item { min-height: 190px; }
}
