/*
============================================================
ATLAS MICRO - TABLET STYLES
Screen size: 721px to 1100px
============================================================

Tablet uses a vertical hero so the slideshow does not get
too narrow. The content remains centered and spacious.
============================================================
*/

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns:1fr;
  }
  .hero-media {
    max-width:760px;
  }
  .about-grid,
  .contact-panel {
    grid-template-columns:1fr;
  }
  .email-box {
    text-align:left;
  }
}

@media (max-width: 900px) {
  .nav {
    gap:4px;
  }
  .nav a {
    padding:8px 10px;
    font-size:13px;
  }
  .how-grid {
    grid-template-columns:1fr;
  }
  .how-card {
    border-right:0;
    border-bottom:1px solid var(--line);
  }
  .how-card:last-child {
    border-bottom:0;
  }
  .stats {
    grid-template-columns:1fr;
  }
}

@media(max-width:800px){
  .clean-contact{
    grid-template-columns:1fr;
    padding:30px;
  }
  .contact-action{justify-content:flex-start}
}

@media (max-width:1100px){
  .hero-grid,
  .visual-section,
  .visual-section.reverse{
    grid-template-columns:1fr;
  }
  .hero-media,
  .responsive-visual{
    max-width:780px;
    width:100%;
    margin-inline:auto;
  }
  .visual-section.reverse .visual-copy,
  .visual-section.reverse .responsive-visual{
    order:initial;
  }
}

@media (max-width:1100px){
  .container{
    width:min(980px, calc(100% - 36px));
  }
  .hero-grid{
    grid-template-columns:1fr;
    gap:26px;
  }
  .hero-copy{
    max-width:760px;
    margin:0 auto;
    text-align:center;
  }
  .hero-actions{ justify-content:center; }
  .hero-local{ text-align:center; }
  .hero-carousel{
    max-width:980px;
    margin:0 auto;
    min-height:0;
  }
  .hero-arrow {
  display: none;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .container {
    width: min(940px, calc(100% - 40px));
  }

  .hero {
    padding: 34px 0 30px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "media"
      "actions";
    gap: 24px;
  }

  .hero-copy {
    grid-area: copy;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-local {
    text-align: center;
  }

  .hero-media {
    grid-area: media;
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
  }

  .hero-carousel {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .hero-actions-below {
    grid-area: actions;
    justify-content: center;
    margin: 0;
  }
}
