/* ============================================
   KJØPSVIK STAY AS – Responsive
   ============================================ */

/* ===== TABLET (≤ 960px) ===== */
@media (max-width: 960px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .properties {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== MOBILE (≤ 720px) ===== */
@media (max-width: 720px) {
  :root {
    --padding-x: 1.1rem;
  }

  section { padding: 3.5rem 0; }

  .nav__list,
  .lang-switch {
    display: none;
  }
  .menu-toggle { display: flex; }

  /* Mobile menu drawer */
  .nav.is-open {
    position: fixed;
    inset: 0;
    background: var(--color-ink-deep);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
  }
  .nav.is-open .nav__list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    align-items: center;
  }
  .nav.is-open .nav__link {
    font-family: var(--font-heading);
    font-size: 1.6rem;
  }
  .nav.is-open .lang-switch { display: flex; }

  .hero { min-height: 90vh; min-height: 90dvh; }
  .hero__cta { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
  .hero__cta .btn { width: 100%; }

  .property-card__body { padding: 1.4rem 1.4rem 1.6rem; }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== SMALL MOBILE (≤ 420px) ===== */
@media (max-width: 420px) {
  .hero__title { font-size: 2.4rem; }
  .btn { padding: 0.85rem 1.4rem; font-size: 0.9rem; }
}

/* ===== PREFER REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
