  /* ===== СТИЛИ ДЛЯ АККОРДЕОНА (классы сайта) ===== */
.tour-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #fff;
}
.tour-accordion[open] { box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); }
.tour-acc-summary {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  color: #1f2937;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.tour-acc-summary h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tour-acc-summary::-webkit-details-marker { display: none; }
.tour-acc-summary::after {
  content: '▼';
  margin-left: auto;
  font-size: 10px;
  color: #9ca3af;
  transition: transform 0.3s;
}
.tour-accordion[open] .tour-acc-summary::after { transform: rotate(180deg); }
.tour-acc-summary:hover { background: #f9fafb; }
.tour-acc-content { border-top: 1px solid #e5e7eb; }
.tour-acc-overlay {
  padding: 20px;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.7;
}
.tour-acc-overlay strong {
  color: #1f2937;
  display: block;
  margin-bottom: 8px;
  margin-top: 12px;
}
.tour-acc-overlay strong:first-child { margin-top: 0; }
.indent { padding-left: 16px; margin-bottom: 4px; }

/* ===== СТИЛИ ПРОГРАММЫ ТУРА (префикс .tp-) ===== */
.tour-program * { box-sizing: border-box; margin: 0; padding: 0; }
.tour-program { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #374151; line-height: 1.6; }

.tp-title { font-size: 22px; font-weight: 700; color: #1f2937; margin-bottom: 24px; }

.tp-timeline { position: relative; padding-left: 50px; }
.tp-day { position: relative; margin-bottom: 24px; }
.tp-day:not(:last-child)::before {
  content: '';
  position: absolute;
  left: -27px;
  top: 48px;
  bottom: -24px;
  width: 2px;
  background: linear-gradient(to bottom, #3b82f6, #93c5fd);
}
.tp-day-num {
  position: absolute;
  left: -50px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}
.tp-day-num.day1 { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.tp-day-num.day2 { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.tp-day-num.day3 { background: linear-gradient(135deg, #10b981, #059669); }
.tp-day-num.day4 { background: linear-gradient(135deg, #f59e0b, #d97706); }
.tp-day-num.day5 { background: linear-gradient(135deg, #ef4444, #dc2626); }

.tp-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.3s ease;
}
.tp-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 30px -10px rgba(59, 130, 246, 0.25);
  border-color: #bfdbfe;
}
.tp-day-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.tp-day-title { font-size: 18px; font-weight: 700; color: #1f2937; }
.tp-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}
.tp-badge-blue { background: #dbeafe; color: #1d4ed8; }
.tp-badge-purple { background: #ede9fe; color: #6d28d9; }
.tp-badge-green { background: #d1fae5; color: #047857; }
.tp-badge-amber { background: #fef3c7; color: #b45309; }
.tp-badge-red { background: #fee2e2; color: #b91c1c; }

.tp-events { display: flex; flex-direction: column; gap: 12px; }
.tp-event { display: flex; gap: 12px; align-items: flex-start; }
.tp-event-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.tp-icon-food { background: #fef3c7; color: #d97706; }
.tp-icon-city { background: #dbeafe; color: #2563eb; }
.tp-icon-excursion { background: #dcfce7; color: #16a34a; }
.tp-icon-museum { background: #fef3c7; color: #b45309; }
.tp-icon-church { background: #e0e7ff; color: #4338ca; }
.tp-icon-hotel { background: #ede9fe; color: #7c3aed; }
.tp-icon-transport { background: #e0e7ff; color: #4f46e5; }
.tp-icon-free { background: #fce7f3; color: #db2777; }
.tp-icon-end { background: #f3f4f6; color: #6b7280; }
.tp-icon-nature { background: #d1fae5; color: #047857; }

.tp-event-content { flex: 1; }
.tp-event-title { font-weight: 600; color: #1f2937; font-size: 14px; }
.tp-event-desc { font-size: 13px; color: #6b7280; margin-top: 2px; }
.tp-event-list { font-size: 13px; color: #6b7280; margin-top: 6px; padding-left: 16px; }
.tp-event-list li { margin-bottom: 3px; }

.hotel-card, .excursion-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.hotel-card:last-child, .excursion-card:last-child {
  margin-bottom: 0;
}
.hotel-name, .excursion-name {
  font-weight: 600;
  color: #1f2937;
  font-size: 16px;
  margin-bottom: 8px;
}
.hotel-desc, .excursion-desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.6;
}

/* Адаптив - скрываем timeline элементы на мобильных */
@media (max-width: 768px) {
  .tp-timeline { padding-left: 0; }
  .tp-day-num { display: none !important; }
  .tp-day:not(:last-child)::before { display: none !important; }
  .tp-card { padding: 16px; }
  .tp-day-title { font-size: 16px; }
}
