/* =========================================================
   Bigger screens. Everything in style.css is the phone layout;
   these rules only add on top as the screen gets wider.
   ========================================================= */

/* ----- tablet: 768px and up ----- */
@media (min-width: 768px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.4rem; }

  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions.center { justify-content: center; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .area-grid { grid-template-columns: 1.4fr 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .military-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .military-inner > div:nth-child(2) { flex: 1; }
  .hero h1 { font-size: 2.75rem; }
  .brand-icon { height: 46px; }
  .brand-wordmark { height: 28px; }
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .area-grid-3 { grid-template-columns: 1.4fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ----- desktop: 1024px and up ----- */
@media (min-width: 1024px) {
  h1 { font-size: 4rem; }
  .hero h1 { font-size: 3.1rem; }
  .header-call { display: none; } /* phone lives in the nav on desktop */
  .brand-icon { height: 50px; }
  .brand-wordmark { height: 30px; }
  .about-grid { grid-template-columns: 1.3fr .7fr; align-items: center; gap: 4rem; }
  .about-logo { display: block; }
  .about-logo img { width: 100%; height: auto; }

  /* full nav shows, hamburger hides */
  .nav-toggle { display: none; }
  .main-nav {
    position: static; flex-direction: row; align-items: center; gap: 1.75rem;
    padding: 0; background: none; border: 0; box-shadow: none; transform: none; visibility: visible;
  }
  .main-nav a:not(.btn) { min-height: auto; border: 0; font-size: .98rem; }
  .main-nav a:not(.btn):hover { color: var(--orange); }
  .main-nav .btn { margin-top: 0; }

  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3.5rem; }
  .section { padding: 6rem 0; }
  .card-grid { grid-template-columns: repeat(4, 1fr); }
  .custody-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
  .business-grid { grid-template-columns: 1.2fr .8fr; gap: 4rem; align-items: center; }

  /* floating call button isn't needed on desktop: phone is in the nav */
  .float-call { display: none; }
  .site-footer { padding-bottom: 3rem; }
}
