/* =========================================================
   responsive.css
   ========================================================= */

@media (max-width: 1099px) {
  .hero-copy {
    width: 55%;
  }
  .inquiry-card {
    width: min(390px, 39%);
  }
  .hm-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hm-offer-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .hm-offer-inner > .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 860px) {
  .hero-copy {
    width: 100%;
    text-align: center;
  }
  .hero-ctas {
    justify-content: center;
  }
  .trust-line {
    justify-content: center;
  }
  .inquiry-card {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin: 40px auto 0;
    transform: none;
  }
  .hero {
    padding-bottom: 60px;
  }
}

@media (max-width: 767px) {
  #siteHeader .wrap {
    gap: 12px;
  }
  #siteHeader .logo {
    width: 145px;
  }
  #siteHeader .header-cta {
    gap: 8px;
  }
  #siteHeader .header-cta > a[href^="tel:"] {
    display: none;
  }
  .desktop-nav {
    display: none;
  }
  .burger {
    display: flex;
  }

  .hm-why-grid {
    grid-template-columns: 1fr;
  }
  .hm-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hm-trust-item + .hm-trust-item {
    border-left: 0;
  }
  .hm-trust-item:nth-child(even) {
    border-left: 1px solid var(--line);
  }
  .hm-trust-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .hm-offer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .hm-offer-inner > .btn {
    grid-column: auto;
  }
  .hm-countdown {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hm-countdown > div {
    min-width: 0;
  }
  .hm-addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }
  .hm-addon-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .how-row {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .how-line {
    display: none;
  }

  .hm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hm-gallery-item:nth-child(1),
  .hm-gallery-item:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1;
  }

  .foot-grid .row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .foot-brand {
    text-align: center;
  }
  .foot-brand .logo {
    display: inline-block;
  }
  .foot-social {
    justify-content: center;
  }
  .foot-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .fab-wa {
    display: none;
  }
  .mobile-sticky-cta {
    display: grid;
  }
  body {
    padding-bottom: 70px;
  }
}

@media (max-width: 480px) {
  #siteHeader .header-cta > .btn-gold {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 10px;
    white-space: nowrap;
  }
  #siteHeader .burger {
    width: 38px;
    height: 38px;
  }
  .hm-trust-item {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 6px;
    text-align: center;
  }
  .hm-trust-item strong {
    font-size: 24px;
  }
  .hm-addons-grid {
    grid-template-columns: 1fr;
  }
  .hm-addon-card:first-child {
    grid-column: auto;
  }
  .hm-addon-card:nth-child(n + 2) {
    display: flex;
  }
  .hm-addon-card:nth-child(n + 2) .hm-addon-img {
    height: auto;
    aspect-ratio: 1.65;
  }
  .hm-addon-card:nth-child(n + 2) .hm-addon-body {
    padding: 18px;
  }
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .action-btn {
    flex-direction: column;
  }
  .inquiry-card {
    padding: 22px 18px;
  }
  .hm-gallery-grid {
    grid-template-columns: 1fr;
  }
}
