/* IBIS TRAVEL — tours catalog + modals */
:root {
  --pv-bg: #f5f9fb;
  --pv-surface: #ffffff;
  --pv-surface-low: #eef4f6;
  --pv-surface-container: #e8eef1;
  --pv-ink: #142228;
  --pv-muted: #4a5a61;
  --pv-outline: #c5d0d5;
  --pv-primary: #0B3A4A;
  --pv-primary-container: #17807E;
  --pv-on-primary-container: #b8ebe7;
  --pv-secondary: #2F6B66;
  --pv-secondary-container: #d5ebe8;
  --pv-on-secondary-container: #1F4A47;
  --pv-sand: #d5ebe8;
  --pv-error: #ba1a1a;
  --pv-shadow-low: 0 4px 20px rgba(11, 58, 74, 0.06);
  --pv-shadow-high: 0 16px 40px rgba(23, 128, 126, 0.16);
  --pv-radius: 8px;
  --pv-radius-xl: 8px;
  --pv-font: "Inter", system-ui, sans-serif;
  --pv-display: "Montserrat", system-ui, sans-serif;
}

.modal.hidden { display: none !important; }
.modal:not(.hidden) { display: flex; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(28, 27, 27, 0.55);
  backdrop-filter: blur(8px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 960px);
  max-height: 90vh;
  overflow: auto;
  background: var(--pv-surface);
  border-radius: var(--pv-radius-xl);
  box-shadow: var(--pv-shadow-high);
}

.modal__dialog--sm { width: min(100%, 440px); }

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: rgba(28, 27, 27, 0.45);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.modal-tour { display: grid; }
@media (min-width: 800px) {
  .modal-tour { grid-template-columns: 1.15fr 0.85fr; }
}

.modal-main-image {
  height: 260px;
  background-size: cover;
  background-position: center;
}

.modal-thumbs {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  overflow-x: auto;
}

.modal-thumbnail {
  flex: 0 0 88px;
  height: 60px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  opacity: 0.65;
  cursor: pointer;
  border: 2px solid transparent;
}

.modal-thumbnail.is-active {
  opacity: 1;
  border-color: var(--pv-primary-container);
}

.modal-tour__info { padding: 16px 20px 24px; }
.modal-tour__info h2,
.modal-tour__info .modal-heading {
  margin: 0 0 12px;
  font-family: var(--pv-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--pv-ink);
}
.modal-tour__info p { margin: 0; color: var(--pv-muted); font-size: 14px; line-height: 1.6; }

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
}
.modal-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--pv-secondary-container);
  color: var(--pv-on-secondary-container);
}
.modal-chip--soft {
  background: var(--pv-surface-container);
  color: var(--pv-muted);
}
.modal-chip--price {
  background: linear-gradient(120deg, #0B3A4A, #17807E);
  color: #fff;
}
.modal-highlights {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.modal-highlights li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--pv-ink);
  line-height: 1.45;
}
.modal-main-image.is-empty {
  background: linear-gradient(135deg, #0B3A4A, #17807E);
}

.modal-catalog__date {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pv-primary-container);
}

.modal-catalog__route {
  margin: 0 0 12px !important;
}

.modal-catalog__price {
  margin: 0 !important;
  font-family: var(--pv-display);
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--pv-ink) !important;
}

.modal-catalog__form-toggle {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: default;
  pointer-events: none;
}
.modal-catalog__form-toggle-text {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.modal-catalog__form-title {
  display: block;
  margin: 0;
  font-family: var(--pv-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--pv-ink);
}
.modal-catalog__form-lead {
  display: block;
  margin: 0;
  font-size: 14px;
  color: var(--pv-muted);
}
.modal-catalog__form-toggle-icon {
  display: none;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 8px;
  background: rgba(23, 128, 126, 0.12);
  position: relative;
}
.modal-catalog__form-toggle-icon::before,
.modal-catalog__form-toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: #17807E;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}
.modal-catalog__form-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.modal-catalog__form.is-open .modal-catalog__form-toggle-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.modal-catalog__form-body {
  display: block;
}

.contact-map {
  background: var(--pv-surface-container);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(11, 58, 74, 0.92);
  color: #fff;
  box-shadow: 0 8px 24px rgba(11, 58, 74, 0.25);
  pointer-events: none;
}

@media (max-width: 640px) {
  .contact-map { min-height: 280px; }
  .contact-map__badge { left: 12px; right: 12px; bottom: 12px; }
}

.modal-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0 0 14px;
}
.modal-facts div {
  background: var(--pv-surface-low);
  border: 1px solid var(--pv-outline);
  border-radius: 8px;
  padding: 10px 12px;
}
.modal-facts dt {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pv-muted);
}
.modal-facts dd {
  margin: 0;
  font-size: 13px;
  color: var(--pv-ink);
  line-height: 1.35;
}
.modal-catalog__extra { margin-top: 16px; }
.modal-catalog__loading {
  padding: 12px;
  border-radius: 8px;
  background: var(--pv-surface-low);
  color: var(--pv-muted);
  font-size: 13px;
}
.modal-section { margin-top: 18px; }
.modal-section__title {
  margin: 0 0 10px;
  font-family: var(--pv-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--pv-ink);
}
.modal-section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.modal-agenda {
  display: grid;
  gap: 10px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}
.modal-agenda article {
  border: 1px solid var(--pv-outline);
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
}
.modal-agenda header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
}
.modal-agenda header span { color: var(--pv-muted); }
.modal-agenda p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}
.modal-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--pv-ink);
}
.modal-list--ok { list-style: none; padding-left: 0; }
.modal-list--ok li {
  position: relative;
  padding-left: 18px;
}
.modal-list--ok li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: #17807E;
}
.modal-notice {
  margin: 12px 0 0 !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(23, 128, 126, 0.08);
  color: var(--pv-ink) !important;
  font-size: 13px !important;
}
.modal-hotels { display: grid; gap: 12px; }
.modal-hotel {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  border: 1px solid var(--pv-outline);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}
.modal-hotel__photo {
  width: 88px;
  height: 88px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
}
.modal-hotel__name {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--pv-ink);
}
.modal-hotel__addr,
.modal-hotel__sum {
  margin: 0 0 6px !important;
  font-size: 12px !important;
  color: var(--pv-muted) !important;
}
.modal-hotel__sum {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.modal-hotel__offers {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}
.modal-hotel__offers li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}
.modal-hotel__offers strong { white-space: nowrap; }
.modal-catalog { width: min(100%, 1040px); }

@media (max-width: 799px) {
  .modal-facts,
  .modal-section--split,
  .modal-hotel { grid-template-columns: 1fr; }
}

.modal-tour__form {
  padding: 28px 24px;
  background: var(--pv-surface-low);
  border-left: 1px solid var(--pv-outline);
}

.modal-body { padding: 40px 28px 32px; }
.modal-body h3,
.modal-body .modal-heading {
  margin: 0 0 8px;
  text-align: center;
  font-family: var(--pv-display);
  font-size: 24px;
  font-weight: 600;
}
.modal-body > p {
  margin: 0 0 24px;
  text-align: center;
  color: var(--pv-muted);
  font-size: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.field label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--pv-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--pv-outline);
  border-radius: 8px;
  background: var(--pv-surface);
  color: var(--pv-ink);
  font-family: var(--pv-font);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--pv-primary-container);
  box-shadow: 0 0 0 1px var(--pv-primary-container);
}

.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--pv-muted);
  margin: 8px 0 20px;
}
.checkbox input {
  margin-top: 3px;
  accent-color: var(--pv-primary-container);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--pv-font);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(120deg, #0B3A4A 0%, #17807E 100%);
  color: #fff;
  box-shadow: var(--pv-shadow-low);
}
.btn--primary:hover { background: #136070; }
.btn--ghost {
  background: transparent;
  color: var(--pv-ink);
  border: 1px solid var(--pv-outline);
}
.btn--ghost:hover {
  border-color: var(--pv-primary-container);
  color: var(--pv-primary-container);
}
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 13px; }

.stars { display: flex; gap: 4px; font-size: 28px; }
.star { cursor: pointer; color: #cfd4d8; }
.star.active { color: #c9a66b; }

/* Online tour picker — Premium Voyager */
.tours-section {
  background: var(--pv-surface-low);
}

.tours-panel {
  background: var(--pv-surface);
  border-radius: var(--pv-radius-xl);
  box-shadow: var(--pv-shadow-high);
  padding: 32px;
  border: 1px solid rgba(197, 208, 213, 0.55);
}

.tours-panel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--pv-outline);
}

.tours-panel__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pv-primary-container);
}

.tours-panel__intro h2 {
  margin: 0 0 8px;
  font-family: var(--pv-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pv-ink);
}

.tours-panel__lead {
  margin: 0;
  max-width: 48ch;
  color: var(--pv-muted);
  font-size: 16px;
  line-height: 1.6;
}

.tours-panel__chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tours-panel__chips li {
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--pv-secondary-container);
  color: var(--pv-on-secondary-container);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tour-search {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--pv-radius);
  background: var(--pv-surface-low);
  border: 1px solid var(--pv-outline);
}

.tour-search .field { margin: 0; }
.tour-search .field label {
  font-size: 12px;
  text-transform: uppercase;
}
.tour-search__actions {
  display: flex;
  align-items: end;
  gap: 8px;
}

.tour-catalog__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--pv-muted);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tour-item {
  display: grid;
  grid-template-columns: 148px 1fr;
  overflow: hidden;
  border-radius: var(--pv-radius-xl);
  background: var(--pv-surface);
  border: 1px solid var(--pv-outline);
  box-shadow: var(--pv-shadow-low);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tour-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--pv-shadow-high);
}

.tour-item__media {
  position: relative;
  min-height: 168px;
  background: var(--pv-surface-container);
}

.tour-item__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-item__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  min-width: 0;
}

.tour-item__date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--pv-primary-container);
}

.tour-item__title {
  margin: 0;
  font-family: var(--pv-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--pv-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-item__route {
  margin: 0;
  font-size: 13px;
  color: var(--pv-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tour-item__footer {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}

.tour-item__price {
  font-family: var(--pv-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--pv-primary);
  line-height: 1;
}

.tour-item__price span {
  display: block;
  margin-top: 4px;
  font-family: var(--pv-font);
  font-size: 12px;
  font-weight: 500;
  color: var(--pv-muted);
}

.tour-item__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.tour-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 28px;
}

.tour-pager button {
  min-width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--pv-outline);
  background: var(--pv-surface);
  cursor: pointer;
  font-weight: 600;
  color: var(--pv-ink);
}

.tour-pager button.is-active,
.tour-pager button:hover {
  background: var(--pv-primary-container);
  border-color: var(--pv-primary-container);
  color: #fff;
}

.tour-state {
  padding: 48px 24px;
  text-align: center;
  color: var(--pv-muted);
  border-radius: var(--pv-radius-xl);
  background: var(--pv-surface-low);
  border: 1px dashed var(--pv-outline);
}

.tour-state--error { color: var(--pv-error); }

.tour-skeleton {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tour-skeleton__card {
  height: 168px;
  border-radius: var(--pv-radius-xl);
  background: linear-gradient(90deg, #eceae6 25%, #f7f6f3 50%, #eceae6 75%);
  background-size: 200% 100%;
  animation: pv-shimmer 1.2s linear infinite;
}

@keyframes pv-shimmer {
  to { background-position: -200% 0; }
}

/* Reviews carousel */
.reviews-nav {
  display: flex;
  gap: 8px;
}
.reviews-nav__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--pv-outline);
  border-radius: 8px;
  background: #fff;
  color: var(--pv-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.reviews-nav__btn:hover {
  border-color: var(--pv-primary-container);
  background: var(--pv-surface-low);
}
.reviews-carousel {
  overflow: hidden;
  margin: 0 -4px;
  padding: 4px;
}
.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.review-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--pv-outline);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 220px;
}
@media (min-width: 768px) {
  .review-slide {
    flex-basis: calc((100% - 16px) / 2);
  }
}
@media (min-width: 1100px) {
  .review-slide {
    flex-basis: calc((100% - 32px) / 3);
  }
}
.review-slide__text {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--pv-muted);
  flex: 1;
}
.review-slide__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-slide__avatar {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  background: #17807E;
  flex-shrink: 0;
}
.review-slide__avatar[data-tone="a"] { background: #17807E; }
.review-slide__avatar[data-tone="b"] { background: #0B3A4A; }
.review-slide__avatar[data-tone="c"] { background: #2F6B66; }
.review-slide__avatar[data-tone="d"] { background: #3A4E56; }
.review-slide__author h4,
.review-slide__author .review-slide__name {
  margin: 0 0 2px;
  font-family: var(--pv-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--pv-ink);
}
.review-slide__author span {
  font-size: 13px;
  color: var(--pv-muted);
}
.reviews-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.reviews-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--pv-outline);
  cursor: pointer;
}
.reviews-dots button.is-active {
  width: 24px;
  background: var(--pv-primary-container);
}

.checkbox a {
  color: var(--pv-primary-container);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  max-width: 720px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 8px;
  background: #0B3A4A;
  color: #fff;
  box-shadow: 0 12px 40px rgba(11, 58, 74, 0.28);
}
.cookie-banner__inner p {
  margin: 0;
  flex: 1 1 260px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}
.cookie-banner__inner a {
  color: #7ED4CF;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cookie-banner .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.cookie-banner .btn--ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255,255,255,0.08);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 48px 32px;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(126, 212, 207, 0.28), transparent 55%),
    linear-gradient(160deg, #f5f9fb 0%, #e8f4f3 100%);
}

.mobile-nav.is-open { display: flex; }

.mobile-nav a {
  font-family: var(--pv-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--pv-primary);
  text-decoration: none;
}

.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--pv-outline);
  border-radius: 8px;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 960px) {
  .tour-search { grid-template-columns: 1fr 1fr; }
  .tour-search__actions { grid-column: 1 / -1; }
  .tour-grid,
  .tour-skeleton { grid-template-columns: 1fr; }
}

@media (max-width: 799px) {
  .modal-tour {
    display: flex;
    flex-direction: column;
    max-height: 92vh;
  }
  .modal-catalog__content {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
    min-height: 0;
  }
  .modal-tour__form {
    border-left: 0;
    border-top: 1px solid var(--pv-outline);
    flex: 0 0 auto;
  }
  .modal-catalog__form {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .modal-catalog__form-toggle {
    margin: 0;
    padding: 4px 0;
    cursor: pointer;
    pointer-events: auto;
  }
  .modal-catalog__form-toggle-icon {
    display: block;
  }
  .modal-catalog__form-lead {
    display: none;
  }
  .modal-catalog__form.is-open .modal-catalog__form-lead {
    display: block;
  }
  .modal-catalog__form-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
  }
  .modal-catalog__form-body > form {
    overflow: hidden;
    min-height: 0;
  }
  .modal-catalog__form.is-open .modal-catalog__form-body {
    grid-template-rows: 1fr;
    margin-top: 12px;
  }
  .modal-catalog__form.is-open .modal-catalog__form-body > form {
    overflow: visible;
    padding-bottom: 4px;
  }
  .modal-main-image { height: 180px; }
  .modal-agenda { max-height: 200px; }
}

@media (max-width: 640px) {
  .tours-panel { padding: 20px 16px; }
  .tour-search { grid-template-columns: 1fr; }
  .tour-item { grid-template-columns: 1fr; }
  .tour-item__media { min-height: 180px; }
  .tour-item__footer {
    flex-direction: column;
    align-items: stretch;
  }
  .tour-item__actions {
    width: 100%;
  }
  .tour-item__actions .btn {
    flex: 1;
    min-height: 44px;
  }
  .modal__dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 8px;
    margin: 0;
  }
  .modal {
    padding: 8px;
    align-items: flex-end;
  }
  .modal-tour__info,
  .modal-tour__form { padding: 16px; }
  .mobile-nav a {
    font-size: 24px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .contact-map { min-height: 260px; }
  .contact-map__badge {
    left: 12px;
    right: 12px;
    bottom: 12px;
    pointer-events: none;
  }
  .btn,
  .field input,
  .field select,
  .field textarea {
    min-height: 48px;
  }
}
