/* ---------- responsive ---------- */

/* Two cards per row on tablets and small laptops. */
@media (min-width: 640px) {
  .resort-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* Three across once there is room for the full detail list. */
@media (min-width: 1180px) {
  .resort-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-media { height: 230px; }
}

@media (max-width: 1080px) {
  .resort-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
  .request-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .hero { padding: 52px 0 76px; }
  .hero-rings span:nth-child(1) { width: 300px; height: 300px; top: -120px; right: -110px; }
  .hero-rings span:nth-child(2) { display: none; }
  .site-nav { display: none; }
  .site-header .button-compact { margin-left: auto; }
  .search-panel { gap: 12px; padding: 14px; }
  .search-field { min-width: 0; flex: 1 1 140px; }
  .search-field-grow { flex-basis: 100%; }
  .search-features { flex: 1 1 140px; }
  .search-features summary { width: 100%; justify-content: space-between; }
  .search-actions { width: 100%; margin-left: 0; }
  .search-actions .button { flex: 1; }
  .resort-grid { gap: 18px; }
  .resort-layout { grid-template-columns: minmax(0, 1fr); }
  .resort-aside { position: static; }
  .request-card { box-shadow: none; }
  .gallery-stage { aspect-ratio: 4 / 3; }
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-strip { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .search-features { flex-basis: 100%; }
}

@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { padding: 44px 0 68px; }
  .search-panel { margin-top: -44px; }
  .site-header-inner { min-height: 64px; gap: 12px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy small { letter-spacing: 0.1em; }
  .site-header .button-compact { padding: 9px 12px; font-size: 12px; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .lede { font-size: 15px; }
  .card-media { height: 200px; }
  .gallery-thumb { width: 68px; height: 50px; }
  .gallery-arrow { width: 34px; height: 34px; font-size: 18px; }
  .gallery-counter, .gallery-expand { bottom: 10px; }
  .resort-body h1 { font-size: 28px; }
  .request-panel { padding: 18px; }
  .field-row, .field-row-3 { grid-template-columns: minmax(0, 1fr); }
  .selected-resort { flex-wrap: wrap; }
  .selected-resort .link-button { margin-left: 0; }
  .form-footer .button { width: 100%; margin-left: 0; }
  .contact-strip { padding: 22px; }
  .lightbox { padding: 12px; }
}
