:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-alt: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --primary: #0f766e;
  --primary-hover: #115e59;
  --primary-light: #ccfbf1;
  --accent: #0284c7;
  --amber: #d97706;
  --amber-bg: #fef3c7;
  --green: #059669;
  --green-bg: #d1fae5;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 10px -3px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.14);
  --radius-md: 14px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Top Navigation / Hero Bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f766e, #0284c7);
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.25);
}

.brand-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand-accent {
  color: var(--primary);
}

.brand-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.brand-countries {
  display: inline-flex;
  gap: 0.25rem;
}

.brand-countries span {
  padding: 0.05rem 0.4rem;
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-sub {
    font-size: 0.75rem;
  }
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.lang-switcher {
  display: inline-flex;
  background: var(--surface-alt);
  padding: 3px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.35rem 0.65rem;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.lang-btn.active {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.btn-revenue {
  border: 1px solid #fde68a;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  color: #92400e;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.48rem 0.85rem;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-revenue:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.18);
}

/* Main Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 4rem;
}

/* Interactive Family Ticket Calculator Panel */
.calc-panel {
  background: linear-gradient(135deg, #0f172a 0%, #134e4a 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
}

.calc-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.calc-header h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.calc-header p {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 0.9rem;
  align-items: stretch;
}

.calc-box {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-box-label {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.stepper-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s;
}

.stepper-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.stepper-val {
  font-size: 1.15rem;
  font-weight: 800;
}

.segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: rgba(0, 0, 0, 0.25);
  padding: 3px;
  border-radius: 8px;
}

.seg-btn {
  border: none;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.4rem 0.35rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.seg-btn.active {
  background: #14b8a6;
  color: #042f2e;
  font-weight: 700;
}

.calc-footer {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.sauna-check {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  user-select: none;
}

.sauna-check input {
  width: 17px;
  height: 17px;
  accent-color: #14b8a6;
}

/* Filters & Search Section */
.controls-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.controls-top {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.origin-wrap {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.origin-wrap label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
}

.origin-select {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.gps-btn {
  padding: 0.52rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 0.79rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.gps-btn:hover,
.gps-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.search-input-wrap {
  flex: 1 1 280px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.9rem;
  background: var(--surface-alt);
}

.search-input:focus {
  outline: 2px solid var(--primary);
  background: var(--surface);
}

.sort-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-wrap label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sort-select {
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.chip {
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip:hover {
  border-color: var(--primary);
}

.chip.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.chip-divider {
  width: 1px;
  height: 22px;
  background: var(--border);
  margin: 0 0.25rem;
}

.map-toggle-btn {
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.map-toggle-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Interactive Map Section */
.map-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.map-section.hidden {
  display: none;
}

.map-header-bar {
  padding: 0.75rem 1.15rem;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.home {
  background: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.25);
}

.legend-dot.sk {
  background: #0284c7;
}

.legend-dot.hu {
  background: #059669;
}

.legend-dot.cz {
  background: #7c3aed;
}

.legend-dot.at {
  background: #e11d48;
}

.map-quick-zoom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.zoom-pill {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s;
}

.zoom-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.thermal-map {
  width: 100%;
  height: 430px;
  background: #e2e8f0;
  z-index: 10;
}

/* Custom Price Marker on Leaflet Map */
.price-pin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.28);
  border: 2px solid #fff;
  transition: transform 0.15s ease;
}

.price-pin:hover {
  transform: scale(1.1);
  z-index: 999 !important;
}

.price-pin.sk {
  background: #0284c7;
}

.price-pin.hu {
  background: #059669;
}

.price-pin.cz {
  background: #7c3aed;
}

.price-pin.at {
  background: #e11d48;
}

.price-pin.home-ds {
  background: #dc2626;
}

.card-bottom-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.card-map-btn {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--primary);
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.card-map-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* Parks Grid */
.parks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(365px, 1fr));
  gap: 1.35rem;
}

@media (max-width: 440px) {
  .parks-grid {
    grid-template-columns: 1fr;
  }
}

.park-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  content-visibility: auto;
  contain-intrinsic-size: 0 580px;
}

.park-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.park-banner {
  padding: 1.15rem 1.25rem;
  color: #fff;
  position: relative;
}

.park-banner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.park-badge {
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(6px);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
}

.park-rating {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
}

.park-title {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.park-location {
  font-size: 0.82rem;
  opacity: 0.92;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

/* Metrics Strip */
.park-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--surface-alt);
}

.metric-item {
  padding: 0.6rem 0.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.metric-item:last-child {
  border-right: none;
}

.metric-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text);
}

.metric-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Card Body */
.park-body {
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  flex: 1;
}

.park-tagline {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pill {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  background: var(--surface-alt);
  color: var(--text);
}

.pill.highlight {
  background: var(--primary-light);
  color: var(--primary-hover);
}

/* Dynamic Family Price Box inside Card */
.price-box {
  background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 100%);
  border: 1px solid #99f6e4;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.price-box-left {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.price-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: #0f766e;
}

.bundle-tag {
  display: inline-block;
  font-size: 0.71rem;
  font-weight: 700;
  color: #047857;
  background: #a7f3d0;
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
  width: fit-content;
}

.price-amount {
  text-align: right;
}

.price-eur {
  font-size: 1.45rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.1;
}

.price-local {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Affiliate Conversion Section */
.affiliate-box {
  margin-top: auto;
  border-top: 1px dashed var(--border);
  padding-top: 0.85rem;
}

.affiliate-box-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.affiliate-btns {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.aff-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 0.58rem 0.85rem;
  border-radius: 10px;
  font-size: 0.81rem;
  font-weight: 700;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.aff-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.97);
}

.aff-btn.primary-hotel {
  background: #0f766e;
  color: #fff;
}

.aff-btn.secondary-hotel {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.aff-btn.zlavomat {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.aff-btn.insurance {
  background: #f3e8ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.aff-commission-pill {
  font-size: 0.68rem;
  padding: 0.12rem 0.42rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 600;
}

.aff-btn.secondary-hotel .aff-commission-pill,
.aff-btn.zlavomat .aff-commission-pill,
.aff-btn.insurance .aff-commission-pill {
  background: rgba(15, 23, 42, 0.07);
}

.card-details-btn {
  display: block;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  padding: 0.55rem;
  border: 1px solid var(--border);
  background: var(--surface-alt);
  color: var(--text);
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.card-details-btn:hover {
  background: #e2e8f0;
}

/* Native Dialog Modals */
dialog.modal {
  margin: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 680px;
  width: calc(100% - 2rem);
  box-shadow: var(--shadow-lg);
  background: var(--surface);
  color: var(--text);
}

dialog.modal::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.modal-close {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-body {
  padding: 1.5rem;
  max-height: 78vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.tips-list {
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.price-table th,
.price-table td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.price-table th {
  background: var(--surface-alt);
  font-weight: 700;
}

/* Revenue Simulator Styles */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
}

.rev-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem;
}

.rev-card h4 {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.rev-card .big-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--primary);
}

.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}

/* Breadcrumbs Navigation */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs .crumb-sep {
  opacity: 0.5;
}

.breadcrumbs .crumb-current {
  font-weight: 700;
  color: var(--text);
}

/* Collections Navigation Bar */
.collections-nav-section {
  margin-bottom: 1.5rem;
}

.collections-nav-header {
  margin-bottom: 0.75rem;
}

.collections-nav-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
}

.collections-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.85rem;
}

.collection-nav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.collection-nav-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.collection-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
}

.collection-name {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--text);
  display: block;
  line-height: 1.25;
}

.collection-count {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  display: block;
  margin-top: 2px;
}

/* Park Detail Page Layout */
.park-detail-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.park-detail-banner {
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
}

.park-detail-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.2;
  margin: 0.5rem 0;
}

.park-detail-meta {
  font-size: 0.92rem;
  opacity: 0.95;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.official-web-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin-top: 0.75rem;
  transition: background 0.15s;
}

.official-web-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.verified-alert-box {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: #065f46;
}

.verified-alert-box.unverified {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.verified-alert-box.unverified .verified-alert-title {
  color: #b45309;
}

.verified-alert-box.verified {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.verified-alert-title {
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.park-section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.park-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.feature-stat {
  background: var(--surface-alt);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.feature-stat-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
}

.feature-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.info-callout {
  background: var(--surface-alt);
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.6;
  border-left: 4px solid var(--primary);
}

.similar-parks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.similar-park-card {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.similar-park-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.similar-park-name {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.similar-park-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Этап 1b: Блок «Чем мы отличаемся», навигация по сравнениям, таблицы и пресеты
   ========================================================================== */

/* Блок «Чем мы отличаемся» */
.why-us-section {
  background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 100%);
  border: 1px solid #ccfbf1;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.why-us-header {
  margin-bottom: 1.15rem;
}

.why-us-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f766e;
  margin: 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

.why-us-card {
  background: var(--surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.why-us-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.why-us-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.why-us-card p {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin: 0;
}

/* Навигационные секции */
.nav-block-section {
  margin-bottom: 2rem;
}

.nav-block-header {
  margin-bottom: 1rem;
}

.nav-block-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 0.35rem 0;
}

.nav-block-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Кнопки-маршруты в Венгрию */
.cross-border-hubs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hub-route-card {
  background: var(--surface);
  border: 1.5px solid #0f766e;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  text-decoration: none;
  color: #0f766e;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.hub-route-card:hover {
  background: #0f766e;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Сетка карточек сравнения A vs B */
.compare-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.85rem;
}

.compare-nav-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.compare-nav-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.compare-nav-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.compare-vs-pill {
  background: #fef3c7;
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
}

.compare-nav-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Семейные пресеты */
.family-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.preset-nav-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.preset-nav-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.preset-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preset-badge {
  background: #f0fdfa;
  color: #0f766e;
  border: 1px solid #99f6e4;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 6px;
}

.preset-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.preset-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Таблицы сравнений и пресетов */
.table-responsive-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin: 1.5rem 0 2rem 0;
  box-shadow: var(--shadow-sm);
}

.data-summary-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  text-align: left;
}

.data-summary-table th {
  background: var(--surface-alt);
  color: var(--text-muted);
  font-weight: 700;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-summary-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text);
  vertical-align: middle;
}

.data-summary-table tbody tr:hover {
  background: #f8fafc;
}

.data-summary-table td.strong {
  font-weight: 700;
  color: #0f172a;
}

.rank-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
  background: #e2e8f0;
  color: #334155;
}

.rank-pill.top-1 {
  background: #fef08a;
  color: #854d0e;
}

.rank-pill.top-2 {
  background: #e2e8f0;
  color: #475569;
}

.rank-pill.top-3 {
  background: #fed7aa;
  color: #9a3412;
}

/* Блок числовых выводов (чистые факты без оценок) */
.numeric-facts-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem 0;
}

.numeric-facts-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 1rem 0;
}

.numeric-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.numeric-fact-card {
  background: var(--surface);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.numeric-fact-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.numeric-fact-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f766e;
}

.numeric-fact-detail {
  font-size: 0.78rem;
  color: #64748b;
}

/* Кнопка открытия калькулятора с пресетом */
.btn-preset-calc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f766e;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-md);
  margin: 1rem 0 2rem 0;
  transition: all 0.15s ease;
  box-shadow: var(--shadow-sm);
}

.btn-preset-calc:hover {
  background: #0d9488;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}


/* Site footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.site-footer-links a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.site-footer-links a:hover {
  text-decoration: underline;
}

/* Info pages: about, privacy, affiliate disclosure */
.legal-content {
  max-width: 720px;
  margin: 0 auto 2rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  line-height: 1.65;
}

.legal-content h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.legal-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content ul {
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
}

.legal-content a {
  color: var(--primary);
}

.legal-content .legal-updated {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .legal-content {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
  }
  .legal-content h1 {
    font-size: 1.4rem;
  }
}

/* Verified price list: season and visitor note */
.price-season {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--amber-bg);
  color: #92400e;
  font-size: 0.72rem;
  font-weight: 700;
}

.price-note {
  margin-top: 0.65rem;
  padding: 0.6rem 0.8rem;
  border-left: 3px solid var(--primary);
  background: var(--surface-alt);
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.calc-price-note .price-note {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.price-unverified {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--amber);
}
