/*
  Responsive overrides for small screens.
  Exports: mobile layout rules for nav, map, panels and gallery.
  Deps: base.css and layout.css.
*/
@media (max-width: 1100px) {
  .topbar {
    grid-template-columns: 1fr auto;
    min-height: 62px;
    padding: 10px 16px;
  }

  .nav {
    display: none;
  }

  .brand {
    font-size: 16px;
  }

  .lang-btn {
    min-height: 34px;
    padding: 0 10px;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-copy {
    padding: 132px 22px 72px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.96;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .band,
  .route-section,
  .budget-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .intro,
  .route-section,
  .budget-section,
  .day-panel {
    grid-template-columns: 1fr;
  }

  .route-section,
  .budget-section {
    gap: 24px;
    overflow: hidden;
  }

  .map-wrap {
    border: 1px solid var(--line);
    box-shadow: none;
    height: auto;
    min-height: 0;
  }

  .leaflet-map {
    display: none;
  }

  .route-sketch {
    background: var(--surface);
    display: block;
    position: relative;
  }

  .static-route-map {
    display: block;
    height: auto;
    width: 100%;
  }

  .sketch-pin {
    align-items: center;
    background: var(--surface);
    border: 2px solid var(--accent);
    color: var(--ink);
    display: flex;
    font-size: 12px;
    font-weight: 900;
    height: 30px;
    justify-content: center;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 30px;
  }

  .sketch-pin.active {
    background: var(--accent);
    color: white;
  }

  .sketch-label {
    background: rgba(255, 250, 242, 0.88);
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    max-width: 88px;
    overflow: hidden;
    padding: 3px 5px;
    position: absolute;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .leaflet-container {
    max-width: 100%;
  }

  .leaflet-overlay-pane {
    z-index: 450 !important;
  }

  .leaflet-marker-pane {
    z-index: 500 !important;
  }

  .section-head,
  .gallery-head {
    align-items: start;
    flex-direction: column;
  }

  .day-panel {
    min-height: 0;
    overflow: hidden;
  }

  .day-panel img {
    height: 260px;
  }

  .day-content h3 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-tile {
    min-height: 320px;
  }

  .budget-tool {
    box-shadow: none;
    overflow: hidden;
    padding: 22px 18px;
  }

  .budget-total strong {
    font-size: clamp(34px, 10vw, 44px);
    overflow-wrap: anywhere;
  }

  .budget-row {
    align-items: flex-start;
  }

  .budget-row dd {
    text-align: right;
  }
}
